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

Bug 147617

Summary: sys-libs/db 4.3 and 4.4 fail to build Java example jar
Product: Gentoo Linux Reporter: Hanno Zysik (geki) <h.mth>
Component: New packagesAssignee: Paul de Vrieze (RETIRED) <pauldv>
Status: VERIFIED INVALID    
Severity: normal CC: java
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: do not compile Java examples

Description Hanno Zysik (geki) 2006-09-14 14:53:56 UTC
The log: http://pastebin.ca/169374

AFAIS '-classpath db.jar' should be '-classpath ../db.jar'. Though, still, AFAIK Java herd does not want examples to be compiled. Instead ship them as source code.

I will attach a patch not to compile the examples.
Comment 1 Hanno Zysik (geki) 2006-09-14 14:54:34 UTC
Created attachment 97006 [details, diff]
do not compile Java examples
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-01 08:18:46 UTC
It works for me at least on the non-masked 4.3 version.
Comment 3 Paul de Vrieze (RETIRED) gentoo-dev 2006-10-01 08:19:57 UTC
Could you past your emerge info. Could it be that this is enabled by the doc useflag?
Comment 4 Hanno Zysik (geki) 2006-10-01 08:23:10 UTC
sys-libs/db-4.4.20_p2  USE="gcj java -bootstrap -doc -nocxx -tcl -test"

No. As you can see from the patch they build always.
Comment 5 Hanno Zysik (geki) 2007-09-20 17:42:46 UTC
Well, I do not need BDB Java anymore and noone else seems to have this. Looks like a gcj issue. closing...