The manifest for this ebuild specifies that one should download jdk-8u60-linux-x64.tar.gz. However, Oracle's website supplies jdk-8u60-linux-x64.gz. Reproducible: Always Steps to Reproduce: 1. Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html 2. Accept license terms, click on jdk-8u60-linux-x64.tar.gz but receive jdk-8u60-linux-x64.gz 3. Copy above file to /usr/portage/distfiles, attempt emerge. Actual Results: Fetch failed for 'dev-java/oracle-jdk-bin-1.8.0.60-r2' Download the following files: jdk-8u60-linux-x64.tar.gz Expected Results: Successful installation of Oracle Java 1.8. I've also tried editing the ebuild to specify the correct filename, but got the following: The source directory '/var/tmp/portage/dev-java/oracle-jdk-bin-1.8.0.60-r2/work/jdk' doesn't exist
There must be something wrong with your browser. I've tried it in Opera, Chrome, and Firefox, and it works fine here. Plus a plain .gz just wouldn't make sense. Which browser are you using?
(In reply to James Le Cuirot from comment #1) > There must be something wrong with your browser. I've tried it in Opera, > Chrome, and Firefox, and it works fine here. Plus a plain .gz just wouldn't > make sense. Which browser are you using? I'm using Chrome on OS X 10.10.
Then it's a problem with OS X. Rename the file before putting it in distfiles.
(In reply to James Le Cuirot from comment #3) > Then it's a problem with OS X. Rename the file before putting it in > distfiles. I have also tried renaming the file and rebuilding the digest; portage can't extract the file and installation fails.
(In reply to knirirr@gmail.com from comment #4) > I have also tried renaming the file and rebuilding the digest; portage can't > extract the file and installation fails. Why would you need to rebuild the digest? I have redownloaded the file from the site and the digest is still correct. Their own sha256sum matches ours too [1]. Your download must be corrupted. Or are you suggesting that Oracle is offering you a different file for some bizarre reason? For what it's worth, please attach a build log. [1] https://www.oracle.com/webfolder/s/digest/8u60checksum.html
Created attachment 411876 [details] Build log Here's the build log after renaming the .gz file to tar.gz, as requested.
(In reply to James Le Cuirot from comment #5) > Why would you need to rebuild the digest? I have redownloaded the file from > the site and the digest is still correct. Their own sha256sum matches ours > too [1]. Your download must be corrupted. Or are you suggesting that Oracle > is offering you a different file for some bizarre reason? For what it's > worth, please attach a build log. > > [1] https://www.oracle.com/webfolder/s/digest/8u60checksum.html All I am suggesting is that repeated attempts to download this file produced one which didn't match the one specified in the ebuild. Anyway, it turns out that you were correct; I was able to obtain another machine over the weekend and download the file successfully with that, so the problem is not with the ebuild.