Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120440 - gnu-classpath-0-20 fails
Summary: gnu-classpath-0-20 fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 09:24 UTC by Patrizio Bassi
Modified: 2006-04-06 05:59 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 Patrizio Bassi 2006-01-26 09:24:20 UTC
jdk 1.5.0.0.6. seems jikes error, but that's not jikes useflag in the ebuild!

make[1]: Entering directory `/var/tmp/portage/gnu-classpath-0.20/work/classpath-0.20/lib'
mkdir -p ../java/util
../scripts/generate-locale-list.sh > ../java/util/LocaleData.java
true
top_builddir=.. top_srcdir=.. /bin/sh ./gen-classlist.sh standard
Adding java source files from srcdir '..'.
Adding java source files from VM directory ../vm/reference
/usr/bin/jikes +Pno-switchcheck +Pno-shadow +F -encoding UTF-8 -bootclasspath '' -extdirs '' -sourcepath '' --classpath ../vm/reference:..:../external/w3c_dom:../external/sax:.: -d . @classes

Found 2 system errors and issued 5 warnings:

*** Semantic Warning: The file "--classpath" is not a valid directory.


*** Semantic Warning: I/O warning: "No such file or directory" while trying to open -extdirs.


*** Semantic Warning: I/O warning: "No such file or directory" while trying to open /usr/share/jmx/lib/jmxri.jar.


*** Semantic Warning: I/O warning: "No such file or directory" while trying to open /usr/share/jmx/lib/jmxtools.jar.


*** Semantic Warning: I/O warning: "No such file or directory" while trying to open /opt/sun-jdk--1.5.0.06/lib/j2ee.jar.


*** Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in:
                -extdirs
                /usr/share/jmx/lib/jmxri.jar
                /usr/share/jmx/lib/jmxtools.jar
                /opt/sun-jdk--1.5.0.06/lib/j2ee.jar
                .
                /usr/share/jdbc-mysql/lib/jdbc-mysql.jar



*** Semantic Error: The input file "../vm/reference:..:../external/w3c_dom:../external/sax:.:" does not have the ".java" extension.
make[1]: *** [compile-classes] Error 1
make[1]: Leaving directory `/var/tmp/portage/gnu-classpath-0.20/work/classpath-0.20/lib'
make: *** [all-recursive] Error 1

!!! ERROR: dev-java/gnu-classpath-0.20 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2006-01-26 12:25:50 UTC
I believe the ./configure script checks for jikes and gcj before it checks for javac, so if one of those is on the PATH, it'll use that. Will have to double check on that, though.

Aside from that, I really, really don't recommend using Java 1.5 for a system VM at this time. We have package.mask'd it for a reason. Please see http://www.gentoo.org/proj/en/java/tiger-faq.xml for details.
Comment 2 Patrizio Bassi 2006-01-27 02:15:31 UTC
i know the 2 problems behind tiger: compatibility and compilation.

compatibility...i've whole sistem with 1.5...so i don't care.
compilation...lots of packages are compiling, i've manually fixed some of them... not a problem..

here that's a different problem :)

0.19 compiled without jikes.
Comment 3 Patrizio Bassi 2006-04-06 05:59:44 UTC
latest release 0.90 fixed this.

i close this bug so.