Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488428 - =app-emulation/emul-linux-x86-java-1.6.0.45 - chmod a+rx /usr/portage/distfiles/jre-*.bin
Summary: =app-emulation/emul-linux-x86-java-1.6.0.45 - chmod a+rx /usr/portage/distfil...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 22:27 UTC by Martin Mokrejš
Modified: 2015-05-26 22:25 UTC (History)
0 users

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 Martin Mokrejš 2013-10-17 22:27:46 UTC
Although below is an example with emul-linux-x86-java I think I saw the same with both and IBM and Oracle java's already. Emerge just fails unless the downloaded *.bin files are executable. That is because ebuild calls

sh /usr/portage/distfiles/jre-*.bin to unpack the sources.

Funny.


>>> Emerging (1 of 1) app-emulation/emul-linux-x86-java-1.6.0.45
 * jre-6u45-linux-i586.bin SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                           [ ok ]
>>> Unpacking source...
sh: /mnt/1TB/var/tmp/portage/app-emulation/emul-linux-x86-java-1.6.0.45/distdir/jre-6u45-linux-i586.bin: Permission denied
 * ERROR: app-emulation/emul-linux-x86-java-1.6.0.45::gentoo failed (unpack phase):
 *   Failed to unpack
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_unpack
 *   environment, line 2687:  Called die
 * The specific snippet of code:
 *       sh "${DISTDIR}"/${A} -noregister || die "Failed to unpack"
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/emul-linux-x86-java-1.6.0.45::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/emul-linux-x86-java-1.6.0.45::gentoo'`.
 * The complete build log is located at '/mnt/1TB/var/tmp/portage/app-emulation/emul-linux-x86-java-1.6.0.45/temp/build.log'.
 * The ebuild environment file is located at '/mnt/1TB/var/tmp/portage/app-emulation/emul-linux-x86-java-1.6.0.45/temp/environment'.
 * Working directory: '/mnt/1TB/var/tmp/portage/app-emulation/emul-linux-x86-java-1.6.0.45/work'
 * S: '/mnt/1TB/var/tmp/portage/app-emulation/emul-linux-x86-java-1.6.0.45/work/jre1.6.0_45'
Comment 1 Pacho Ramos gentoo-dev 2013-10-18 06:28:50 UTC
Well, the java emul set is done and maintained by java team entirely :/
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-18 08:11:59 UTC
(In reply to Pacho Ramos from comment #1)
> Well, the java emul set is done and maintained by java team entirely :/

No idea about that; but if it is so, please update the metadata to reflect that.
Comment 3 Pacho Ramos gentoo-dev 2013-10-18 15:42:53 UTC
+  18 Oct 2013; Pacho Ramos <pacho@gentoo.org> metadata.xml:
+  This case is special: java emul package is entirely handled by java team
+

Done :)
Comment 4 James Le Cuirot gentoo-dev 2015-05-26 22:25:35 UTC
emul-linux-x86-java has been removed from the tree.