Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 183116

Summary: dev-java/cacao-0.98 version bump
Product: Gentoo Linux Reporter: Andrew John Hughes <gnu_andrew>
Component: New packagesAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: enhancement CC: betelgeuse, nebojsa
Priority: High Keywords: EBUILD
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Cacao 0.98 ebuild

Description Andrew John Hughes 2007-06-25 10:04:03 UTC
Tested on ppc64.  Ebuild attached.
Comment 1 Andrew John Hughes 2007-06-25 10:04:37 UTC
Created attachment 123026 [details]
Cacao 0.98 ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-06-25 10:26:05 UTC
*** Bug 162277 has been marked as a duplicate of this bug. ***
Comment 3 nebojsa 2007-10-28 15:20:04 UTC
Well, it almost works on x86. You need one
unset JAVAC
at the beginnig. Cacao configure does not add -bootclasspath to the javac if it is not autodetected.
And
dosym /opt/${PN}/bin/cacao /usr/bin/cacao
shoud be 
dosym /opt/${P}/bin/cacao /usr/bin/cacao

And it sort of colides with jamvm. You could actually have both on the same machine, if you remove 
/usr/lib/libjvm.la
/usr/lib/libjvm.so
Comment 4 Andrew John Hughes 2007-10-29 11:03:14 UTC
> Well, it almost works on x86. You need one unset JAVAC
> at the beginning. Cacao configure does not add -bootclasspath to the javac if > it is not autodetected.

Okay, I mostly adapted the previous build so this could be a problem there too.  I didn't run across this problem with JAVAC, it should be able to pick the bootclasspath.

> And
> dosym /opt/${PN}/bin/cacao /usr/bin/cacao
> should be 
> dosym /opt/${P}/bin/cacao /usr/bin/cacao

Likewise, this image must be present in the previous build.

> And it sort of colides with jamvm. You could actually have both on the same
> machine, if you remove 
> /usr/lib/libjvm.la
> /usr/lib/libjvm.so

This is a problem with them both installing in the same location I guess, I've run across it doing manual builds.
Comment 5 nebojsa 2007-10-29 11:58:22 UTC
(In reply to comment #4)
Behaviour with JAVAC is actually correct - if you opt to specify compiler, than this compiler maybe has it's own parameters for configuring bootclasspath...
If you use JAVAC="my_javac_compliler -bootclasspath=/opt/gnu-classpath/.." it works.
Comment 6 Petteri Räty (RETIRED) gentoo-dev 2009-07-16 20:51:38 UTC
Bumped to 0.99.4. from java overlay.