with portage-2.0.51_pre15 make check and make test are implicitly called before src_install. Make check is called here at it fails. The file check.h doesn't appear in the tarball. 1.95.7 also failes and gives the error that it requires version 0.8 from http://check.sourceforge.net/ >>> Test phase [check]: dev-libs/expat-1.95.6-r1 extract from compile: gcc -march=pentium3 -O2 -pipe -Wall -Wmissing-prototypes -Wstrict-prototypes -fexceptions -I./lib -I. -o tests/runtests.o -c tests/runtests.c distcc[7646] ERROR: compile on localhost failed tests/runtests.c:2:19: check.h: No such file or directory distcc[7644] ERROR: compile on 10.10.10.10 failed make: *** [tests/runtests.o] Error 1 !!! ERROR: dev-libs/expat-1.95.6-r1 failed. !!! Function src_test, Line 497, Exitcode 0 !!! Make check failed. See above for details. ! bash-2.05b# emerge info Portage 2.0.51_pre15 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r11 i686 Celeron (Coppermine)) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Celeron (Coppermine) Gentoo Base System version 1.4.16 distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1,sys-kernel/linux-headers-2.4.19-r1 Libtools: sys-devel/libtool-1.4.3-r4 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache cvs distcc maketest sandbox sign userpriv usersandbox" GENTOO_MIRRORS="ftp://mirror.internode.on.net/pub/gentoo http://premium.planetmirror.com/pub/gentoo http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm arts artswrappersuid avi berkdb bonobo cdr crypt cups encode ethereal fam fastcgi flash foomaticdb gd gif gtk gtkhtml guile imagemagick imlib java jpeg kde kerberos libgda libwww mad mbox mikmod mmx motif mozilla mpeg mysql nptl ntlm oggvorbis openal operanom2 pam pdflib perl php png ppds python qt quicktime readline samba sdl slp socks5 sox spell sse ssl svga tcltk tetex tiff truetype usb vhosts x86 xinerama xml xml2 xv zlib"
works for me... ~x86 gcc 2.4.1... obviously wasn't working for me earlier, because I joined this bug... but can this be closed?
Do you have dev-libs/check installed? If so it will probably work. I'm thinking a few packages use a contained version of expat. e.g. /usr/lib/mozilla-1.3/include/expat/xmlparse.h. hmm odd
Dan, Try the new ebuild for a solution and get back to me if it doesn't work. Closing this out cause it's the fix. Re-open as necessary.
Works good. Thanks for the fix.