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
Created attachment 161362 [details] build.log
Created attachment 161363 [details] environment
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.
Created attachment 161426 [details] Emerge --info
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".
Created attachment 161553 [details] missing rhino-1.6 Almost. But now it's requesting for rhino:1.6
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.
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.
Looks fixed to me now, and the sandbox issue is unrelated to the original bug.