View previous topic :: View next topic |
Author |
Message |
Xywa Veteran
Joined: 23 Jul 2005 Posts: 1631 Location: /mnt/Gentoo/Europe
|
Posted: Thu Oct 17, 2013 7:31 am Post subject: Failed to emerge dev-java/oracle-jre-bin-1.7.0.45 |
|
|
Hi
I did download a file from Oracle website into /usr/etc/portage/distfiles as usually, but I have an error this time:
Code: | >>> Emerging (1 of 2) dev-java/oracle-jre-bin-1.7.0.45
* jre-7u45-linux-x64.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking jre-7u45-linux-x64.tar.gz to /mnt/video/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work
gzip: /mnt/video/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/distdir/jre-7u45-linux-x64.tar.gz: Permission denied
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
* ERROR: dev-java/oracle-jre-bin-1.7.0.45::gentoo failed (unpack phase):
* failure unpacking jre-7u45-linux-x64.tar.gz
*
* Call stack:
* ebuild.sh, line 93: Called src_unpack
* environment, line 2754: Called __eapi0_src_unpack
* phase-helpers.sh, line 641: Called unpack 'jre-7u45-linux-x64.tar.gz'
* phase-helpers.sh, line 355: Called __unpack_tar 'gzip -d'
* phase-helpers.sh, line 297: Called __assert_sigpipe_ok 'failure unpacking jre-7u45-linux-x64.tar.gz'
* isolated-functions.sh, line 39: Called die
* The specific snippet of code:
* [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
*
* If you need support, post the output of `emerge --info '=dev-java/oracle-jre-bin-1.7.0.45::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-java/oracle-jre-bin-1.7.0.45::gentoo'`.
* The complete build log is located at '/mnt/video/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/build.log'.
* The ebuild environment file is located at '/mnt/video/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/environment'.
* Working directory: '/mnt/video/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work'
* S: '/mnt/video/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work/jre1.7.0_45'
|
|
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Thu Oct 17, 2013 9:23 am Post subject: Re: Failed to emerge dev-java/oracle-jre-bin-1.7.0.45 |
|
|
You get a "Permission denied" error, so you should make sure that the file you downloaded is owned by portage:portage.
EDIT: distfiles should be owned by portage:portage, not root
Last edited by fturco on Thu Oct 17, 2013 3:35 pm; edited 1 time in total |
|
Back to top |
|
|
wrc1944 Advocate
Joined: 15 Aug 2002 Posts: 3435 Location: Gainesville, Florida
|
Posted: Thu Oct 17, 2013 12:48 pm Post subject: |
|
|
I just had a similar problem. The ebuild is oracle-jre-bin-1.7.0.40, but the file I downloaded is oracle-jre-bin-1.7.0.45, so I got this:
Code: | amd64 wrc # emerge oracle-jre-bin
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-java/oracle-jre-bin-1.7.0.40
!!! dev-java/oracle-jre-bin-1.7.0.40 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.
* Fetch failed for 'dev-java/oracle-jre-bin-1.7.0.40', Log file:
* '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.40/temp/build.log'
* Please download 'jre-7u40-linux-x64.tar.gz' from:
* 'http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1880261.html'
* and move it to '/usr/portage/distfiles'
>>> Failed to emerge dev-java/oracle-jre-bin-1.7.0.40, Log file:
>>> '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.40/temp/build.log'
* Messages for package dev-java/oracle-jre-bin-1.7.0.40:
* Fetch failed for 'dev-java/oracle-jre-bin-1.7.0.40', Log file:
* '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.40/temp/build.log'
amd64 wrc #
|
Can I just rename the ebuild , or is there more editing involved, or can I somehow get the older oracle-jre-bin-1.7.0.40 file somewhere? Or, am I missing something else. The Gentoo icedtea-bin java apparently no longer works on x86 or amd64 Gentoo installs, and apparently I'm unable to view youtube videos on any of my Gentoo installs, even though I have flash installed and enabled.
Something about javascript and/or 3rd party content being disabled, but there are no menu items in firefox prefs, or about:config to enable them. Gstreamer is installed, and enabled.
Everything was fine until recent updates of firefox, or possibly some other update (fontconfig???- which is a dep) Also have no youtube video or sound with Chromium either. _________________ Main box- AsRock x370 Gaming K4
Ryzen 7 3700x, 3.6GHz, 16GB GSkill Flare DDR4 3200mhz
Samsung SATA 1000GB, Radeon HD R7 350 2GB DDR5
OpenRC Gentoo ~amd64 plasma, glibc-2.36-r7, gcc-13.2.1_p20230304
kernel-6.8.4 USE=experimental python3_11 |
|
Back to top |
|
|
fturco Veteran
Joined: 08 Dec 2010 Posts: 1181 Location: Italy
|
Posted: Thu Oct 17, 2013 3:38 pm Post subject: |
|
|
On my system 1.7.0.40 is in the stable tree while 1.7.0.45 is in the testing tree (I synchronized today). |
|
Back to top |
|
|
TomWij Retired Dev
Joined: 04 Jul 2012 Posts: 1553
|
Posted: Thu Oct 17, 2013 7:08 pm Post subject: |
|
|
Stabilization has been requested right after the version bump.
https://bugs.gentoo.org/show_bug.cgi?id=488210#c1
Until that point, which I guess will be soon, there's a small gap where the files cannot be fetched for "the current stable version"; that's because Oracle seems to replace the page so it now provides 7u45 instead of 7u40, looking in its archive the latest seems to be 7u25 there so I don't know if 7u40 is still available for download. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|