Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330097 - app-admin/perl-cleaner-2.2 doesn't work properly when /var/db/pkg is a symlink
Summary: app-admin/perl-cleaner-2.2 doesn't work properly when /var/db/pkg is a symlink
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High minor (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-27 17:11 UTC by Maciej Grela
Modified: 2010-08-02 19:22 UTC (History)
0 users

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


Attachments
Fixes perl-cleaner when /var/db/pkg is a symlink (perl-cleaner-2.2-fix-when-PKGDIR-is-a-symlink.patch,674 bytes, patch)
2010-07-27 17:13 UTC, Maciej Grela
Details | Diff
Fixes perl-cleaner when /var/db/pkg is a symlink (perl-cleaner-2.2-fix-when-VDBDIR-is-a-symlink.patch,631 bytes, patch)
2010-07-27 17:15 UTC, Maciej Grela
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Grela 2010-07-27 17:11:56 UTC
Hi,

The perl-cleaner script doesn't work properly when /var/db/pkg is a symlink (like in the case of my system). The attached trivial patch needs to be applied.

Reproducible: Always
Comment 1 Maciej Grela 2010-07-27 17:13:32 UTC
Created attachment 240351 [details, diff]
Fixes perl-cleaner when /var/db/pkg is a symlink
Comment 2 Maciej Grela 2010-07-27 17:15:45 UTC
Created attachment 240353 [details, diff]
Fixes perl-cleaner when /var/db/pkg is a symlink
Comment 3 Torsten Veller (RETIRED) gentoo-dev 2010-08-02 07:35:10 UTC
- for content in $(find ${PKG_DBDIR} -path "*/-MERGING-*" -prune -o -name CONTENTS -print ) ; do
+ for content in $(find -L ${PKG_DBDIR} -path "*/-MERGING-*" -prune -o -name CONTENTS -print ) ; do

will be in perl-cleaner-2.3
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2010-08-02 14:17:14 UTC
In the tree. Please test.
Thanks
Comment 5 Maciej Grela 2010-08-02 19:22:50 UTC
Works in my case.