sys-apps/iproute2-2.6.37 fails with sys-kernel/git-sources-3.0_rc1 and with gentoo-sources-2.6.39-1 fails too Reproducible: Always Steps to Reproduce: 1.sudo revdep-rebuild 2. 3. Actual Results: ... x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB -DXT_LIB_DIR=\"/lib64/xtables\" -c -o em_nbyte.o em_nbyte.c x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB -DXT_LIB_DIR=\"/lib64/xtables\" -c -o em_cmp.o em_cmp.c x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB -DXT_LIB_DIR=\"/lib64/xtables\" -c -o em_u32.o em_u32.c x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB -DXT_LIB_DIR=\"/lib64/xtables\" -c -o em_meta.o em_meta.c x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB -Wl,-O1 -Wl,--as-needed -Wl,-export-dynamic -shared -fpic -o m_xt.so m_xt.c -lxtables x86_64-pc-linux-gnu-ar rcs libtc.a tc_core.o tc_red.o tc_cbq.o tc_estimator.o tc_stab.o x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3 -Wstrict-prototypes -Wall -I../include -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFIG_GACT -DCONFIG_GACT_PROB -DXT_LIB_DIR=\"/lib64/xtables\" -c -o emp_ematch.yacc.o emp_ematch.yacc.c 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.yacc.c: In function ‘ematch_parse’:make[1]: *** [m_xt.so] Error 1 make[1]: *** Waiting for unfinished jobs.... 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 *’ 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): * (no error message) * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2498: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" HOSTCC="$(tc-getBUILD_CC)" AR="$(tc-getAR)" || die * * If you need support, post the output of 'emerge --info =sys-apps/iproute2-2.6.37', * the complete build log and the output of 'emerge -pqv =sys-apps/iproute2-2.6.37'. * The complete build log is located at '/var/tmp/portage/sys-apps/iproute2-2.6.37/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/iproute2-2.6.37/temp/environment'. * S: '/var/tmp/portage/sys-apps/iproute2-2.6.37/work/iproute2-2.6.37' Expected Results: ? welder@dreamer ~ $ emerge --info Portage 2.1.10.1 (default/linux/amd64/10.0/no-multilib, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.39-gentoo-r1-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5200+-with-gentoo-2.0.2 Timestamp of tree: Sat, 11 Jun 2011 13:00:01 +0000 app-shells/bash: 4.2_p10 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.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 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 sun-bcla-java-vm AdobeFlash-10.1 AdobeFlash-10" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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" CXXFLAGS="-march=athlon64-sse3 -O2 -pipe -fomit-frame-pointer -mfpmath=sse -msse3" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --jobs" FEATURES="assume-digests binpkg-logs candy distlocks ebuild-locks fixlafiles fixpackages news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="hu_HU.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en hu" 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="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 accessibility acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cli consolekit cracklib crypt custom-cflags cxx dar32 dbus declarative device-mapper dlloader dri dvd dvdr dvdread dynamic enca encode exif expat fam ffmpeg flac fontconfig fuse gd gdbm gif glibc-omitfp glitz gpm hashstyle hddtemp iconv icu id3tag imagemagick inotify jce jpeg jpeg2k kde kipi libnotify lm_sensors lzma mad mmap mmx mmxext modules mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp optimized-qmake pam pch pcre pdf perl phonon png policykit postgres ppds pppd private-headers python python3 qt3support qt4 quicktime readline secure-delete semantic-desktop session slang spell sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs system-sqlite tcpd theora threads thumbnail tiff truetype udev unicode usb vaapi vdpau vhosts vlc vorbis windeco x264 xattr xcomposite xinerama xml xml2 xmp xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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 rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en hu" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 276655 [details] build.log /var/tmp/portage/sys-apps/iproute2-2.6.37/temp/build.log
Created attachment 276657 [details] environment /var/tmp/portage/sys-apps/iproute2-2.6.37/temp/environment
Same errormessage here, but it had have nothing to do with sys-kernel but with iptables 1.4.11.1. Masking iptables-1.4.11.1 and downgrading to 1.4.10-r1 "fixed" to problem (for now).
*** This bug has been marked as a duplicate of bug 370793 ***