I've been unable to emerge libxml2 for quite a while on this P4 machine. Finally, I was able to get it to go through by commenting out CFLAGS in /etc/make.conf. Each time, it would start building, and crap out around nanohttp. Reproducible: Always Steps to Reproduce: 1. Find a P4 machine 2. set /etc/make.conf CFLAGS="-mcpu=i686 -03 -pipe" 3. emerge libxml2 Actual Results: I can't cut & paste from my console, but the build would die around nanohttp libs
confirmed, though I couldn't work around it commenting the CFLAGS: --8<-- [...] gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -march=i386 -O0 -Wall -c nanoftp.c -MT nanoftp.lo -MD -MP -MF .deps/nanoftp.TPlo -fPIC -DPIC distcc[25402] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work distcc[25402] (dcc_build_somewhere) Warning: failed to distribute, running locally instead nanohttp.c: In function `xmlNanoHTTPConnectAttempt': nanohttp.c:923: `len' undeclared (first use in this function) nanohttp.c:923: (Each undeclared identifier is reported only once nanohttp.c:923: for each function it appears in.) distcc[25402] ERROR: compile on localhost failed with exit code 1 make[2]: *** [nanohttp.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... distcc[25436] (dcc_get_hostlist) Warning: no hostlist is set; can't distribute work distcc[25436] (dcc_build_somewhere) Warning: failed to distribute, running locally instead nanoftp.c: In function `xmlNanoFTPGetConnection': nanoftp.c:1499: `dataAddrLen' undeclared (first use in this function) nanoftp.c:1499: (Each undeclared identifier is reported only once nanoftp.c:1499: for each function it appears in.) distcc[25436] ERROR: compile on localhost failed with exit code 1 make[2]: *** [nanoftp.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/libxml2-2.5.11/work/libxml2-2.5.11' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libxml2-2.5.11/work/libxml2-2.5.11' make: *** [all] Error 2 !!! ERROR: dev-libs/libxml2-2.5.11 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message) --8<--
No time for gentoo dev stuff right now :(
This is an upstream problem that still doesn't appear to be fixed. See comment 17 on bug 26518, and indeed the whole bug itself. Course, if this is a completely different thing, reopen. *** This bug has been marked as a duplicate of 26518 ***