libxml2 is needed by a lot of programs. Unfortunatly, the two last versions (2.5.7 and 2.5.8) doesn't compile on my computer. I have tried with different CFLAGS and different USE vars, with no success (some users on the forums says it worked for them, but not for me). The compilation complain about an error concerning nanohttp.c Reproducible: Always Steps to Reproduce: 1.emerge libxml2 2. 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/libxml2-2.5.8 to / >>> md5 src_uri ;-) libxml2-2.5.8.tar.bz2 >>> Unpacking source... >>> Unpacking libxml2-2.5.8.tar.bz2 to /var/tmp/portage/libxml2-2.5.8/work >>> Source unpacked. * Working directory: /var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8... * Applying libtool-sed.patch... * Applying libtool-portage.patch... configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking how to run the C preprocessor... gcc -E checking for rm... /bin/rm checking for mv... /bin/mv checking for tar... /bin/tar checking for gcc option to accept ANSI C... none needed checking for egrep... grep -E checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for function prototypes... yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzread in -lz... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking ansidecl.h usability... yes checking ansidecl.h presence... yes checking for ansidecl.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for strftime... yes checking for strdup... yes checking for strndup... yes checking for strerror... yes checking for finite... yes checking for isnand... no checking for fp_class... no checking for class... no checking for fpclass... no checking for strftime... (cached) yes checking for localtime... yes checking for gettimeofday... yes checking for ftime... yes checking for stat... yes checking for _stat... no checking for signal... yes checking for printf... yes checking for sprintf... yes checking for fprintf... yes checking for snprintf... yes checking for vfprintf... yes checking for vsprintf... yes checking for vsnprintf... yes checking for sscanf... yes checking for gethostent... yes checking for setsockopt... yes checking for connect... yes checking for type of socket length (socklen_t)... configure: WARNING: could not determine checking whether to enable IPv6... checking for isnan... yes checking for isinf... yes checking for python... /usr/bin/python Found Python version 2.2 Enabling multithreaded support checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_join in -lpthread... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv... yes Enabled Schemas/Relax-NG support configure: creating ./config.status config.status: creating libxml2.spec config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/libxml/Makefile config.status: creating doc/Makefile config.status: creating example/Makefile config.status: creating python/Makefile config.status: creating python/tests/Makefile config.status: creating include/libxml/xmlversion.h config.status: creating xml2-config config.status: creating libxml-2.0.pc config.status: creating xml2Conf.sh config.status: creating python/setup.py config.status: creating config.h config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8' Making all in include make[2]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include' Making all in libxml make[3]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include/libxml' make[3]: Rien
libxml2 is needed by a lot of programs. Unfortunatly, the two last versions (2.5.7 and 2.5.8) doesn't compile on my computer. I have tried with different CFLAGS and different USE vars, with no success (some users on the forums says it worked for them, but not for me). The compilation complain about an error concerning nanohttp.c Reproducible: Always Steps to Reproduce: 1.emerge libxml2 2. 3. Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) dev-libs/libxml2-2.5.8 to / >>> md5 src_uri ;-) libxml2-2.5.8.tar.bz2 >>> Unpacking source... >>> Unpacking libxml2-2.5.8.tar.bz2 to /var/tmp/portage/libxml2-2.5.8/work >>> Source unpacked. * Working directory: /var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8... * Applying libtool-sed.patch... * Applying libtool-portage.patch... configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets $(MAKE)... yes checking for working aclocal-1.4... found checking for working autoconf... found checking for working automake-1.4... found checking for working autoheader... found checking for working makeinfo... found checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for a BSD-compatible install... /bin/install -c checking how to run the C preprocessor... gcc -E checking for rm... /bin/rm checking for mv... /bin/mv checking for tar... /bin/tar checking for gcc option to accept ANSI C... none needed checking for egrep... grep -E checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for function prototypes... yes checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... /bin/sed checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all checking command to parse nm output... ok checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking for objdir... .libs checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... no checking if we can lock with hard links... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking whether -lc should be explicitly linked in... no creating libtool checking whether to enable maintainer-specific portions of Makefiles... no checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzread in -lz... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for sys/stat.h... (cached) yes checking for sys/types.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking ansidecl.h usability... yes checking ansidecl.h presence... yes checking for ansidecl.h... yes checking ieeefp.h usability... no checking ieeefp.h presence... no checking for ieeefp.h... no checking nan.h usability... no checking nan.h presence... no checking for nan.h... no checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking fp_class.h usability... no checking fp_class.h presence... no checking for fp_class.h... no checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking for stdlib.h... (cached) yes checking for sys/socket.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/mman.h usability... yes checking sys/mman.h presence... yes checking for sys/mman.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for arpa/nameser.h... yes checking for resolv.h... yes checking for strftime... yes checking for strdup... yes checking for strndup... yes checking for strerror... yes checking for finite... yes checking for isnand... no checking for fp_class... no checking for class... no checking for fpclass... no checking for strftime... (cached) yes checking for localtime... yes checking for gettimeofday... yes checking for ftime... yes checking for stat... yes checking for _stat... no checking for signal... yes checking for printf... yes checking for sprintf... yes checking for fprintf... yes checking for snprintf... yes checking for vfprintf... yes checking for vsprintf... yes checking for vsnprintf... yes checking for sscanf... yes checking for gethostent... yes checking for setsockopt... yes checking for connect... yes checking for type of socket length (socklen_t)... configure: WARNING: could not determine checking whether to enable IPv6... checking for isnan... yes checking for isinf... yes checking for python... /usr/bin/python Found Python version 2.2 Enabling multithreaded support checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_join in -lpthread... yes checking iconv.h usability... yes checking iconv.h presence... yes checking for iconv.h... yes checking for iconv... yes Enabled Schemas/Relax-NG support configure: creating ./config.status config.status: creating libxml2.spec config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/libxml/Makefile config.status: creating doc/Makefile config.status: creating example/Makefile config.status: creating python/Makefile config.status: creating python/tests/Makefile config.status: creating include/libxml/xmlversion.h config.status: creating xml2-config config.status: creating libxml-2.0.pc config.status: creating xml2Conf.sh config.status: creating python/setup.py config.status: creating config.h config.status: executing default-1 commands make all-recursive make[1]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8' Making all in include make[2]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include' Making all in libxml make[3]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include/libxml' make[3]: Rien à faire pour « all ». make[3]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include/libxml' make[3]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include' make[3]: Rien à faire pour « all-am ». make[3]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include' make[2]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8/include' Making all in . make[2]: Entering directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8' /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c SAX.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c entities.c mkdir .libs rm -f .libs/entities.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c SAX.c -fPIC -DPIC gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c entities.c -fPIC -DPIC distcc[12080] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f entities.o .libs/entities.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c entities.c >/dev/null 2>&1 distcc[12084] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f SAX.o .libs/SAX.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c SAX.c >/dev/null 2>&1 mv -f .libs/entities.lo entities.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c encoding.c mv -f .libs/SAX.lo SAX.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c error.c rm -f .libs/encoding.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c encoding.c -fPIC -DPIC rm -f .libs/error.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c error.c -fPIC -DPIC distcc[12189] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f encoding.o .libs/encoding.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c encoding.c >/dev/null 2>&1 distcc[12272] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f error.o .libs/error.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c error.c >/dev/null 2>&1 mv -f .libs/encoding.lo encoding.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c parserInternals.c mv -f .libs/error.lo error.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c parser.c rm -f .libs/parser.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c parser.c -fPIC -DPIC rm -f .libs/parserInternals.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c parserInternals.c -fPIC -DPIC distcc[12377] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f parserInternals.o .libs/parserInternals.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c parserInternals.c >/dev/null 2>&1 distcc[12460] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f parser.o .libs/parser.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c parser.c >/dev/null 2>&1 mv -f .libs/parserInternals.lo parserInternals.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c tree.c mv -f .libs/parser.lo parser.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c hash.c rm -f .libs/tree.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c tree.c -fPIC -DPIC distcc[12554] (dcc_writex) ERROR: failed to write: No route to host distcc[12554] (dcc_build_somewhere) Warning: failed to distribute to 192.168.0.121, running locally instead mv -f tree.o .libs/tree.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c tree.c >/dev/null 2>&1 rm -f .libs/hash.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c hash.c -fPIC -DPIC distcc[12661] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f hash.o .libs/hash.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c hash.c >/dev/null 2>&1 mv -f .libs/tree.lo tree.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c list.c mv -f .libs/hash.lo hash.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xmlIO.c rm -f .libs/list.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c list.c -fPIC -DPIC rm -f .libs/xmlIO.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xmlIO.c -fPIC -DPIC distcc[12742] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f list.o .libs/list.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c list.c >/dev/null 2>&1 distcc[12926] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f xmlIO.o .libs/xmlIO.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xmlIO.c >/dev/null 2>&1 mv -f .libs/list.lo list.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xmlmemory.c mv -f .libs/xmlIO.lo xmlIO.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c uri.c rm -f .libs/xmlmemory.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xmlmemory.c -fPIC -DPIC rm -f .libs/uri.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c uri.c -fPIC -DPIC distcc[12930] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f xmlmemory.o .libs/xmlmemory.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xmlmemory.c >/dev/null 2>&1 distcc[13035] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f uri.o .libs/uri.lo mv -f .libs/xmlmemory.lo xmlmemory.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c uri.c >/dev/null 2>&1 /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c valid.c mv -f .libs/uri.lo uri.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xlink.c rm -f .libs/valid.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c valid.c -fPIC -DPIC rm -f .libs/xlink.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xlink.c -fPIC -DPIC distcc[13118] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f valid.o .libs/valid.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c valid.c >/dev/null 2>&1 distcc[13212] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f xlink.o .libs/xlink.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xlink.c >/dev/null 2>&1 mv -f .libs/valid.lo valid.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c HTMLparser.c mv -f .libs/xlink.lo xlink.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c HTMLtree.c rm -f .libs/HTMLparser.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c HTMLparser.c -fPIC -DPIC rm -f .libs/HTMLtree.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c HTMLtree.c -fPIC -DPIC distcc[13306] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f HTMLparser.o .libs/HTMLparser.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c HTMLparser.c >/dev/null 2>&1 distcc[13411] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f HTMLtree.o .libs/HTMLtree.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c HTMLtree.c >/dev/null 2>&1 mv -f .libs/HTMLparser.lo HTMLparser.lo mv -f .libs/HTMLtree.lo HTMLtree.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c debugXML.c /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xpath.c rm -f .libs/xpath.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xpath.c -fPIC -DPIC rm -f .libs/debugXML.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c debugXML.c -fPIC -DPIC distcc[13505] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f debugXML.o .libs/debugXML.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c debugXML.c >/dev/null 2>&1 mv -f .libs/debugXML.lo debugXML.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xpointer.c distcc[13588] (dcc_build_somewhere) Warning: failed to distribute, running locally instead trionan.c:514: warning: `trio_isfinite' defined but not used trionan.c:742: warning: `trio_fpclassify' defined but not used mv -f xpath.o .libs/xpath.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xpath.c >/dev/null 2>&1 mv -f .libs/xpath.lo xpath.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xinclude.c rm -f .libs/xpointer.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xpointer.c -fPIC -DPIC distcc[13682] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f xpointer.o .libs/xpointer.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xpointer.c >/dev/null 2>&1 rm -f .libs/xinclude.lo mv -f .libs/xpointer.lo xpointer.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c nanohttp.c gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xinclude.c -fPIC -DPIC distcc[13776] (dcc_build_somewhere) Warning: failed to distribute, running locally instead mv -f xinclude.o .libs/xinclude.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c xinclude.c >/dev/null 2>&1 rm -f .libs/nanohttp.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c nanohttp.c -fPIC -DPIC mv -f .libs/xinclude.lo xinclude.lo /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c nanoftp.c rm -f .libs/nanoftp.lo gcc -DHAVE_CONFIG_H -I. -I. -I. -I./include -I./include -D_REENTRANT -mcpu=i586 -O2 -pipe -Wall -c nanoftp.c -fPIC -DPIC distcc[2450] (dcc_build_somewhere) Warning: failed to distribute, running locally instead nanohttp.c: In function `xmlNanoHTTPConnectAttempt': nanohttp.c:910: `len' undeclared (first use in this function) nanohttp.c:910: (Each undeclared identifier is reported only once nanohttp.c:910: for each function it appears in.) distcc[2450] ERROR: compile on localhost failed with exit code 1 make[2]: *** [nanohttp.lo] Erreur 1 make[2]: *** Attente des tâches non terminées.... distcc[2508] (dcc_build_somewhere) Warning: failed to distribute, running locally instead nanoftp.c: In function `xmlNanoFTPGetConnection': nanoftp.c:1479: `dataAddrLen' undeclared (first use in this function) nanoftp.c:1479: (Each undeclared identifier is reported only once nanoftp.c:1479: for each function it appears in.) distcc[2508] ERROR: compile on localhost failed with exit code 1 make[2]: *** [nanoftp.lo] Erreur 1 make[2]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/var/tmp/portage/libxml2-2.5.8/work/libxml2-2.5.8' make: *** [all-recursive-am] Erreur 2 !!! ERROR: dev-libs/libxml2-2.5.8 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message) Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4) ================================================================= System uname: 2.4.20-gaming-r3 i686 AMD Athlon(tm) XP 1600+ GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/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 gif libg++ mad mikmod mmx truetype gtkhtml gdbm berkdb slang readline bonobo svga ggi tcltk ruby mysql X gpm pam libwww perl oggvorbis qt motif gphoto2 ldap scanner tcpd ssl sse dvd encode arts aalib ncurses avi mpeg quicktime esd xmms ggz crypt mozilla mozsvg tetex pdflib samba zlib java atlas dga plotutils cups opengl sdl python kde imlib jpeg jikes guile cdr spell xv wmf xml xml2 gtk png mule tiff gb nls cjk -gnome -doc" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i586 -O2 -pipe" CXXFLAGS="-mcpu=i586 -O2 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" FEATURES="sandbox fixpackages ccache distcc" (I have tried here with "-mcpu=i586 -O2 -pipe", but "-mcpu=athlon-xp -O3 -pipe" gave me the same results)
This seems to be due to a buglet in autoconf which fails to detect socklen properly. Can you tell me what version of autoconf you are running please?
Can you try this again as: $ export WANT_AUTOCONF_2_5=1 emerge libxml2 and let me know what happens :)
Turns out this is a distcc thing. How bizarre :/ http://forums.gentoo.org/viewtopic.php?t=39691&highlight=socket+length&sid=b3d3c77453e2c1245cd917ad0745ecd5
Resolving this CANTFIX as we can't really check for broken distcc setup, nor should we :) Up to the users to sort this. This would affect quite a few ebuilds I imagine, not just this one. Thanks for spotting the forum thread Eric :)
re-resolving due to bugzilla glitch