When attempting to emerge sun-jdk version 1.4.2.08 under IA64, the ebuild wants the i586 verion of the sun install binary (j2sdk-1_4_2_08-linux-i586.bin), rather than the IA64 binary (j2sdk-1_4_2_08-linux-ia64.bin) Reproducible: Always Steps to Reproduce: 1. added ">=dev-java/sun-jdk-1.4.2.08 -*" to /etc/portage/package.keywords 2. copy j2sdk-1_4_2_08-linux-ia64.bin into /usr/portage/distfiles 3. emerge sun-jdk Actual Results: emerge fails with the following error: * Please download j2sdk-1_4_2_08-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_08-oth-JPR&SiteId=JSC&TransactionId=noreg * (SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select download Linux Self-extracting. * and move it to /usr/portage/distfiles Expected Results: ebuild should have looked for the file j2sdk-1_4_2_08-linux-ia64.bin in /usr/portage/distfiles and performed installation. echidna distfiles # emerge sun-jdk Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/sun-jdk-1.4.2.08 to / !!! j2sdk-1_4_2_08-linux-i586.bin not found in /usr/portage/distfiles !!! dev-java/sun-jdk-1.4.2.08 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Please download j2sdk-1_4_2_08-linux-i586.bin from: * http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_08-oth-JPR&SiteId=JSC&TransactionId=noreg * (SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select download Linux Self-extracting. * and move it to /usr/portage/distfiles
Created attachment 64289 [details] Fixed ebuild This ebuild should fix the problem. Please try it out.
The following is not outputed: echidna sun-jdk # ebuild sun-jdk-1.4.2.08-r1.ebuild digest !!! jce_policy-1_4_2.zip not found in /usr/portage/distfiles !!! dev-java/sun-jdk-1.4.2.08-r1 has fetch restriction turned on. !!! This probably means that this ebuild's files must be downloaded !!! manually. See the comments in the ebuild for more information. * Please download j2sdk-1_4_2_08-linux-ia64.bin from: * http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=22&PartDetailId=j2sdk-1.4.2_08-oth-JPR&SiteId=JSC&TransactionId=noreg * (SDK 32-bit/64-bit for Windows/Linux/Solaris SPARC 32-bit for Solaris x86, then select download Linux Self-extracting. * and move it to /usr/portage/distfiles
David, to create the digest all the required files must be in the distfiles directory. If you read the output carefully you see what to do. Download the JCE file. Then it should work. Ortwin
Created attachment 64447 [details, diff] patch for sun-jdk-1.4.2.08-r1
Patch fixed the "ebuild digest". Thank you. Build now fails as below: echidna sun-jdk # emerge sun-jdk Calculating dependencies ...done! >>> emerge (1 of 1) dev-java/sun-jdk-1.4.2.08-r1 to / >>> md5 files ;-) sun-jdk-1.2.2.017.ebuild >>> md5 files ;-) sun-jdk-1.3.1.13.ebuild >>> md5 files ;-) sun-jdk-1.4.2.08.ebuild >>> md5 files ;-) sun-jdk-1.5.0.04.ebuild >>> md5 files ;-) sun-jdk-1.4.2.08-r1.ebuild >>> md5 files ;-) files/digest-sun-jdk-1.2.2.017 >>> md5 files ;-) files/digest-sun-jdk-1.3.1.13 >>> md5 files ;-) files/digest-sun-jdk-1.4.2.08 >>> md5 files ;-) files/sun-jdk-1.2.2.017 >>> md5 files ;-) files/sun-jdk-1.3.1.13 >>> md5 files ;-) files/sun-jdk-1.4.2.08 >>> md5 files ;-) files/digest-sun-jdk-1.5.0.04 >>> md5 files ;-) files/sun-jdk-1.5.0.04 >>> md5 files ;-) files/digest-sun-jdk-1.4.2.08-r1 >>> md5 files ;-) files/javaws-waitid.c >>> md5 src_uri ;-) j2sdk-1_4_2_08-linux-ia64.bin >>> Unpacking source... tail: +: invalid number of lines /usr/portage/dev-java/sun-jdk/sun-jdk-1.4.2.08-r1.ebuild: line 101: cd: /var/tmp/portage/sun-jdk-1.4.2.08-r1/work/j2sdk1.4.2_08: No such file or directory sed: can't read jre/javaws/javaws: No such file or directory !!! ERROR: dev-java/sun-jdk-1.4.2.08-r1 failed. !!! Function src_unpack, Line 102, Exitcode 2 !!! javaws sed failed !!! If you need support, post the topmost build error, NOT this status message.
1. added ">=dev-java/sun-jdk-1.4.2.08 -*" to /etc/portage/package.keywords