I don't know whether gcc should have installed a gcj symlink, pdftk should look for a different binary for the compiler (perhaps by declaring a gcj_want variable or something?) or some other sort of wrapping around the slotted versions is missing, but pdftk won't compile out of the box. gcc is installed with the gcj USE flag, just in multiple versions/slots. # emerge -av pdftk [...] >>> Emerging (1 of 1) app-text/pdftk-1.41 to / * pdftk-1.41.tar.gz RMD160 ;-) ... [ ok ] * pdftk-1.41.tar.gz SHA1 ;-) ... [ ok ] * pdftk-1.41.tar.gz SHA256 ;-) ... [ ok ] * pdftk-1.41.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking pdftk-1.41.tar.gz ;-) ... [ ok ] * It seems that gcj is not in ${PATH}. * Re-emerge sys-devel/gcc with "gcj" enabled. * * ERROR: app-text/pdftk-1.41 failed. * Call stack: * ebuild.sh, line 1670: Called dyn_setup * ebuild.sh, line 719: Called qa_call 'pkg_setup' * ebuild.sh, line 44: Called pkg_setup * pdftk-1.41.ebuild, line 21: Called die * * gcj not found. $ ls -l /usr/bin/gcj* lrwxrwxrwx 1 root root 58 2007-08-16 00:06 /usr/bin/gcj-3.3.6 -> /usr/i686-pc-linux-gnu/gcc-bin/3.3.6/i686-pc-linux-gnu-gcj lrwxrwxrwx 1 root root 58 2007-08-18 14:42 /usr/bin/gcj-4.2.0 -> /usr/i686-pc-linux-gnu/gcc-bin/4.2.0/i686-pc-linux-gnu-gcj lrwxrwxrwx 1 root root 59 2007-08-16 00:06 /usr/bin/gcjh-3.3.6 -> /usr/i686-pc-linux-gnu/gcc-bin/3.3.6/i686-pc-linux-gnu-gcjh lrwxrwxrwx 1 root root 59 2007-08-18 14:42 /usr/bin/gcjh-4.2.0 -> /usr/i686-pc-linux-gnu/gcc-bin/4.2.0/i686-pc-linux-gnu-gcjh
Well, this ebuild requires gcj and not gcjh. You didn't post emerge --info either; also, did you try to re-run gcc-config?
(In reply to comment #1) This ebuild requires both gcj and gcjh. Running gcc-config solved the problem outlined in this bug. Hopefully I won't get the compile errors I did when I manually provided symlinks to gcj and gcjh. That's stuff for a different bug though. This bug seems done, closing. Thanks Jakob.
Lets resolve this properly, then... Thanks for reporting back.