About 2 hours into the install gcc-4.0.2-r3 fails to compile, gcc-3.4.5 works fine. loading cache ./config.cache within ltconfig checking host system type... i686-pc-linux-gnu checking build system type... i686-pc-linux-gnu checking for objdir... .libs checking for /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/gcj option to produce PIC... -fPIC checking if /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/gcj PIC flag -fPIC works... (cached) yes checking if /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/gcj static flag -static works... (cached) yes finding the maximum length of command line arguments... (cached) 49153 checking if /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/gcj supports -c -o file.o... (cached) yes checking if /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/gcj supports -fno-rtti -fno-exceptions ... no 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 command to parse /usr/i686-pc-linux-gnu/bin/nm output... failed checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes appending configuration tag "GCJ" to libtool checking whether /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/xgcc -B/var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include and cc understand -c and -o together... yes checking for exception model to use... call frame checking how to run the C preprocessor... /var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/xgcc -B/var/tmp/portage/gcc-4.0.2-r3/work/build/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -E checking for egrep... grep -E checking for X... no checking for pkg-config... /usr/bin/pkg-config checking for pangoft2... Package pangoft2 was not found in the pkg-config search path. Perhaps you should add the directory containing `pangoft2.pc' to the PKG_CONFIG_PATH environment variable No package 'pangoft2' found configure: error: Library requirements (pangoft2) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. make[1]: *** [configure-target-libjava] Error 1 make[1]: Leaving directory `/var/tmp/portage/gcc-4.0.2-r3/work/build' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-4.0.2-r3 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile ebuild.sh, line 1609: Called toolchain_src_compile toolchain.eclass, line 24: Called gcc_src_compile toolchain.eclass, line 1465: Called gcc_do_make emerge --info: Portage 2.1_pre4-r1 (!/usr/portage/profiles/default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r2 i686) ================================================================= System uname: 2.6.15-gentoo-r2 i686 Transmeta(tm) Crusoe(tm) Processor TM5800 Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5-r2 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-r1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -ffast-math -march=i686" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=i686 -pipe" DISTDIR="/usr/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/mnt/shapeshifter/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X alsa ao apache2 asf audiofile avi bash-completion bitmap-fonts bittorrent bzip2 cairo cardbus cdda cddb cdparanoia cdrom cgi cli css cups dbus dhcp dri dvd encode escreen exif fam fat ffmpeg firefox flac fontconfig ftp gcj gdbm gif gimp glibc-omitfp gmail gpm gs gstreamer hal http icecast icq ieee1394 input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse irc irssi jabber java java-external javascript jikes joystick jp2 jpeg jpeg2k kde lame libwww linuxthreads-tls lm_sensors logrotate lzo lzw mad mikmod mmap mmx mng moznoxft mozsvg mp3 mp4live mpeg mpeg2 mplayer mpm-prefork msn musepack ncurses net network nfs nntp nodrm nptl nptlonly ntfs ogg oggvorbis openssh openssl oscar pam pcmcia pcre pdf pdflib perl php png python qt quicktime rar readline real reiser4 reiserfs rtc scp screen sdl session sharedmem shout sid sndfile speex spell ssl subversion svg svgz sysfs szip t1lib tcpd tga theora tiff timidity truetype truetype-fonts type1 type1-fonts udev usb utf8 vfat video_cards_ati vidix vorbis win32codecs wma wma123 wordperfect xfs xft xine xv xvid yahoo zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
halcyon@nest ~ $ equery belongs /usr/lib/pkgconfig/pangoft2.pc [ Searching for file(s) /usr/lib/pkgconfig/pangoft2.pc in *... ] x11-libs/pango-1.10.2 (/usr/lib/pkgconfig/pangoft2.pc) Does that file not exist for you? Do you have x11-libs/pango installed?
No I don't, and I guess it doesn't request it in the ebuild. Something like if USE='gcj' or USE='java' then we need to pull in pango.
I can confirm this bug. I compiled gcc-4.0.1 on a fresh gentoo system, and got the same error. Compiling with "USE -gcj" emerge ... works (did not want to compile X yet).
(In reply to comment #3) > I compiled gcc-4.0.1 on a fresh gentoo system gcc-4.0.1 isnt in portage fixed gcc-4.0.2