Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34769 - dep-clean fails when /usr/portage is a symlink
Summary: dep-clean fails when /usr/portage is a symlink
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Normal minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-30 12:07 UTC by Pieter Meiring
Modified: 2011-10-30 22:19 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 Pieter Meiring 2003-11-30 12:07:33 UTC
If the portage tree is redirected to another volume via a symlink in /usr (e.g. ln -s /home/portage /usr/portage) then the dep-clean script fails on the "find" command on line 176.
This is easily fixed by adding a trailing "/" to the "/usr/portage" string as follows:
line 176: find /usr/portage/ ${PORTDIR_OVERLAY} -iname '*.ebuild' | \

(using gentoolkit-0.1.36)

Best Wishes
Pieter
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-11-30 12:27:35 UTC
fixed in CVS