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

Bug 153057

Summary: baselayout-1.13.0_alpha3 tries to access ${S} during pkg_preinst
Product: Gentoo Linux Reporter: Sven Wegener <swegener>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven Wegener gentoo-dev 2006-10-27 14:49:27 UTC
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 Roy Marples (RETIRED) gentoo-dev 2006-10-27 15:04:00 UTC
I have a fix or this locally - just waiting on feedback from Flameeyes when it runs through a catalyst build.
Comment 2 Roy Marples (RETIRED) gentoo-dev 2006-10-31 01:06:39 UTC
Fixed in alpha4