Hey dev-java/oracle-jre-bin-1.8.0.60::gentoo is fetch-restricted. The downloaded jre-8u60-linux-x64.tar.gz seems to unpack just fine when manually using "tar", but when I move it to /usr/portage/distfiles emerge fails with: >>> Emerging (1 of 2) dev-java/oracle-jre-bin-1.8.0.60::gentoo * jre-8u60-linux-x64.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking jre-8u60-linux-x64.tar.gz to /var/tmp/portage/dev-java/oracle-jre-bin-1.8.0.60/work gzip: /var/tmp/portage/dev-java/oracle-jre-bin-1.8.0.60/distdir/jre-8u60-linux-x64.tar.gz: Permission denied tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors Reproducible: Always
MD5sum: e6e44f44b67c1a412f06694c9c30b77f /usr/portage/distfiles/jre-8u60-linux-x64.tar.gz
> gzip: /var/tmp/portage/dev-java/oracle-jre-bin-1.8.0.60/distdir/jre-8u60-linux-x64.tar.gz: Permission denied chmod 664 /var/tmp/portage/dev-java/oracle-jre-bin-1.8.0.60/distdir/jre-8u60-linux-x64.tar.gz
I don't remember this being necessary in the past. Portage should mention it.
(In reply to DrSlony from comment #3) > I don't remember this being necessary in the past. Portage should mention it. It depends on the program you use to download the file. Chrome always sets the mode on downloads to 0600, which means the portage user does not have read access to it.
Thank you for the explanation, I did not know that.