The ebuild told me to fetch jaf-1_0_2-upd.zip from the above URL. But the website only have jaf-1_0_2-upd2.zip now. (???) Note that it's upd2 instead of upd. I'm not sure what they changed but the file size is different... Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 59731 [details, diff] jaf.patch
Should that patch work? I get this error message when I applied the patch: !!! Digest verification Failed: !!! /usr/portage/dev-java/sun-jaf-bin/sun-jaf-bin-1.0.2.ebuild !!! Reason: Filesize does not match recorded size >>> Please ensure you have sync'd properly. Please try 'emerge sync' and >>> optionally examine the file(s) for corruption. A sync will fix most cases.
Since sun tends to bork packages, the distfiles and we're not allowed to mirror their distfiles because of a crappy license, we try to migrate to open source alternatives where this is possible. I've added dev-java/gnu-jaf to the tree which is a gpl'ed replacement of sun-jaf-bin. However, it need's testing on arches and a stable keyword on the following arches: x86 ppc sparc amd64 ppc64 I've tested it on amd64, ppc and x86 on my own. I can't do anything about sparc and ppc64 and would like to ask you to do the same. After you've done this I can replace all references to dev-java/sun-jaf-bin with a reference to dev-java/gnu-jaf. sun-jaf-bin will be dropped completly when that is done. I'm going to attach tests for you, they're simply jaf demos from sun's jaf.
Created attachment 60295 [details] sun-jaf-demos.zip the zipfile contains examples from sun. emerge gnu-jaf, unpack and compile: cd demo for i in *; do javac -classpath $(java-config -p gnu-jaf-1):. $i; done then you can test single classes using: java -classpath $(java-config -p gnu-jaf-1):. <classname> (some of the classes are supporting classes without a main method)
sparc and ppc64, please test and mark stable. than we can replace sun-jaf-bin, thanks
*** Bug 94839 has been marked as a duplicate of this bug. ***
Tested and added ~sparc keyword. Will stablize after the usual time window.
we are currently haveing problems with our java environment on ppc64 :-/
Stable on SPARC.
ppc64 has a working java environment again. :-) So I finaly added ~ppc64
finaly it's done stable on ppc64