When I emerging app-text/pdftk-1.41-r1 then failed to emerging. Reproducible: Always Steps to Reproduce: # emerge -atv pdftk These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild N ] app-text/pdftk-1.41-r1 988 kB Total: 1 package (1 new), Size of downloads: 988 kB Would you like to merge these packages? [Yes/No] Actual Results: >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-text/pdftk-1.41-r1 >>> Downloading 'http://gentoo.inf.elte.hu/distfiles/pdftk-1.41.tar.gz' --2009-06-16 19:40:40-- http://gentoo.inf.elte.hu/distfiles/pdftk-1.41.tar.gz localhost feloldása... 127.0.0.1 Csatlakozás a következőhöz: localhost[127.0.0.1]:5865... kapcsolódva. Proxy kérés elküldve, várom a választ... 200 OK Hossz: 1011368 (988K) [application/x-gzip] Mentés ide: "/usr/portage/distfiles/pdftk-1.41.tar.gz" 100%[====================================================================================================================>] 1.011.368 736K/s idő 1,3s 2009-06-16 19:40:41 (736 KB/s) - "/usr/portage/distfiles/pdftk-1.41.tar.gz" mentve [1011368/1011368] * pdftk-1.41.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * This profile has not been tested thoroughly and is not considered to be * a supported server profile at this time. For a supported server * profile, please check the Hardened project (http://hardened.gentoo.org). * This profile is merely a convenience for people who require a more * minimal profile, yet are unable to use hardened due to restrictions in * the software being used on the server. This profile should also be used * if you require GCC 4.1 or Glibc 2.4 support. If you don't know if this * applies to you, then it doesn't and you should probably be using * Hardened, instead. >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... >>> Unpacking source... >>> Unpacking pdftk-1.41.tar.gz to /var/tmp/portage/app-text/pdftk-1.41-r1/work * Applying pdftk-1.41-gcc-4.3.patch ... [ ok ] * Applying pdftk-1.41-honor-ldflags.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/app-text/pdftk-1.41-r1/work >>> Preparing source in /var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/pdftk ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/pdftk ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/pdftk ... make -j5 -j1 -f Makefile.Generic make -C ../java_libs make[1]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs' make -C "/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowagie/text"; make[2]: Entering directory `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowagie/text' gcj -O2 -pipe -w --encoding=UTF-8 --classpath="/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs" -c Anchor.java -o Anchor.o /bin/sh: gcj: command not found make[2]: *** [Anchor.o] Error 127 make[2]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs/com/lowagie/text' make[1]: *** [itext] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-text/pdftk-1.41-r1/work/pdftk-1.41/java_libs' make: *** [java_libs] Error 2 * * ERROR: app-text/pdftk-1.41-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2194: Called die * The specific snippet of code: * emake -j1 -f Makefile.Generic || die "Compilation failed." * The die message: * Compilation failed. * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/app-text:pdftk-1.41-r1:20090616-174042.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/pdftk-1.41-r1/temp/environment'. * >>> Failed to emerge app-text/pdftk-1.41-r1, Log file: >>> '/var/log/portage/app-text:pdftk-1.41-r1:20090616-174042.log' # emerge -ptv gcc [ebuild R ] sys-devel/gcc-4.3.2-r3 USE="fortran gcj mudflap nls openmp -altivec -bootstrap -build -doc (-fixed-point) -gtk (-hardened) -ip28 -ip32r10k -libffi (-multilib) -multislot (-n32) (-n64) -nocxx -nopie -objc -objc++ -objc-gc -test -vanilla" 0 kB
Created attachment 194911 [details] emerge --info
Created attachment 194912 [details] /var/log/portage/app-text:pdftk-1.41-r1:20090616-174042.log
Do you have a gcj executeable somewhere in your system?
Please use the output of gcc-config -l to set your system compiler to the latest stable - 4.3.2-r3. It would seem that perhaps your current 4.1.2 compiler was not built with USE=gcj whereas your newest installed compiler 4.3.2-r3 is, but is not used. The dependency check succeeds but you're still using the old compiler.
Created attachment 196187 [details] app-text:pdftk-1.41-r1:20090630-154542.log # emerge app-text/pdftk
Created attachment 196189 [details] /var/log/portage/app-text:pdftk-1.41.r1:20090630-154542.log Sorry! # emerge app-text/pdftk
Created attachment 196191 [details] emerge --info