Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183989 - app-admin/perl-cleaner-1.04.3 doesn't work with baselayout-2
Summary: app-admin/perl-cleaner-1.04.3 doesn't work with baselayout-2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Paul Varner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-02 15:36 UTC by Christoph Mende (RETIRED)
Modified: 2007-09-12 18:38 UTC (History)
3 users (show)

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


Attachments
perl-cleaner patch (perl-cleaner.183989.patch,802 bytes, patch)
2007-07-03 16:07 UTC, Paul Varner (RETIRED)
Details | Diff
Work with all baselayouts and FreeBSD sed (perl-cleaner.patch,3.77 KB, patch)
2007-08-06 12:00 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Mende (RETIRED) gentoo-dev 2007-07-02 15:36:46 UTC
/usr/bin/perl-cleaner: line 23: /sbin/functions.sh: No such file or directory
/usr/bin/perl-cleaner: Could not source /sbin/functions.sh!

functions.sh was moved to /etc/init.d in baselayout-2
Comment 1 Paul Varner (RETIRED) gentoo-dev 2007-07-03 16:07:10 UTC
Created attachment 123787 [details, diff]
perl-cleaner patch

Please let me know if the attached patch is sufficient.
Comment 2 Joe Peterson (RETIRED) gentoo-dev 2007-07-28 19:04:17 UTC
Paul,

I also found this, and after fixing the patch to functions.sh, I then get errors when trying "perl-cleaner allmodules":

----------

Calculating dependencies -

!!! 'dev-perl/XML-LibXML-1.63' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?)

--------

I am on Gentoo/FreeBSD; wondering if you ran into this as well, especially if on Linux.
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-08-06 10:04:49 UTC
Patch is overkill - /etc/init.d/functions.sh has *always* existed
No need to check for it in /sbin ;)
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-08-06 12:00:06 UTC
Created attachment 127056 [details, diff]
Work with all baselayouts and FreeBSD sed

This patch works on FreeBSD sh and bash and all baselayout versions.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2007-08-06 14:37:40 UTC
uberlord, Thanks! The patch is applied in subversion.
Comment 6 Paul Varner (RETIRED) gentoo-dev 2007-09-12 18:38:05 UTC
perl-cleaner-1.05 is now in the tree.  Sorry to have taken so long to release, but work has been keeping my very busy for the last month and a half.