Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 274390 - app-text/pdftk-1.41-r1 - /bin/sh: gcj: command not found
Summary: app-text/pdftk-1.41-r1 - /bin/sh: gcj: command not found
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 18:13 UTC by GES
Modified: 2009-06-30 18:00 UTC (History)
0 users

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


Attachments
emerge --info (emerge--info.txt,11.20 KB, text/plain)
2009-06-16 18:16 UTC, GES
Details
/var/log/portage/app-text:pdftk-1.41-r1:20090616-174042.log (log.txt,2.95 KB, text/plain)
2009-06-16 18:20 UTC, GES
Details
app-text:pdftk-1.41-r1:20090630-154542.log (AIUM5L~Q.LOG,11.06 KB, text/plain)
2009-06-30 17:47 UTC, GES
Details
/var/log/portage/app-text:pdftk-1.41.r1:20090630-154542.log (app-text_pdftk-1.41.r1_20090630-154542.log,11.06 KB, text/plain)
2009-06-30 17:53 UTC, GES
Details
emerge --info (emerge_info.log,11.14 KB, text/plain)
2009-06-30 18:00 UTC, GES
Details

Note You need to log in before you can comment on or make changes to this bug.
Description GES 2009-06-16 18:13:24 UTC
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
Comment 1 GES 2009-06-16 18:16:14 UTC
Created attachment 194911 [details]
emerge --info
Comment 2 GES 2009-06-16 18:20:27 UTC
Created attachment 194912 [details]
/var/log/portage/app-text:pdftk-1.41-r1:20090616-174042.log
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-06-21 18:28:59 UTC
Do you have a gcj executeable somewhere in your system?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2009-06-29 22:39:44 UTC
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.
Comment 5 GES 2009-06-30 17:47:45 UTC
Created attachment 196187 [details]
app-text:pdftk-1.41-r1:20090630-154542.log

# emerge app-text/pdftk
Comment 6 GES 2009-06-30 17:53:34 UTC
Created attachment 196189 [details]
/var/log/portage/app-text:pdftk-1.41.r1:20090630-154542.log

Sorry!
# emerge app-text/pdftk
Comment 7 GES 2009-06-30 18:00:36 UTC
Created attachment 196191 [details]
emerge --info