Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to emerge dev-java/oracle-jre-bin-1.7.0.45
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Xywa
l33t
l33t


Joined: 23 Jul 2005
Posts: 812
Location: /mnt/Gentoo/

PostPosted: Thu Oct 17, 2013 7:31 am    Post subject: Failed to emerge dev-java/oracle-jre-bin-1.7.0.45 Reply with quote

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
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 240
Location: Italy

PostPosted: Thu Oct 17, 2013 9:23 am    Post subject: Re: Failed to emerge dev-java/oracle-jre-bin-1.7.0.45 Reply with quote

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
View user's profile Send private message
wrc1944
Advocate
Advocate


Joined: 15 Aug 2002
Posts: 2734
Location: Gainesville, Florida

PostPosted: Thu Oct 17, 2013 12:48 pm    Post subject: Reply with quote

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- Gigabyte GIGABYTE GA-990FXA-UD3 AM3+ rev.-4.0
Amd FX 8320, 3.5 GHz, 16GB GSkill DDR3 1866mhz
Samsung SATA 1000GB, Radeon HD 6570 2GB DDR3
Gentoo ~x86, ~amd64, glibc-2.19, gcc-4.8.2, kernel 3.14.0-gentoo (USE=experimental)
Back to top
View user's profile Send private message
fturco
Apprentice
Apprentice


Joined: 08 Dec 2010
Posts: 240
Location: Italy

PostPosted: Thu Oct 17, 2013 3:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
TomWij
Developer
Developer


Joined: 04 Jul 2012
Posts: 1352

PostPosted: Thu Oct 17, 2013 7:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
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