# emerge -vuD world ... >>> md5 src_uri ;-) j2sdk-1_4_2-doc.zip >>> Unpacking source... >>> Unpacking j2sdk-1_4_2-doc.zip to /var/tmp/portage/java-sdk-docs-1.4.2/work error: cannot open zipfile [ /usr/portage/distfiles/j2sdk-1_4_2-doc.zip ] unzip: cannot find /usr/portage/distfiles/j2sdk-1_4_2-doc.zip, /usr/portage/distfiles/j2sdk-1_4_2-doc.zip.zip or /usr/portage/distfiles/j2sdk-1_4_2-doc.zip.ZIP. ... # file /usr/portage/distfiles/j2sdk-1_4_2-doc.zip /usr/portage/distfiles/j2sdk-1_4_2-doc.zip: Zip archive data, at least v1.0 to extract
Created attachment 47940 [details] make.conf
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.
Works for me too. Maybe you have problems in your unzip program?
or as axxo suggested: check that the permissions on the file are sufficient.
you probably do not have to correct premissions on the file make sure portage:portage or root:portage(not sure) can read it
archimedes root # ls -lh /usr/portage/distfiles/j2sdk-1_4_2-doc.zip -rw------- 1 justin justin 33M Jan 8 02:10 /usr/portage/distfiles/j 2sdk-1_4_2-doc.zip archimedes root # chown root:portage /usr/portage/distfiles/j2sdk-1_4_2-doc.zip archimedes root # chmod 664 /usr/portage/distfiles/j2sdk-1_4_2-doc.zip archimedes root # ls -lh /usr/portage/distfiles/j2sdk-1_4_2-doc.zip -rw-rw-r-- 1 root portage 33M Jan 8 02:10 /usr/portage/distfiles/j2sdk-1_4_2-doc.zip 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.
no problem at all, the most important thing is that everything works fine for you.