Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233830 - [sys-apps/baselayout-1.12.12] depscan.sh : xx_options() functions undeclared.
Summary: [sys-apps/baselayout-1.12.12] depscan.sh : xx_options() functions undeclared.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 254688 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-08-03 18:17 UTC by Jimmy.Jazz
Modified: 2009-10-11 00:25 UTC (History)
1 user (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 Jimmy.Jazz 2008-08-03 18:17:57 UTC
Could you add fake get_options() and save_options() in cachedepends.awk ?

--- /lib/rcscripts/awk/cachedepends.awk.orig    2008-08-03 19:43:03.000000000 +0200
+++ /lib/rcscripts/awk/cachedepends.awk 2008-08-03 19:45:12.000000000 +0200
@@ -5,6 +5,8 @@
        print "source /sbin/functions.sh" >> TMPCACHE
        print "" >> TMPCACHE
        print "config() { :; }" >> TMPCACHE
+       print "get_options() { :; }" >> TMPCACHE
+       print "save_options() { :; }" >> TMPCACHE
        print "need() {" >> TMPCACHE
        print " echo \"NEED $*\"; return 0" >> TMPCACHE
        print "}" >> TMPCACHE

pulseaudio and xdm init files use them.

Reproducible: Always

Actual Results:  
depscan.sh prints warning about missing functions.
Comment 1 SpanKY gentoo-dev 2009-02-09 02:27:36 UTC
*** Bug 254688 has been marked as a duplicate of this bug. ***