Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39985 - package symlinked to /usr/portage/distfiles/package_name.zip doesn't show up as being there
Summary: package symlinked to /usr/portage/distfiles/package_name.zip doesn't show up ...
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-31 08:56 UTC by Aaron Peterson
Modified: 2004-11-20 23:18 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 Aaron Peterson 2004-01-31 08:56:00 UTC
I'm running low on HD space, so I decided to symlink my UrbanTerror32.zip to /usr/portage/distfiles/UrbanTerror32.zip

Portage reportated that it wasn't there.
and I had to move the files to distfiles....

I checked the permissions, owned by root and readable by root

games-fps/quake3-urbanterror-3.2 was What I was trying

I didn't see any code in the ebuild that looked like it would cause this,

I did see another bug about portage not using symlinked config files, but I think this is different... enough...   and of course bugzilla doesn't search closed bugs

take a look at:
Bugzilla Bug 13007 



Reproducible: Didn't try
Steps to Reproduce:
1.
2.have a file symlinked to /usr/portage/distfiles
3.emerge the thing
4. fetch restrictions warning pops up..
5... comment out src_uri and restrictions...
6.. it works!?
7... no. (I did have one file there, and it extracted)
>>> emerge (1 of 1) games-fps/quake3-urbanterror-3.2 to /
>>> Unpacking source...
>>> Unpacking urbanterror3.zip to /var/tmp/portage/quake3-urbanterror-3.2/work
>>> Unpacking UrbanTerror31.zip to /var/tmp/portage/quake3-urbanterror-3.2/work/q3ut3
unzip:  cannot find /usr/portage/distfiles/UrbanTerror31.zip, /usr/portage/distfiles/UrbanTerror31.zip.zip or /usr/portage/distfiles/UrbanTerror31.zip.ZIP.

!!! ERROR: games-fps/quake3-urbanterror-3.2 failed.
!!! Function unpack, Line 331, Exitcode 9
!!! failure unpacking UrbanTerror31.zip
Comment 1 SpanKY gentoo-dev 2004-02-01 14:41:18 UTC
weird, i just did this:

emerge -f nvidia-kernel
cd /usr/portage/distfiles
mv NVIDIA-Linux-x86-1.0-5336-pkg1.run /
ln -s /NVIDIA-Linux-x86-1.0-5336-pkg1.run NVIDIA-Linux-x86-1.0-5336-pkg1.run
emerge -f nvidia-kernel

and it worked fine ... perhaps your soft link was screwed up ? :x
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-04 21:04:41 UTC
Hmm, the MD5 check should have failed if it is really a problem. We need `emerge info`, `ls -l /full/path/to/UrbanTerror31.zip` and `ls -l /usr/portage/distfiles/UrbanTerror31.zip`
Comment 3 Aaron Peterson 2004-03-02 02:14:58 UTC
I just cleared diskspace and copied it there,
then I believe I tried it on something else and it worked.
so...  not much choice but to close it.
Comment 4 Josh 2004-11-20 23:18:07 UTC
I've had this problem before as well, but I found out the reason.

If the file that is being symlinked is inaccessible to user 'portage' (for example, user 'portage' does not have read access to some parent directory containing the symlinked file), then portage reports this problem.

To solve the problem, move the symlinked file to some folder accessible to user 'portage'.