Bug 153057 - baselayout-1.13.0_alpha3 tries to access ${S} during pkg_preinst
Bug#: 153057 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: swegener@gentoo.org
Component: baselayout
URL: 
Summary: baselayout-1.13.0_alpha3 tries to access ${S} during pkg_preinst
Keywords:  
Status Whiteboard: 
Opened: 2006-10-27 14:49 0000
Description:   Opened: 2006-10-27 14:49 0000
baselayout-1.13.0_alpha3 relies on ${S} being available during pkg_preinst,
which is not the case when merging baselayout as a binary package. All pkg_*
functions are not allowed to access files in ${S} and other build-time
directories.

luna ~ # emerge -1k baselayout
Calculating dependencies... done!

>>> Emerging (1 of 1) sys-apps/baselayout-1.13.0_alpha3 to /
>>> Extracting info
>>> Extracting baselayout-1.13.0_alpha3
>>> Merging sys-apps/baselayout-1.13.0_alpha3 to /
/var/tmp/portage/sys-apps/baselayout-1.13.0_alpha3/build-info/baselayout-1.13.0_alpha3.ebuild:
line 97: cd:
/var/tmp/portage/sys-apps/baselayout-1.13.0_alpha3/work/baselayout-1.13.0_alpha3:
No such file or directory
 * Ensuring that /dev/null and /dev/console exist on /dev
--- /lib/
--- /lib/rcscripts/
--- /lib/rcscripts/awk/
>>> /lib/rcscripts/awk/functions.awk
>>> /lib/rcscripts/awk/cachedepends.awk
>>> /lib/rcscripts/awk/gendepends.awk
>>> /lib/rcscripts/awk/genenviron.awk
[...]

------- Comment #1 From Roy Marples (RETIRED) 2006-10-27 15:04:00 0000 -------
I have a fix or this locally - just waiting on feedback from Flameeyes when it
runs through a catalyst build.

------- Comment #2 From Roy Marples (RETIRED) 2006-10-31 01:06:39 0000 -------
Fixed in alpha4