emerge -Up world recently wants to [ebuild U ] dev-php/mod_php-4.3.3-r1 [4.3.2-r4] but it craps out every time at this place: ... In file included from /usr/include/net-snmp/utilities.h:39, from /usr/include/net-snmp/net-snmp-includes.h:64, from /var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c:80: /usr/include/net-snmp/library/data_list.h:29: syntax error before "netsnmp_data_list" /usr/include/net-snmp/library/data_list.h:41: syntax error before "void" /var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c: In function `netsnmp_session_gen_auth_key': /var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c:803: warning: initialization discards qualifiers from pointer target type /var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c: In function `netsnmp_session_gen_sec_key': /var/tmp/portage/mod_php-4.3.3-r1/work/php-4.3.3/ext/snmp/snmp.c:832: warning: initialization discards qualifiers from pointer target type distcc[3822] ERROR: compile on localhost failed with exit code 1 make: *** [ext/snmp/snmp.lo] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: dev-php/mod_php-4.3.3-r1 failed. !!! Function php_src_compile, Line 423, Exitcode 2 !!! compile problem Reproducible: Always Steps to Reproduce: 1. 2. 3. westernwall root # emerge info Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r7) ================================================================= System uname: 2.4.20-gentoo-r7 i686 Pentium III (Coppermine) distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=i686 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs distcc" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm arts avi crypt encode foomaticdb gif imlib jpeg libg++ mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pdflib png quicktime sdl spell truetype xml2 xmms xv zlib gdbm berkdb slang readline svga java gpm tcpd pam perl python snmp cdr apache2 -X -alsa -oss ipv6 -gtk -qt cups mysql -gnome -kde distcc maildir sasl ssl imap libwww" yes, distcc is running on both the machine doing the emerge and another machine on my lan running distccd
*** This bug has been marked as a duplicate of 28263 ***