View previous topic :: View next topic |
Author |
Message |
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Oct 17, 2013 7:41 pm Post subject: oracle jre & jdk refuse to unpack [solved] |
|
|
oddly enough the tarballs unpack just fine with tar -xf jxx-7u45-linux-x64.tar.gz
helper script gzip -d only gunzips the file and leaves it tared
Code: |
>>> Emerging (1 of 1) 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 /var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work
gzip: /var/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 2727: Called __eapi0_src_unpack
* phase-helpers.sh, line 585: Called unpack 'jre-7u45-linux-x64.tar.gz'
* phase-helpers.sh, line 342: Called __unpack_tar 'gzip -d'
* phase-helpers.sh, line 315: 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 '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/environment'.
* Working directory: '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work'
* S: '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work/jre1.7.0_45'
>>> Failed to emerge dev-java/oracle-jre-bin-1.7.0.45, Log file:
>>> '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/build.log'
* Messages for package dev-java/oracle-jre-bin-1.7.0.45:
* 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 2727: Called __eapi0_src_unpack
* phase-helpers.sh, line 585: Called unpack 'jre-7u45-linux-x64.tar.gz'
* phase-helpers.sh, line 342: Called __unpack_tar 'gzip -d'
* phase-helpers.sh, line 315: 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 '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/temp/environment'.
* Working directory: '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work'
* S: '/var/tmp/portage/dev-java/oracle-jre-bin-1.7.0.45/work/jre1.7.0_45' |
Last edited by 666threesixes666 on Thu Oct 17, 2013 10:50 pm; edited 1 time in total |
|
Back to top |
|
|
eyoung100 Veteran
Joined: 23 Jan 2004 Posts: 1428
|
Posted: Thu Oct 17, 2013 9:15 pm Post subject: |
|
|
who owns /usr/portage/distfiles and var/tmp/portage
try:
Code: | chown -R portage:portage /usr/portage/distfiles/jre-7u45-linux-x64.tar.gz
chown -R portage:portage /var/tmp/portage |
_________________ The Birth and Growth of Science is the Death and Atrophy of Art -- Unknown
Registerd Linux User #363735
Adopt a Post | Strip Comments| Emerge Wrapper |
|
Back to top |
|
|
666threesixes666 Veteran
Joined: 31 May 2011 Posts: 1248 Location: 42.68n 85.41w
|
Posted: Thu Oct 17, 2013 10:47 pm Post subject: |
|
|
good call, i wonder why i could sudo copy the file to distfiles before as root with out a problem.... chmod 007 like james bond because im feeling dumb and lazy and the files getting purged in a second anyways.
i cant believe permissions completely slipped my mind....
i wonder if there is a wiki page for java yet.... i dont think i made one and it does have several nuances to it.
eselect java-nsplugin set 64bit 1
yup, and it looks pretty extensive and well done....
https://wiki.gentoo.org/wiki/Java
now i wonder if theres a note about portage portage user copying the file over to $DISTFILES or what ever it is universally on the system. /usr/portage/distfiles on my new laptop.
not a word of it in the documentation, ill slip some commands into the wiki page some other time so this does not come up on the forums again. or is as easy to answer as a simple link.... |
|
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
|
|