xtables-addons-dkms 1.47.1-1: xtables-addons kernel module failed to build

Bug #1092724 reported by steinhauser christian
122
This bug affects 18 people
Affects Status Importance Assigned to Milestone
xtables-addons (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

afta boot

ProblemType: Package
DistroRelease: Ubuntu 13.04
Package: xtables-addons-dkms 1.47.1-1
ProcVersionSignature: Ubuntu 3.7.0-7.15-generic 3.7.0
Uname: Linux 3.7.0-7-generic x86_64
ApportVersion: 2.7-0ubuntu2
Architecture: amd64
DKMSKernelVersion: 3.7.0-7-lowlatency
Date: Thu Dec 20 23:41:23 2012
InstallationDate: Installed on 2012-12-16 (4 days ago)
InstallationMedia: Ubuntu 13.04 "Raring Ringtail" - Alpha amd64 (20121215)
MarkForUpload: True
PackageArchitecture: all
PackageVersion: 1.47.1-1
SourcePackage: xtables-addons
Title: xtables-addons-dkms 1.47.1-1: xtables-addons kernel module failed to build
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
steinhauser christian (steinhauserchristian) wrote :
Revision history for this message
steinhauser christian (steinhauserchristian) wrote :

dont know

tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xtables-addons (Ubuntu):
status: New → Confirmed
Revision history for this message
Léa GRIS (lea-gris) wrote :

dimanche 5 mai 2013, 14:18:42 (UTC+0200)
make: Entering directory `/usr/src/linux-headers-3.8.0-19-generic'
  CC [M] /usr/src/xtables-addons-1.47.1/compat_xtables.o
  CC [M] /usr/src/xtables-addons-1.47.1/xt_CHAOS.o
  CC [M] /usr/src/xtables-addons-1.47.1/xt_DELUDE.o
  CC [M] /usr/src/xtables-addons-1.47.1/xt_DHCPMAC.o
  CC [M] /usr/src/xtables-addons-1.47.1/xt_DNETMAP.o
/usr/src/xtables-addons-1.47.1/xt_DNETMAP.c:30:39: fatal error: net/netfilter/nf_nat_rule.h: No such file or directory
compilation terminated.
make[1]: *** [/usr/src/xtables-addons-1.47.1/xt_DNETMAP.o] Error 1
make: *** [_module_/usr/src/xtables-addons-1.47.1] Error 2
make: Leaving directory `/usr/src/linux-headers-3.8.0-19-generic'

Revision history for this message
Thomas Bender (tbender-deactivatedaccount) wrote :

Version 1.47.1 does not seem to be compatible to kernel 3.8.0 or higher due to API changes.
Since kernel 3.8.0 a xtables-addon version of at least 2.1 is required!
See xtables-addons changelog: http://sourceforge.net/p/xtables-addons/xtables-addons/ci/v2.1/tree/doc/changelog.txt

Revision history for this message
jth (jth) wrote :

Recent revisions:
27. By Dmitry Smirnov <email address hidden> on 2013-06-02
    * New upstream version [March 2013].
      + compatible with kernels 3.7+ (Closes: #710722).

Fix available by installing new version. Please speed up the packaging of it for raring and other if needed.

Fetch:
bzr branch lp:ubuntu/xtables-addons

Build:
cd xtables-addons
dpkg-buildpackage -b -us -uc
cd ..

Install:
sudo dpkg -i xtables-addons-common_2.2-1_amd64.deb xtables-addons-dkms_2.2-1_all.deb

Revision history for this message
Brian Burch (brian-pingtoo) wrote :

Thanks for the info, jth. It is crazy for the repos associated with kernels 3.8.0 and above to still show xtables 1.47.1 as the latest version and available, when the package install scripts are explicitly written to fail their kernel version tests. Version 2.2 or above is the only xtables-addons which is compatible with these later kernels.

The bzr source worked for me on two different systems, one with i386 kernels low-latency and generic, the other running a custom non-pae i386 kernel.

However, I encountered a couple of issues along the way:

1. the common and dkms debs will not install and subsequently must be removed if the system does not already have the iptables-dev and dh-autoreconf packages installed. These ought to be specified in the deb pre-requisites.

2. the debs did not download and build the xt_geoip csv files automatically, so I had to run the command:
        sudo /usr/lib/xtables-addons/xt_geoip_dl

3. then the command:
        sudo /usr/lib/xtables-addons/xt_geoip_build -D /usr/share/xt_geoip *.csv
    .. failed until I set up my perl5 environment and installed the CPAN module Text::CSV_XS

4. finally, the build command failed until I created the target directory.

Revision history for this message
Oibaf (oibaf) wrote :

Ubuntu 13.04 is in End of Life.
Also, this was fixed in newer Ubuntu releases.
See https://wiki.ubuntu.com/Releases

Changed in xtables-addons (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.