The ebuild for gcc-4.0.1 fails with tests in make.conf enabled. The error message from the build: [...] make[2]: Leaving directory `/var/tmp2/portage/gcc-4.0.1/work/build/i686-pc-linux-gnu/libmudflap' make[1]: Leaving directory `/var/tmp2/portage/gcc-4.0.1/work/build' /var/tmp/portage/gcc-4.0.1/work/build /var/tmp/portage/gcc-4.0.1/work/gcc-4.0.1 >>> Test phase [enabled]: sys-devel/gcc-4.0.1 make[1]: Entering directory `/var/tmp2/portage/gcc-4.0.1/work/build/fixincludes' autogen -T /var/tmp/portage/gcc-4.0.1/work/gcc-4.0.1/fixincludes/check.tpl /var/tmp/portage/gcc-4.0.1/work/gcc-4.0.1/fixincludes/inclhack.def make[1]: autogen: Command not found make[1]: *** [check] Error 127 make[1]: Leaving directory `/var/tmp2/portage/gcc-4.0.1/work/build/fixincludes' make: *** [check-fixincludes] Error 2
output from "emerge -info" Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.11.11 i686) ================================================================= System uname: 2.6.11.11 i686 AMD Athlon(tm) XP 1900+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /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="-O2 -mcpu=i686 -pipe" DISTDIR="/var/tmp/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict test userpriv usersandbox" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X X509 aalib acl acpi alsa apache2 apm arts artswrappersuid avi bluetooth caps cdr chroot crypt cups curl dga doc dvd encode fam flac gd gif gphoto2 gtk2 imagemagick imap imlib ipv6 java javascript jce jp2 jpeg jpeg2k junit kde libg++ maildir mbox md5sum mikmod mmx mmx2 mozilla mp3 mpeg mpeg4 ncurses nls ogg oggvorbis opengl pam pdflib perl png python qt quicktime readline real samba sdl slang spell sse ssl subversion tcpd tetex tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb vorbis wmf xine xml2 xmms xscreensaver xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
i dont think ive ever seen gcc pass `make check`
ok, sorry for the noise
(In reply to comment #0) > >>> Test phase [enabled]: sys-devel/gcc-4.0.1 > make[1]: Entering directory > `/var/tmp2/portage/gcc-4.0.1/work/build/fixincludes' > autogen > -T /var/tmp/portage/gcc-4.0.1/work/gcc-4.0.1/fixincludes/check.tpl /var/tmp/portage/gcc-4.0.1/work/gcc-4.0.1/fixincludes/inclhack.def > make[1]: autogen: Command not found This particular problem is occurring because autogen isn't installed, so it's not an upstream issue, but a missing DEPEND. Halcy0n - could you add autogen to DEPEND, conditional on USE=test? Certainly it's needed on all the 4.x versions, not sure about prior versions. (FWIW on 4.1.0 it then falls over checking the fixincludes so doesn't get very far - not sure if that's due to patches we add; if so we should also fix up the checks).
yeah, 4.0.x and 4.1.x need this fixed in cvs, thanks Kevin