Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92656 - dev-java/jessie-1.0.0 fails to compile: "No such file or directory" while trying to open /usr/share/classpath/glibj.zipclasses
Summary: dev-java/jessie-1.0.0 fails to compile: "No such file or directory" while tr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-14 18:03 UTC by Josh Nichols (RETIRED)
Modified: 2006-01-06 10:16 UTC (History)
0 users

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


Attachments
jessie-1.0.0.ebuild (jessie-1.0.0.ebuild,1.10 KB, text/plain)
2005-05-14 18:32 UTC, Josh Nichols (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Josh Nichols (RETIRED) gentoo-dev 2005-05-14 18:03:42 UTC
When attempting to emerge, I get the following error:

CLASSPATH=.:/usr/share/gnu-crypto/lib/javax-security.jar:/usr/share/gnu-crypto/lib/gnu-crypto.jar:/usr/share/gnu-crypto/lib/javax-crypto.jar:/usr/share/classpath/glibj.zipclasses /usr/bin/jikes  -d classes ./javax/security/cert/CertificateException.java

Found 1 system error and issued 1 warning:

*** Semantic Warning: I/O warning: "No such file or directory" while trying to open /usr/share/classpath/glibj.zipclasses.


*** Semantic Error: You need to modify your classpath, sourcepath, bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang" in: 
                .
                /usr/share/gnu-crypto/lib/javax-security.jar
                /usr/share/gnu-crypto/lib/gnu-crypto.jar
                /usr/share/gnu-crypto/lib/javax-crypto.jar
                /usr/share/classpath/glibj.zipclasses
                .

make[1]: *** [classes/javax/security/cert/CertificateException.class] Error 1
make[1]: Leaving directory `/tmp/portage/jessie-1.0.0/work/jessie-1.0.0'
make: *** [all-recursive] Error 1


Which is somewhat expected, because I don't have a file /usr/share/classpath/glibj.zipclasses (or just glibj.zip for that matter).
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-05-14 18:32:55 UTC
Created attachment 58922 [details]
jessie-1.0.0.ebuild

This fixes the problem. I simply removed the reference to glibj.zip.
* I changed it so that CLASSPATH is no longer exported, but instead a local
variable, MY_CLASSPATH, is used, as per #50306
* I also changed JAVAC to use MY_JAVAC.
* The configure script doesn't like jikes. I get the error:

checking if /usr/bin/jikes works... configure: error: The Java compiler
/usr/bin/jikes failed (see config.log, check the CLASSPATH?)

Checking the config.log reveals:
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Jikes could not find package "java.lang"
in: 
		.
		/usr/share/gnu-crypto/lib/javax-security.jar
		/usr/share/gnu-crypto/lib/gnu-crypto.jar
		/usr/share/gnu-crypto/lib/javax-crypto.jar
		.
Comment 2 Petteri Räty (RETIRED) gentoo-dev 2006-01-06 10:16:30 UTC
Merged changes from experimental. This should be fixed. Thanks for reporting. ;D