Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 134384

Summary: gcc-4.1.1 fails to compile w/ USE="gcj"
Product: Gentoo Linux Reporter: Andrei Ivanov <andrei.ivanov>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrei Ivanov 2006-05-26 00:44:10 UTC
checking if /var/tmp/portage/gcc-4.1.1/work/build/./gcc/xgcc PIC flag -fPIC -DPIC works... yes
checking if /var/tmp/portage/gcc-4.1.1/work/build/./gcc/xgcc static flag -static works... yes
finding the maximum length of command line arguments... (cached) 49153
checking if /var/tmp/portage/gcc-4.1.1/work/build/./gcc/xgcc supports -c -o file.o... (cached) yes
checking if /var/tmp/portage/gcc-4.1.1/work/build/./gcc/xgcc supports -fno-rtti -fno-exceptions ... yes
checking whether the linker (/var/tmp/portage/gcc-4.1.1/work/build/./gcc/collect-ld) supports shared libraries...
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 /var/tmp/portage/gcc-4.1.1/work/build/./gcc/nm output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
appending configuration tag "CXX" to libtool
checking for gcj... /var/tmp/portage/gcc-4.1.1/work/build/gcc/gcj -B/var/tmp/portage/gcc-4.1.1/work/build/i686-pc-linux-gnu/libjava/ -B/var/tmp/portage/gcc-4.1.1/work/build/gcc/
checking dependency style of /var/tmp/portage/gcc-4.1.1/work/build/gcc/gcj -B/var/tmp/portage/gcc-4.1.1/work/build/i686-pc-linux-gnu/libjava/ -B/var/tmp/portage/gcc-4.1.1/work/build/gcc/... gcc3
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.1.1/work/build/gcc/gcj option to produce PIC... -fPIC
checking if /var/tmp/portage/gcc-4.1.1/work/build/gcc/gcj PIC flag -fPIC works... (cached) yes
checking if /var/tmp/portage/gcc-4.1.1/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.1.1/work/build/gcc/gcj supports -c -o file.o... (cached) yes
checking if /var/tmp/portage/gcc-4.1.1/work/build/gcc/gcj supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/var/tmp/portage/gcc-4.1.1/work/build/./gcc/collect-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 /var/tmp/portage/gcc-4.1.1/work/build/./gcc/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.1.1/work/build/./gcc/xgcc -B/var/tmp/portage/gcc-4.1.1/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.1.1/work/build/./gcc/xgcc -B/var/tmp/portage/gcc-4.1.1/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... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
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[2]: *** [configure-target-libjava] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-4.1.1/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-4.1.1 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  ebuild.sh, line 1240:   Called toolchain_src_compile
  toolchain.eclass, line 24:   Called gcc_src_compile
  toolchain.eclass, line 1460:   Called gcc_do_make
  toolchain.eclass, line 1334:   Called die

!!! emake failed with profiledbootstrap
!!! If you need support, post the topmost build error, and the call stack if relevant.

I have only the X packages that are required by dev-java/sun-jdk, emerged with the X flag set.

I don't need the rest of the X packages because this is a server...

Portage 2.1_rc2-r3 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0
dev-lang/python:     2.3.5, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.gts.lug.ro/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acl acpi adns alsa apache2 avi bitmap-fonts bzip2 cairo caps cli crypt cups curl curlwrappers dio emboss encode esd exif expat flac foomaticdb fortran ftp gd gif gmp gpm gstreamer idn imagemagick imap imlib isdnlog jpeg libg++ libwww mad maildir mailwrapper memlimit mhash mikmod mmap mmx mp3 mpeg ncurses nptl offensive ogg oggvorbis pam pcntl pcre pdflib png posix pppd quicktime readline reflection samba session shared sharedmem slang soap sockets socks5 speex spell spl sse ssl svg sysvipc tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode urandom usb vhosts vorbis wmf xml xmlrpc xorg zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-05-26 02:53:57 UTC

*** This bug has been marked as a duplicate of 130260 ***