Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 261297

Summary: sys-apps/baselayout-1.12.11.1 - functions.awk installed in /lib64 and looked for in /lib
Product: Gentoo Linux Reporter: Vilem Marsik <marsikv>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Vilem Marsik 2009-03-05 12:04:44 UTC
baselayout-1.12.11.1
The file is /lib64/rcscripts/awk/functions.awk, but following scripts look for /lib/rcscripts/awk/functions.awk (seem to have it hardcoded in the package source):
/etc/init.d/depscan.sh
/sbin/depscan.sh
/sbin/env-update.sh

Result: calling the /etc/init.d scripts fails.


Reproducible: Always

Steps to Reproduce:
1. install the package on amd64 system (64-bit)
2. call some init script with (start|stop|restart|status) (apache in my case)


Actual Results:  
gawk: fatal: can't open source file `/lib/rcscripts/awk/functions.awk' for reading (No such file or directory)
+ some more error messages (I have fixed my installation already, cannot see them anymore)

Expected Results:  
Init scripts working

Seems to work OK after fixing following files:
/etc/init.d/depscan.sh
/sbin/depscan.sh
/sbin/env-update.sh
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-03-05 16:31:23 UTC
Please post your "emerge --info".
Comment 2 Vilem Marsik 2009-03-05 21:44:29 UTC
Created attachment 184058 [details]
emerge --info
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-05 23:51:36 UTC
$ qfile /lib/rcscripts/awk/functions.awk
sys-apps/baselayout (/lib/rcscripts/awk/functions.awk)
Comment 4 SpanKY gentoo-dev 2009-10-11 02:34:26 UTC
shouldnt be a big problem since /lib is symlinked to /lib64

http://sources.gentoo.org/baselayout/branches/baselayout-1_12/sbin/depscan.sh?r1=3149&r2=3150