Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 232958 - icedtea-9999 looks for rhino jar in wrong directory
Summary: icedtea-9999 looks for rhino jar in wrong directory
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-07-25 19:37 UTC by charles17
Modified: 2008-09-06 12:47 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,6.39 KB, text/plain)
2008-07-25 19:43 UTC, charles17
Details
environment (environment,174.23 KB, text/plain)
2008-07-25 19:46 UTC, charles17
Details
build.log with rhino:1.6 (build.log,3.24 KB, text/plain)
2008-07-26 16:39 UTC, charles17
Details
Emerge --info (emerge_info,3.99 KB, text/plain)
2008-07-26 16:41 UTC, charles17
Details
missing rhino-1.6 (missing_rhino-1.6,2.25 KB, text/plain)
2008-07-28 18:26 UTC, charles17
Details
Fixed use flag (icedtea-rhino.patch,1.86 KB, patch)
2008-08-12 11:35 UTC, Michal Hrusecky
Details | Diff
Sandbox error (sandbox.log,1.00 KB, text/plain)
2008-08-12 12:41 UTC, Michal Hrusecky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2008-07-25 19:37:54 UTC
Emerging icedtea-9999 dies with message: 
"A rhino jar was not found in /usr/share/java as either rhino.jar or js.jar"
But /usr/share/rhino-1.5/lib/js.jar is present.


Reproducible: Always
Comment 1 charles17 2008-07-25 19:43:59 UTC
Created attachment 161362 [details]
build.log
Comment 2 charles17 2008-07-25 19:46:00 UTC
Created attachment 161363 [details]
environment
Comment 3 charles17 2008-07-26 16:39:36 UTC
Created attachment 161425 [details]
build.log with rhino:1.6

I have now emerged rhino-1.6 and symlinked its js.jar manually 
to /usr/share/java/js.jar.

This time emerging icedtea stops with this error message about usage of jar.
Comment 4 charles17 2008-07-26 16:41:56 UTC
Created attachment 161426 [details]
Emerge --info
Comment 5 Andrew John Hughes 2008-07-27 23:18:34 UTC
I've now copied the javascript USE flag stuff across from IcedTea6.  I didn't do this immediately because I can't yet test this.  One wonders why you chose to use IcedTea instead of IcedTea6 but...

At worst you should be able to build with USE="-javascript".

Comment 6 charles17 2008-07-28 18:26:10 UTC
Created attachment 161553 [details]
missing rhino-1.6

Almost. But now it's requesting for rhino:1.6
Comment 7 Michal Hrusecky 2008-08-12 11:35:48 UTC
Created attachment 162739 [details, diff]
Fixed use flag

With this patch, emerge has no longer problem finding rhino. Seems like typo, useflag used by ebuild is javascript, not rhino ;-) But during emerge it dies because some sandbox violation.
Comment 8 Michal Hrusecky 2008-08-12 12:41:57 UTC
Created attachment 162742 [details]
Sandbox error

Seems like sandbox doesn't like idea of creating links from system to workdir. Maybe solution can be copying them instead of linking. With disabled sandbox it dies because of insufficient memory in my case.
Comment 9 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2008-09-06 12:47:45 UTC
Looks fixed to me now, and the sandbox issue is unrelated to the original bug.