Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31152 - Can't emerge libxml2
Summary: Can't emerge libxml2
Status: RESOLVED DUPLICATE of bug 26518
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-14 14:39 UTC by Pablos
Modified: 2005-07-17 13:06 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pablos 2003-10-14 14:39:19 UTC
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
Comment 1 Wolfram Schlich (RETIRED) gentoo-dev 2003-10-16 05:37:06 UTC
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<--
Comment 2 rob holland (RETIRED) gentoo-dev 2003-10-17 02:10:19 UTC
No time for gentoo dev stuff right now :(
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2003-10-17 13:29:33 UTC
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 ***