<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>153057</bug_id>
          
          <creation_ts>2006-10-27 14:49 0000</creation_ts>
          <short_desc>baselayout-1.13.0_alpha3 tries to access ${S} during pkg_preinst</short_desc>
          <delta_ts>2006-10-31 01:06:39 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>baselayout</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>swegener@gentoo.org</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          <cc>flameeyes@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>swegener@gentoo.org</who>
            <bug_when>2006-10-27 14:49:27 0000</bug_when>
            <thetext>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!

&gt;&gt;&gt; Emerging (1 of 1) sys-apps/baselayout-1.13.0_alpha3 to /
&gt;&gt;&gt; Extracting info
&gt;&gt;&gt; Extracting baselayout-1.13.0_alpha3
&gt;&gt;&gt; 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/
&gt;&gt;&gt; /lib/rcscripts/awk/functions.awk
&gt;&gt;&gt; /lib/rcscripts/awk/cachedepends.awk
&gt;&gt;&gt; /lib/rcscripts/awk/gendepends.awk
&gt;&gt;&gt; /lib/rcscripts/awk/genenviron.awk
[...]</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2006-10-27 15:04:00 0000</bug_when>
            <thetext>I have a fix or this locally - just waiting on feedback from Flameeyes when it runs through a catalyst build.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>uberlord@gentoo.org</who>
            <bug_when>2006-10-31 01:06:39 0000</bug_when>
            <thetext>Fixed in alpha4</thetext>
          </long_desc>
      
    </bug>

</bugzilla>