Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 153057 - baselayout-1.13.0_alpha3 tries to access ${S} during pkg_preinst
Summary: baselayout-1.13.0_alpha3 tries to access ${S} during pkg_preinst
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-27 14:49 UTC by Sven Wegener
Modified: 2006-10-31 01:06 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 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