Summary: | libxml2-2.5.9 fails with distcc | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kirtis Bakalarczyk <kirtis_b> |
Component: | [OLD] Library | Assignee: | Lisa Seelye (RETIRED) <lisa> |
Status: | RESOLVED CANTFIX | ||
Severity: | minor | CC: | gnome, iggy, matthewhray, mbp, pablos |
Priority: | High | ||
Version: | 1.4 | ||
Hardware: | x86 | ||
OS: | Linux | ||
URL: | http://lists.samba.org/pipermail/distcc/2003q3/001542.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Emerge info
Emerge info Emerge info Emerge info Emerge info |
Description
Kirtis Bakalarczyk
2003-08-12 20:51:33 UTC
Created attachment 16011 [details]
Emerge info
Created attachment 16012 [details]
Emerge info
Created attachment 16013 [details]
Emerge info
Created attachment 16014 [details]
Emerge info
Created attachment 16015 [details]
Emerge info
I can't seem to add the output from emerge info so i'll include it here: Portage 2.0.48-r7 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1) ================================================================= System uname: 2.6.0-test3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/ gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://csociety-ftp.ecn.pur due.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu .edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://gentoo .mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/ http://www.mirror.ac.uk/sites/ www.ibiblio.org/gentoo/" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm crypt cups encode foomaticdb gif jpeg libg++ mad mikmod m mx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms zlib gtkhtml g dbm berkdb slang readline bonobo tcltk java guile mysql tcpd pam libwww perl pyt hon imlib gtk motif opengl mozilla cdr aalib directfb fbcon gpm svga xv -avi sen dmail samba X ssl apache2 dvd sdl oggvorbis gtk2 gnome -alsa -qt -arts -esd -kde " COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse2 -pipe" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse2 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="ccache sandbox distcc" Also, I tried it with and without sandbox and nothing changed. Your attachments were successful (all of them) Oops. It gave me an error each time.. I assumed they didn't get through. kirtis, can you try to emerge it without -mmmx in your CFLAGS, I had the same problem here, and it worked when I took that out I tried emerging without -mmmx and it still failed on me.. Only removing distcc from FEATURES has worked so far. I can confirm this bug on my Pentium3-M notebook. When I use FEATURES="distcc" and do not define hosts for distcc then the build process stops at the same place and with the same message as on Kirtis' system. It builds fine when I omit distcc in FEATURES. Is this still failing with libxml2-2.5.11? It worked for me with an athlon. Yup, different error though: make[2]: *** [nanohttp.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... distcc[18787] (dcc_build_somewhere) Warning: failed to distribute, running locally instead nanoftp.c: In function `xmlNanoFTPGetConnection': nanoftp.c:1499: error: `dataAddrLen' undeclared (first use in this function) nanoftp.c:1499: error: (Each undeclared identifier is reported only once nanoftp.c:1499: error: for each function it appears in.) distcc[18787] ERROR: compile on localhost failed 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 31, Exitcode 2 !!! (no error message) Still works without distcc in features. KIRT Can you paste `emerge info` please for each machine you're compiling on? Portage 2.0.49-r3 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test4-bk3) ============================================================ ===== System uname: 2.6.0-test4-bk3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz distcc 2.10 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -msse2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config / usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -msse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="http://www.ibiblio.org/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/ http:// gentoo.seren.com/gentoo http://gentoo.noved.org/ ftp://gentoo.noved.org/ http:// adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo ftp://sunsite.ualberta.ca/pub/unix/Linux/ gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 apm crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml gdbm berkdb slang readline aalib bonobo svga tcltk java guile gpm tcpd pam libwww ssl perl python imlib gtk motif opengl mozilla cdr samba X apache2 dvd sdl oggvorbis gtk2 gnome oss -avi -alsa -qt -arts -esd - kde" I asked a user with a P4 to try compiling this with your CFLAGS and his attempt was successful. So this leads me to believe that you're missing a library of some sort. SOCKLEN_T dataAddrLen; <-- Line 1499 There is some kind of persistent flakiness on libxml's autoconf scripts. I'm sure I've seen an error to do with failing to detect SOCKLEN_T on some other system. As Martin suggests, this is an upstream problem. Report it to http://bugzilla.gnome.org. Do you gnome@ guys care to report it? Somebody who can reproduce this problem needs to get the following debug information: the config.log how SOCKLEN_T is getting defined why isn't it getting set to the right type (presumably socklen_t) Five copies of the ebuild file is not sufficient. :-) as a last ditch effort, can you try MAKEOPTS="-j1" emerge libxml2 2>&1 | tee /tmp/libxml2.log zilla reopened this. did you report this upstream? *** Bug 31152 has been marked as a duplicate of this bug. *** could you please look at bug 30701 and see if some old headers are causing your problem? Well, regarding Bug 31152, I could make it work by removing "distcc" and "ccache" from the FEATURES in make.conf, although I'm not sure which one solved it. *** Bug 41031 has been marked as a duplicate of this bug. *** |