Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521984 - sun-jms emerge error
Summary: sun-jms emerge error
Status: RESOLVED FIXED
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: 2014-09-02 15:52 UTC by Andrea (Ben) Benini
Modified: 2015-05-08 07:54 UTC (History)
1 user (show)

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


Attachments
emerge =sun-jms-1.1 --info (output.txt,5.01 KB, text/plain)
2014-09-02 15:52 UTC, Andrea (Ben) Benini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrea (Ben) Benini 2014-09-02 15:52:51 UTC
Created attachment 384124 [details]
emerge =sun-jms-1.1 --info

I'm trying to emerge dev-java/sun-jms but emerge failed for some reasons, I have manually downloaded the jms-1_1-fr-apidocs.zip from suggested download site (http://download.oracle.com/otndocs/jcp/7542-jms-1.1-fr-doc-oth-JSpec/) and copied in /usr/portage/distfiles but emerge fails, here are some details:

>>> Emerging dev-java/sun-jms-1.1-r2
 * jms-1_1-fr-apidocs.zip SHA256 size ;-) ...                                                                                                                                                                 [ ok ]
 * Using: oracle-jdk-bin-1.7
>>> Unpacking source...
>>> Unpacking jms-1_1-fr-apidocs.zip to /var/tmp/portage/dev-java/sun-jms-1.1-r2/work
error:  cannot open zipfile [ /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip ]
        Permission denied
unzip:  cannot find or open /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip, /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip.zip or /var/tmp/portage/dev-java/sun-jms-1.1-r2/distdir/jms-1_1-fr-apidocs.zip.ZIP.
 * ERROR: dev-java/sun-jms-1.1-r2::gentoo failed (unpack phase):
 *   failure unpacking jms-1_1-fr-apidocs.zip
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_unpack
 *        environment, line 3615:  Called unpack 'jms-1_1-fr-apidocs.zip'
 *   phase-helpers.sh, line  348:  Called die
 * The specific snippet of code:
 *   				( set +x ; while true ; do echo n || break ; done ) | \
 *   				unzip -qo "${srcdir}${x}" || die "$myfail"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/sun-jms-1.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/sun-jms-1.1-r2::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=oracle-jdk-bin-1.7  CLASSPATH="" JAVA_HOME="/opt/oracle-jdk-bin-1.7.0.65"
JAVACFLAGS="-source 1.3 -target 1.3" COMPILER=""
and of course, the output of emerge --info =sun-jms-1.1
 * The complete build log is located at '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/sun-jms-1.1-r2/work'
 * S: '/var/tmp/portage/dev-java/sun-jms-1.1-r2/work/jms1.1'

>>> Failed to emerge dev-java/sun-jms-1.1-r2, Log file:

>>>  '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/build.log'

 * Messages for package dev-java/sun-jms-1.1-r2:

 * ERROR: dev-java/sun-jms-1.1-r2::gentoo failed (unpack phase):
 *   failure unpacking jms-1_1-fr-apidocs.zip
 * 
 * Call stack:
 *          ebuild.sh, line   93:  Called src_unpack
 *        environment, line 3615:  Called unpack 'jms-1_1-fr-apidocs.zip'
 *   phase-helpers.sh, line  348:  Called die
 * The specific snippet of code:
 *   				( set +x ; while true ; do echo n || break ; done ) | \
 *   				unzip -qo "${srcdir}${x}" || die "$myfail"
 * 
 * If you need support, post the output of `emerge --info '=dev-java/sun-jms-1.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-java/sun-jms-1.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-java/sun-jms-1.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-java/sun-jms-1.1-r2/work'
 * S: '/var/tmp/portage/dev-java/sun-jms-1.1-r2/work/jms1.1'


Please find other information in attach
Comment 1 Thomas Beierlein gentoo-dev 2015-05-08 07:30:06 UTC
THe problem still exists. Is there anything news?
Comment 2 Andrea (Ben) Benini 2015-05-08 07:54:35 UTC
Solved it, thanks.
It was just a download executed from my unprivileged user, portage was complaining about it because it had wrong user and permission.
Now I'm set, Thanks