Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559712 - dev-java/oracle-jre-bin-1.8.0.60 downloaded tar archive somehow invalid
Summary: dev-java/oracle-jre-bin-1.8.0.60 downloaded tar archive somehow invalid
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-05 20:26 UTC by DrSlony
Modified: 2015-09-05 21:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2015-09-05 20:26:00 UTC
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
Comment 1 DrSlony 2015-09-05 20:28:13 UTC
MD5sum:
e6e44f44b67c1a412f06694c9c30b77f  /usr/portage/distfiles/jre-8u60-linux-x64.tar.gz
Comment 2 Mike Gilbert gentoo-dev 2015-09-05 20:30:51 UTC
> 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
Comment 3 DrSlony 2015-09-05 20:33:21 UTC
I don't remember this being necessary in the past. Portage should mention it.
Comment 4 Mike Gilbert gentoo-dev 2015-09-05 21:21:34 UTC
(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.
Comment 5 DrSlony 2015-09-05 21:23:05 UTC
Thank you for the explanation, I did not know that.