Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 14035 - distfiles symlink removed
Summary: distfiles symlink removed
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-16 09:00 UTC by Keith Edmunds
Modified: 2011-10-30 22:19 UTC (History)
2 users (show)

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 Keith Edmunds 2003-01-16 09:00:41 UTC
My system is set up such that the distfiles directory is on a separate
partition, and thus /usr/portage/distfiles is actually a symlink to another
directory. Every now and again (I think when portage is updated) the symlink is
replaced by a directory, and thus all the existing files in distfiles are
invisible to portage.
Comment 1 SpanKY gentoo-dev 2003-01-16 09:03:17 UTC
this has come up before ... technically it is invalid since you should be modifying 
/etc/make.conf to reflect a changed distfiles path ... 
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-01-16 09:05:13 UTC
you are right Spanky this is INVALID

Keith: update to the latest portage, etc-update your make.conf and read


from make.conf
# DISTDIR is where all of the source code tarballs will be placed for
#     emerges. The source code is maintained here unless you delete
#     it. The entire repository of tarballs for gentoo is 9G. This is
#     considerably more than any user will ever download. 2-3G is
#     a large DISTDIR.
#DISTDIR=${PORTDIR}/distfiles

Comment 3 SpanKY gentoo-dev 2003-01-16 09:10:31 UTC
this has come up before and the actual fix is trivial which is why i leave it for nick 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-01-16 09:12:37 UTC
if it's on a separate partition, why not just mount that partition to
/usr/portage/distfiles?  I have this setup:

nebuchadnezzar modplugxmms # grep distfiles /etc/fstab 
/dev/hdd5               /usr/portage/distfiles          reiserfs       
notail,noatime          0 0


it's a separate partition for me too...
Comment 5 Keith Edmunds 2003-01-16 09:19:28 UTC
Ooo, thanks for all the feedback and so quickly too. Have fixed my system now.
However, I do think that this is a trap many will fall into.

Thanks again.