Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77134 - Can't emerge dev-java/java-sdk-docs-1.4.2, zip error
Summary: Can't emerge dev-java/java-sdk-docs-1.4.2, zip error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major (vote)
Assignee: Java team
Depends on:
Reported: 2005-01-08 07:15 UTC by Justin Findlay
Modified: 2005-01-11 02:17 UTC (History)
0 users

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

make.conf (make.conf,15.08 KB, text/plain)
2005-01-08 07:16 UTC, Justin Findlay

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Findlay 2005-01-08 07:15:56 UTC
# emerge -vuD world
>>> md5 src_uri ;-)
>>> Unpacking source...
>>> Unpacking to /var/tmp/portage/java-sdk-docs-1.4.2/work
error:  cannot open zipfile [ /usr/portage/distfiles/ ]
unzip:  cannot find /usr/portage/distfiles/, /usr/portage/distfiles/ or /usr/portage/distfiles/
# file /usr/portage/distfiles/
/usr/portage/distfiles/ Zip archive data, at least v1.0 to extract
Comment 1 Justin Findlay 2005-01-08 07:16:56 UTC
Created attachment 47940 [details]
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-08 23:16:50 UTC
no way to reproduce this error, i've tried it on different independent systems and even on different architectures. no way to reproduce it. marking it as worksforme. 
Comment 3 Petteri Räty (RETIRED) gentoo-dev 2005-01-09 04:08:28 UTC
Works for me too. Maybe you have problems in your unzip program?
Comment 4 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-09 04:13:49 UTC
or as axxo suggested: check that the permissions on the file are sufficient. 
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2005-01-09 04:15:01 UTC
you probably do not have to correct premissions on the file
make sure portage:portage or root:portage(not sure) can read it
Comment 6 Justin Findlay 2005-01-10 17:20:57 UTC
archimedes root # ls -lh /usr/portage/distfiles/
-rw-------    1 justin   justin        33M Jan  8 02:10 /usr/portage/distfiles/j
archimedes root # chown root:portage /usr/portage/distfiles/
archimedes root # chmod 664 /usr/portage/distfiles/
archimedes root # ls -lh /usr/portage/distfiles/
-rw-rw-r--    1 root     portage       33M Jan  8 02:10 /usr/portage/distfiles/
archimedes root # emerge -v dev-java/java-sdk-docs
Success.  Excuse the newbie mistake, though I wouldn't have thought to check the permissions from the error that emerge gave.
Comment 7 Jan Brinkmann (RETIRED) gentoo-dev 2005-01-11 02:17:13 UTC
no problem at all, the most important thing is that everything works fine for you.