<?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>166420</bug_id>
          
          <creation_ts>2007-02-11 21:31 0000</creation_ts>
          <short_desc>portage autoresume point isn&apos;t cleared at end of stage run</short_desc>
          <delta_ts>2007-03-20 17:17:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Hosted Projects</product>
          <component>Catalyst</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <keywords>InSVN</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>agaffney@gentoo.org</reporter>
          <assigned_to>catalyst@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-02-11 21:31:53 0000</bug_when>
            <thetext>Since the portage autoresume point is put at /tmp/.clst_portage inside the chroot, it isn&apos;t removed as part of the normal autoresume cleanup code. I&apos;m attaching a small patch that should take care of this special case.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-02-11 21:32:21 0000</bug_when>
            <thetext>Created an attachment (id=109898)
patch to clear portage autoresume point

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-02-11 21:59:55 0000</bug_when>
            <thetext>Alternatively, we can just kill the autoresume check for portage like you&apos;ve done for ccache and distcc, since it takes very little time to emerge portage. That&apos;s probably the better solution. That will allow the patch in bug 166426 to be used with pre-existing stage3 seeds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>agaffney@gentoo.org</who>
            <bug_when>2007-02-11 22:03:15 0000</bug_when>
            <thetext>Created an attachment (id=109903)
patch to remove check for autoresume point in setup_portage()

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-02-12 22:08:14 0000</bug_when>
            <thetext>I&apos;ve gone w/ approach #2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>wolf31o2@gentoo.org</who>
            <bug_when>2007-03-20 17:17:23 0000</bug_when>
            <thetext>This is fixed in 2.0.3 which should be hitting the tree shortly.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>109898</attachid>
            <date>2007-02-11 21:32 0000</date>
            <desc>patch to clear portage autoresume point</desc>
            <filename>catalyst_portage_autoresume.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IG1vZHVsZXMvZ2VuZXJpY19zdGFnZV90YXJnZXQucHkKPT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gbW9k
dWxlcy9nZW5lcmljX3N0YWdlX3RhcmdldC5weQkocmV2aXNpb24gMTIxMikKKysrIG1vZHVsZXMv
Z2VuZXJpY19zdGFnZV90YXJnZXQucHkJKHdvcmtpbmcgY29weSkKQEAgLTEzNTgsNiArMTM1OCw5
IEBACiAJCSAgIAkJb3MubWFrZWRpcnMobXllbXAsMDc1NSkKIAkJCQlvcy5jaG93bihteWVtcCxt
eXN0YXRbU1RfVUlEXSxteXN0YXRbU1RfR0lEXSkKIAkJCQlvcy5jaG1vZChteWVtcCxteXN0YXRb
U1RfTU9ERV0pCisJCW15ZW1wPXNlbGYuc2V0dGluZ3NbImNocm9vdF9wYXRoIl0rIi90bXAvLmNs
c3RfcG9ydGFnZSIKKwkJaWYgb3MucGF0aC5pc2ZpbGUobXllbXApOgorCQkJb3MudW5saW5rKG15
ZW1wKQogCiAJZGVmIGdlbl9kaWdlc3RfZmlsZShzZWxmLGZpbGUpOgogCQlpZiBvcy5wYXRoLmV4
aXN0cyhmaWxlKyIuRElHRVNUUyIpOgo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>109903</attachid>
            <date>2007-02-11 22:03 0000</date>
            <desc>patch to remove check for autoresume point in setup_portage()</desc>
            <filename>catalyst_remove_portage_autoresume_check.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">SW5kZXg6IHRhcmdldHMvc3VwcG9ydC9jaHJvb3QtZnVuY3Rpb25zLnNoCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0t
IHRhcmdldHMvc3VwcG9ydC9jaHJvb3QtZnVuY3Rpb25zLnNoCShyZXZpc2lvbiAxMjEyKQorKysg
dGFyZ2V0cy9zdXBwb3J0L2Nocm9vdC1mdW5jdGlvbnMuc2gJKHdvcmtpbmcgY29weSkKQEAgLTg1
LDEzICs4NSwxMyBAQAogc2V0dXBfcG9ydGFnZSgpewogCSMgcG9ydGFnZSBuZWVkcyB0byBiZSBt
ZXJnZWQgbWFudWFsbHkgd2l0aCBVU0U9ImJ1aWxkIiBzZXQgdG8gYXZvaWQgZnJ5aW5nCiAJIyBv
dXIgbWFrZS5jb25mLiBlbWVyZ2Ugc3lzdGVtIGNvdWxkIG1lcmdlIGl0IG90aGVyd2lzZS4KLQlp
ZiBbICIke2Nsc3RfQVVUT1JFU1VNRX0iID0gIjEiIC1hIC1lIC90bXAvLmNsc3RfcG9ydGFnZSBd
Ci0JdGhlbgotCQllY2hvICJQb3J0YWdlIEF1dG9yZXN1bWUgcG9pbnQgZm91bmQgbm90IGVtZXJn
aW5nIHBvcnRhZ2UiCi0JZWxzZQorIwlpZiBbICIke2Nsc3RfQVVUT1JFU1VNRX0iID0gIjEiIC1h
IC1lIC90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