Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189706 - app-text/pdftk-1.41 cannot find gcj
Summary: app-text/pdftk-1.41 cannot find gcj
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 14:26 UTC by Christopher Covington
Modified: 2007-08-21 19:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Covington 2007-08-21 14:26:39 UTC
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
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 18:01:40 UTC
Well, this ebuild requires gcj and not gcjh. You didn't post emerge --info either; also, did you try to re-run gcc-config?
Comment 2 Christopher Covington 2007-08-21 19:25:15 UTC
(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.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-08-21 19:27:51 UTC
Lets resolve this properly, then... Thanks for reporting back.