The ebuild fails pretty early on, after only a handful of compiler commands. It complains about ICMP6 in othptab.c. The funny thing is it's compiled fine in the past, because this was a remerge after upgrading my uClibc. Maybe that's what's caused it... Reproducible: Always Steps to Reproduce: Actual Results: >>> Compiling source in /var/tmp/portage/net-analyzer/iptraf-3.0.0-r4/work/iptraf-3.0.0 ... make: Entering directory `/var/tmp/portage/net-analyzer/iptraf-3.0.0-r4/work/iptraf-3.0.0/src' powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"powerpc-gentoo-linux-uclibc\" -c -o iptraf.o iptraf.c powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"powerpc-gentoo-linux-uclibc\" -c -o itrafmon.o itrafmon.c powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"powerpc-gentoo-linux-uclibc\" -c -o packet.o packet.c powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"powerpc-gentoo-linux-uclibc\" -c -o tcptable.o tcptable.c powerpc-gentoo-linux-uclibc-gcc -O2 -mcpu=603e -pipe -DWORKDIR=\"/var/lib/iptraf\" -DLOGDIR=\"/var/log/iptraf\" -DEXECDIR=\"/usr/sbin\" -I../support -DVERSION=\"3.0.0\" -DPLATFORM=\"powerpc-gentoo-linux-uclibc\" -c -o othptab.o othptab.c othptab.c: In function `printothpentry': othptab.c:564: error: `ICMP6_DST_UNREACH_NOTNEIGHBOR' undeclared (first use in this function) othptab.c:564: error: (Each undeclared identifier is reported only once othptab.c:564: error: for each function it appears in.) othptab.c:596: error: `ICMP6_MEMBERSHIP_QUERY' undeclared (first use in this function) othptab.c:599: error: `ICMP6_MEMBERSHIP_REPORT' undeclared (first use in this function) othptab.c:602: error: `ICMP6_MEMBERSHIP_REDUCTION' undeclared (first use in this function) make: *** [othptab.o] Error 1 make: Leaving directory `/var/tmp/portage/net-analyzer/iptraf-3.0.0-r4/work/iptraf-3.0.0/src' * * ERROR: net-analyzer/iptraf-3.0.0-r4 failed. muttley ~ # emerge --info Portage 2.1.4.5 (uclibc/ppc/hardened, gcc-3.4.6, uclibc-0.9.30-r0, 2.6.26-hardened-r7-muttley-1-misc ppc) ================================================================= System uname: 2.6.26-hardened-r7-muttley-1-misc ppc G2_LE Timestamp of tree: Tue, 23 Dec 2008 10:45:01 +0000 distcc 3.0 powerpc-gentoo-linux-uclibc [enabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p33 dev-lang/python: 2.4.4-r14, 2.5.2-r7 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.61-r2 sys-devel/automake: 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="ppc" CBUILD="powerpc-gentoo-linux-uclibc" CFLAGS="-O2 -mcpu=603e -pipe" CHOST="powerpc-gentoo-linux-uclibc" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mcpu=603e -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LDFLAGS="-Wl,-z,relro" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" 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="/usr/local/portage" SYNC="rsync://gaspode/gentoo-portage" USE="alsa apache2 bzip2 cgi cli cracklib crypt dri embedded fastcgi hardened ipv6 mudflap mysql ncurses offensive openmp pcre perl php pic ppc python quotas readline reflection samba session sni spl sqlite ssl suhosin syslog tcpd uclibc uclibc-compat unicode xorg zlib" 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="alias auth_basic authn_alias authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache 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 proxy proxy_http" APACHE2_MPMS="prefork" CAMERAS="sq905" ELIBC="uclibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Assigning to maintainers.
Probably something else is broken on your system. Our ebuild applies iptraf-3.0.0-ipv6-glibc24.patch which removes CMP6_DST_UNREACH_NOTNEIGHBOR from othptab.c but in your case CMP6_DST_UNREACH_NOTNEIGHBOR is still there. Please attach full build output.
Created attachment 176790 [details] /var/tmp/portage/net-analyzer/iptraf-3.0.0-r4/temp/build.log Attached build.log, is that the file you want?
Thank you Tom. Fixed in the tree in iptraf-3.0.0-r5. Just wait 30 minutes emerge --sync and try to emerge iptraf-3.0.0-r5.
Confirming that net-analyzer/iptraf-3.0.0-r5 now compiles as expected. Thanks :)