Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370793 - sys-apps/iproute2-2.6.37 fails to emerge due to wrong arguments in /usr/include/xtables.h
Summary: sys-apps/iproute2-2.6.37 fails to emerge due to wrong arguments in /usr/inclu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 370801 371017 371149 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-06-09 10:49 UTC by Juergen Rose
Modified: 2011-06-11 15:38 UTC (History)
21 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/sys-apps/iproute2-2.6.37/temp/build.log (build.log,30.03 KB, text/plain)
2011-06-09 10:58 UTC, Juergen Rose
Details
patch from openSUSE (iproute2-libxtables6.diff,1.03 KB, patch)
2011-06-09 12:40 UTC, Olivier Huber
Details | Diff
patch from openSUSE (2/2) (iproute2-xt.diff,588 bytes, patch)
2011-06-09 12:44 UTC, Olivier Huber
Details | Diff
iproute2-2.6.37-iptables-1.4.11.patch (iproute2-2.6.37-iptables-1.4.11.patch,1.07 KB, patch)
2011-06-09 17:44 UTC, iGentoo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2011-06-09 10:49:56 UTC
'emerge iproute2' fails with:
...
x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=nocona -O2 -pipe -fomit-frame-pointer  -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB  -DXT_LIB_DIR=\"/lib64/xtables\"  -c -o emp_ematch.lex.o emp_ematch.lex.c
emp_ematch.yacc.c: In function ‘ematch_parse’:
emp_ematch.yacc.c:1622:9: warning: passing argument 1 of ‘ematch_error’ discards qualifiers from pointer target type
emp_ematch.y:22:14: note: expected ‘char *’ but argument is of type ‘const char *’
m_xt.c: In function ‘parse_ipt’:
m_xt.c:167:31: warning: passing argument 2 of ‘xtables_merge_options’ discards qualifiers from pointer target type
/usr/include/xtables.h:395:23: note: expected ‘struct option *’ but argument is of type ‘const struct option *’
m_xt.c:167:31: warning: passing argument 3 of ‘xtables_merge_options’ from incompatible pointer type
/usr/include/xtables.h:395:23: note: expected ‘const struct option *’ but argument is of type ‘unsigned int *’
m_xt.c:167:31: error: too few arguments to function ‘xtables_merge_options’
/usr/include/xtables.h:395:23: note: declared here
m_xt.c: In function ‘print_ipt’:
m_xt.c:312:30: warning: passing argument 2 of ‘xtables_merge_options’ discards qualifiers from pointer target type
/usr/include/xtables.h:395:23: note: expected ‘struct option *’ but argument is of type ‘const struct option *’
m_xt.c:312:30: warning: passing argument 3 of ‘xtables_merge_options’ from incompatible pointer type
/usr/include/xtables.h:395:23: note: expected ‘const struct option *’ but argument is of type ‘unsigned int *’
m_xt.c:312:30: error: too few arguments to function ‘xtables_merge_options’
/usr/include/xtables.h:395:23: note: declared here
emp_ematch.lex.c:1391:16: warning: ‘input’ defined but not used
make[1]: *** [m_xt.so] Error 1
make[1]: *** Waiting for unfinished jobs....
rm emp_ematch.lex.c emp_ematch.yacc.c
make[1]: Leaving directory `/var/tmp/portage/sys-apps/iproute2-2.6.37/work/iproute2-2.6.37/tc'
make: *** [all] Error 2
emake failed
 * ERROR: sys-apps/iproute2-2.6.37 failed (compile phase):
Comment 1 Juergen Rose 2011-06-09 10:52:49 UTC
root@moose:/root(11)# emerge --info =sys-apps/iproute2-2.6.37
Portage 2.1.10 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9650_@_3.00GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 09 Jun 2011 09:00:01 +0000
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo science x11 java-overlay sunrise arcon proaudio qting-edge x-portage x-cpan g-octave
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA PUEL dlj-1.1 skype-eula googleearth AdobeFlash-10.1 cadsoft"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de fr"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/x11 /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/arcon /var/lib/layman/pro-audio /var/lib/layman/qting-edge /usr/local/portage /var/lib/cpan /var/lib/g-octave"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit R X Xaw3d a52 aac abiword acl acpi admin afs alsa amd64 ao apache2 applet archive arpack asf aspell assistant audacious audiofile automap automount bash-completion beagle berkdb blas blast bluetooth boo boost branding bzip2 cairo cdda cddb cdf cdio cdparanoia cdr cg cgi chm cli consolekit corba cracklib crypt css cuda cups curl cxx daap db dbase dbi dbm dbus declarative designer devhelp device-mapper dga dia djvu doc dri ds2490 ds9097 ds9097u dts dv dvb dvd dvdr dvi dynamicplugin eds elf emacs emboss emf encode epiphany evo examples exif expat extensions extra extras fam fame ffmpeg fftw firefox fits flac fltk fontconfig foomaticdb fortran fortran95 fpx fts3 fuse galago garmin gcj gd gdal gdbm gdu gedit geoip geolocation geos gfortran gif gimp ginac git glade glib gml gmp gmtsuppl gnome gnome-keyring gnome-print gnuplot gnutls gphoto2 gpm grammar graphics graphtft graphviz grass gs gsl gsm gstreamer gtk guile harness hddtemp hdf hdf5 hdri http httpd hvm iconv icq icu id3 ide imagemagick imap innodb inotify ipod ipv6 irda ithreads jabber jadetex java java6 jbig john jpeg jpeg2k kdrive kerberos kpathsea kqemu kvm ladspa lame lapack latex latex3 lcms ldap lensfun libffi libgda libnotify libsamplerate lirc lm_sensors lua lzo mad mail maildir mapnik math matroska mkl mmx mmxext mng modules mono moonlight motif mozilla mp3 mp4 mpeg mpi mpi-threads mplayer mtp mudflap multilib musicbrainz mysql mysqli nautilus ncurses neXt netcdf netpbm network networking networkmanager nfs nls nntp nptl nptlonly nsplugin ntfs ntp numpy nvidia obex objc ocaml octave odbc ogdi ogg ole openexr opengl openmp overview pae pam pango pcre pda pdf perl plotutils plugins png podcast policykit portaudio posix postgres postscript ppds pppd preview-latex proj projectx pstricks pulseaudio python python-bindings q16 q32 qemu qhull qt3support qt4 quicktime readline reiserfs reports rle romio rpc rrdcgi rrdtool samba sasl science sdk sdl secure-delete semantic-desktop server session sip slang slp smbclient smp sms sndfile snmp soup sox speex spell sql sqlite sse sse2 sse4 ssl ssse3 startup-notification stlport subtitles subversion suexec svg svm swig sysfs szip t1lib tcl tcpd tex tex4ht texmacs tgif theora threads thunderbird tidy tiff tk tntc tools truetype udev unicode usb userlocales utempter v4l2 video virtualbox vorbis wav webdav webdav-serf webkit wifi wmf wxwidgets x264 xattr xcb xemacs xext xine xml xmlreader xmlrpc xorg xpm xulrunner xv xvid xvmc yaml zlib zvbi" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr" NETBEANS_MODULES="apisupport cnd dlight enterprise ergonomics groovy gsf harness ide identity j2ee java mobility nb php profiler ruby websvccommon xml" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nouveau vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/iproute2-2.6.37 was built with the following:
USE="berkdb iptables ipv6 (multilib) -atm -minimal"
Comment 2 Juergen Rose 2011-06-09 10:53:33 UTC
root@moose:/root(12)# emerge -pqv =sys-apps/iproute2-2.6.37
[ebuild   R   ] sys-apps/iproute2-2.6.37  USE="berkdb iptables ipv6 -atm -minimal"
Comment 3 Juergen Rose 2011-06-09 10:58:19 UTC
Created attachment 276361 [details]
/var/tmp/portage/sys-apps/iproute2-2.6.37/temp/build.log
Comment 4 Olivier Huber 2011-06-09 12:40:09 UTC
Created attachment 276371 [details, diff]
patch from openSUSE
Comment 5 Olivier Huber 2011-06-09 12:44:24 UTC
Created attachment 276373 [details, diff]
patch from openSUSE (2/2)

Both patches are from openSUSE : https://build.opensuse.org/package/rdiff?commit=27&linkrev=base&package=iproute2&project=security%3Anetfilter

iproute2-2.6.37 compiles fine with the two previous patches.

net-firewall/iptables-1.4.11.1 was built with the following:
USE="ipv6 (multilib) netlink test"


Portage 2.2.0_alpha38 (default/linux/amd64/10.0/developer, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 09 Jun 2011 09:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2::sage-on-gentoo, 2.7.1-r1::sage-on-gentoo, 3.1.3-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.4_p6-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2, 4.6.0
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
Repositories: gentoo g-octave sage-on-gentoo kde science x11 bibletime xhub
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe -g -mssse3 -msse4.1"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache collision-protect distlocks ebuild-locks fixlafiles fixpackages multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
LANG="fr_FR.utf-8"
LC_ALL="fr_FR.utf-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="fr"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/g-octave /usr/local/overlays/sage-on-gentoo /usr/local/overlays/kde /usr/local/overlays/sci /usr/local/overlays/x11 /usr/local/overlays/bibletime /usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac abook acl acpi adns alsa amd64 amr amrnb amrwb apng ares aspell ass bash-completion berkdb bluetooth boehm-gc boost bzip2 cairo caps cblas cdaudio cdda cddb cdio cdparanoia cdr cgroup cli consolekit cracklib crypt ctypes-python cups curl custom-cxxflags custom-optimization cvs cxx daap dbus declarative detex device-mapper dia dirac djvu dns dri dts dv dvb dvd dvdnav dvdr dvipdfm emboss enca encode exif expat extensions extra faac faad fam fbcondecor ffmpeg fftw firefox flac fontconfig fontforge fortran frei0r ft2232 ftd2xx ftdi ftp fts3 fuse gallium gcrypt gd gdbm gdu geoip gif gimp git gles glitz gmp gnutls gpg gpgme gpm graphics graphite graphviz gs gsm gstreamer gtk hdri humanities iconv icu id3tag idn imagemagick imap iproute2 ipv6 jack jadetex jingle jpeg jpeg2k kde kpathsea kqemu kvm lame lapack laptop lash latex latex3 lcms ldap libass libftdi libgcrypt libnotify libproxy libsamplerate libusb-0 libv4l libv4l2 live llvm llvm-gcc lto lua lvm lzma lzo mad matroska mbox melt messenger mjpeg mktemp mmx mng modplug modules mp3 mp4 mpc mpeg mplayer msn mtp mudflap multilib musepack music ncurses nemesi netlink nls nptl nptlonly nsplugin nspluginwrapper nss ntfsprogs ntl ntlm ntp ocaml ocamlopt octave ogg omega openexr opengl openldap openmp openntpd openssl otr pam pango pari24 parport parport-giveio passwdqc pch pcre pda pdf perl phonon pipechan pkcs11 plotutils png policykit pop postgres postproc postscript ppds pppd presto projectm pstricks publishers pulseaudio python qalculate qemu qt3support qt4 quicktime qwt rar readline rnca rss rtmp rtsp ruby sage sasl schroedinger science sdl sdl-image secure-delete semantic-desktop sensord session shout sidebar sip smi smime smp sms smtp sndfile snmp speex spell sqlite sqlite3 sse sse2 sse3 ssh ssl ssse3 startup-notification stream strong-optimization subversion svg sysfs syslog system-sqlite t1lib taglib tcpd teletext text tga theora threads thumbnail tiff tokyocabinet tools toplevel tordns truetype udev udev-acl unicode unlock-notify upnp usb utils v4l v4l2 vaapi vcd vcdinfo vcdx vim vim-syntax virtualbox vorbis vpx wav wavpack webdav webkit wifi winpopup wmf x264 xattr xcb xcomposite xetex xine xml xorg xosd xulrunner xv xvid xvmc zlib zvbi" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel v4l fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-apps/iproute2-2.6.37 was built with the following:
USE="berkdb iptables ipv6 (multilib) test -atm -minimal"
Comment 6 Juergen Rose 2011-06-09 13:17:29 UTC
The patches worked for me.
Comment 7 iGentoo 2011-06-09 17:44:57 UTC
Created attachment 276401 [details, diff]
iproute2-2.6.37-iptables-1.4.11.patch

Reference:
http://git.netfilter.org/cgi-bin/gitweb.cgi?p=iptables.git;a=commitdiff;h=710a132ce9fbecedbf9447f2b2a134f2359a583c

This patch works well with iptables 1.4.10 and 1.4.11.

P.S.
iproute2-2.6.38 is out.
Comment 8 Lubomir Krajcovic 2011-06-10 01:40:05 UTC
Confirming working patch from the comment above (#c7) on hardened gentoo:

Portage 2.2.0_alpha38 (hardened/linux/amd64/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-hardened-r6 x86_64)
FEATURES="parallel-fetch sandbox userpriv fail-clean"
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 14:46:34 UTC
*** Bug 370801 has been marked as a duplicate of this bug. ***
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-10 15:43:54 UTC
*** Bug 371017 has been marked as a duplicate of this bug. ***
Comment 11 Pandu E Poluan 2011-06-11 05:48:32 UTC
Seems to work for me. At least emerge no longer had a heart attack.

Portage 2.1.10 (hardened/linux/x86, gcc-4.4.5, glibc-2.13-r2, 2.6.36-gentoo-r8 i686)

Whether iproute2 performs as expected, remains to be seen.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2011-06-11 13:18:58 UTC
2.6.38 that works with latest iptables added to main tree.
Comment 13 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-11 15:38:53 UTC
*** Bug 371149 has been marked as a duplicate of this bug. ***