Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 177775 - webapp-cleaner broken with baselayout-2 (functions.sh)
Summary: webapp-cleaner broken with baselayout-2 (functions.sh)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High major
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-09 11:35 UTC by Christoph Brill (egore) (RESIGNED)
Modified: 2007-10-13 09:29 UTC (History)
3 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 Christoph Brill (egore) (RESIGNED) 2007-05-09 11:35:10 UTC
Emerging phpmyadmin with baselayout 2 yells the following error:


 * Running //usr/sbin/webapp-cleaner -p -C phpmyadmin
//usr/sbin/webapp-cleaner: line 14: /sbin/functions.sh: file or directory not found
//usr/sbin/webapp-cleaner: line 95: einfo: command not found


Reproducible: Always
Comment 1 Gunnar Wrobel (RETIRED) gentoo-dev 2007-05-16 15:24:48 UTC
I'll get to this next week. Is that within an acceptable time-frame?
Comment 2 Marcin Kurek 2007-05-26 18:08:24 UTC
This is problem for some more packages than webapp-cleaner. Affected are perl-cleaner, gcc-config, python-updater, etc.

A quick workaround is to symlink functions.sh from /lib/rcscripts/sh to /sbin. It will throw some errors about missing einfo, ewarn, etc functions but would let use affected programs.
Comment 3 Renat Lumpau (RETIRED) gentoo-dev 2007-05-26 23:59:44 UTC
Roy - thoughts?
Comment 4 Roy Marples (RETIRED) gentoo-dev 2007-05-27 13:31:30 UTC
Yes, it should be using /etc/init.d/functions.sh which has always existed.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-08-02 23:42:29 UTC
So, is this released, or... ???
Comment 7 Stefan Hellermann 2007-08-21 12:17:43 UTC
I get the this error on a ~x86-system here with gcc-config. gcc-config-1.3.16 includes /etc/init.d/functions.sh but this file doesn't defiine ewarn einfo eend ...
Comment 8 Roy Marples (RETIRED) gentoo-dev 2007-08-21 12:35:06 UTC
(In reply to comment #7)
> I get the this error on a ~x86-system here with gcc-config. gcc-config-1.3.16
> includes /etc/init.d/functions.sh but this file doesn't defiine ewarn einfo
> eend ...
> 

Unrelated - gcc-config-1.4.0 is fixed for baselayout-2 though
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-10-13 09:29:05 UTC
FIXED in 1.50.16-r2.