Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 244767 - [java-overlay] dev-java/eclipse-ecj-3.3.0-r6 fails to build
Summary: [java-overlay] dev-java/eclipse-ecj-3.3.0-r6 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-28 13:51 UTC by Philipp Riegger
Modified: 2008-10-30 17:59 UTC (History)
1 user (show)

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


Attachments
emerge --info (emerge_--info,4.88 KB, text/plain)
2008-10-29 09:43 UTC, Martin Walch
Details
/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment (environment,149.44 KB, text/plain)
2008-10-29 09:43 UTC, Martin Walch
Details
/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/build.log (build.log,1.64 KB, text/plain)
2008-10-29 09:44 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Riegger 2008-10-28 13:51:27 UTC
My java-path seems to be wrong.

>>> Emerging (1 of 1) dev-java/eclipse-ecj-3.3.0-r6
 * ecjsrc.zip RMD160 SHA1 SHA256 size ;-) ...                            [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
!!! ERROR: The java executable was not found in the Java path
!!! ERROR: The javac executable was not found in the Java path
 * Using: icedtea6
>>> Unpacking source...
>>> Unpacking ecjsrc.zip to /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/work
 * Applying eclipse-ecj-gcj-3.3.0.patch ...                               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/work ...
!!! ERROR: The javac executable was not found in the Java path
!!! ERROR: The java executable was not found in the Java path
!!! ERROR: The jar executable was not found in the Java path
 * bootstrapping ecj with  ...
/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment: line 3876: -source: command not found
 * 
 * ERROR: dev-java/eclipse-ecj-3.3.0-r6 failed.
 * Call stack:
 * ebuild.sh, line   49:  Called src_compile
 * environment, line 3876:  Called die
 * The specific snippet of code:
 * ${javac} ${javac_opts} $(find org/ -name '*.java') || die;
 * The die message:
 * (no error message)
 * 
 * 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/dev-java:eclipse-ecj-3.3.0-r6:20081028-134630.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment'.
 * This ebuild is from an overlay: '/usr/local/layman/java-overlay/'
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6  CLASSPATH="" JAVA_HOME="/usr/lib/icedtea6-1.3"
JAVACFLAGS="-source 1.6 -target 1.6" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge dev-java/eclipse-ecj-3.3.0-r6, Log file:

>>>  '/var/log/portage/dev-java:eclipse-ecj-3.3.0-r6:20081028-134630.log'



But:

chris ~ # java-config -S icedtea6
Now using icedtea6 as your generation-2 system JVM
chris ~ # java-config -L         
The following VMs are available for generation-2:
*)      OpenJDK6/IcedTea6 1.3 [icedtea6]
chris ~ #
Comment 1 Martin Walch 2008-10-29 09:43:09 UTC
very similar problem here:

>>> Compiling source in /var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/work ...                                                                                                    
 * bootstrapping ecj with LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/32 /usr/x86_64-pc-linux-gnu/gcc-bin/4.3.2/gcj -C ...       
/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment: line 3890: LD_LIBRARY_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2:/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/32: No such file or directory



GENTOO_VM=  CLASSPATH="." JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
Comment 2 Martin Walch 2008-10-29 09:43:29 UTC
Created attachment 170194 [details]
emerge --info
Comment 3 Martin Walch 2008-10-29 09:43:58 UTC
Created attachment 170195 [details]
/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/environment
Comment 4 Martin Walch 2008-10-29 09:44:18 UTC
Created attachment 170196 [details]
/var/tmp/portage/dev-java/eclipse-ecj-3.3.0-r6/temp/build.log
Comment 5 Andrew John Hughes 2008-10-30 17:35:13 UTC
Fixed in r7. Please close.