<?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>24057</bug_id>
          
          <creation_ts>2003-07-07 10:02 0000</creation_ts>
          <short_desc>cheesetracker-0.8.0.ebuild (New Package)</short_desc>
          <delta_ts>2004-02-26 18:54:29 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://cheesetronic.sf.net/</bug_file_loc>
          
          <keywords>EBUILD</keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>21744</dependson>
    
    <dependson>42660</dependson>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>entheh@users.sf.net</reporter>
          <assigned_to>eradicator@gentoo.org</assigned_to>
          <cc>djresonance@yahoo.com</cc>
    
    <cc>eldad@gentoo.org</cc>
    
    <cc>rossen@protein.osaka-u.ac.jp</cc>
    
    <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>entheh@users.sf.net</who>
            <bug_when>2003-07-07 10:02:20 0000</bug_when>
            <thetext>Hi, 
 
Here&apos;s an ebuild for CheeseTracker 0.8.0. There are, however, problems ... 
 
First, the ebuild depends on scons-0.14. Someone has submitted an ebuild for this, but 
is not in the portage tree yet. See the &apos;bug depends on&apos; field. 
 
Secondly, there are sandbox problems, reproducible always as follows: 
 
1. emerge scons 
2. emerge cheesetracker 
 
SCons is Python-based, and it seems that it tries to recompile itself the first time it is 
used after installation. It tries to write to many .pyc files in /usr/lib/scons/SCons, and 
this fails unless it has root access. This only happens the first time SCons is used (and 
succeeds); the following sequence does not generate any errors: 
 
1. emerge scons 
2. FEATURES=-sandbox emerge cheesetracker 
3. emerge cheesetracker 
 
My system has python-2.2.3 on it. 
 
I have no idea how this should be fixed, but then I know very little about Python or 
SCons. We may need to contact the SCons developers for advice.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>entheh@users.sf.net</who>
            <bug_when>2003-07-07 10:04:38 0000</bug_when>
            <thetext>Created an attachment (id=14233)
The ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>entheh@users.sf.net</who>
            <bug_when>2003-07-07 10:12:46 0000</bug_when>
            <thetext>Ugh. Sorry about the evil word wrapping. I got an error when submitting the ebuild 
too (although it worked). That&apos;s the last time I use Konqueror for anything important ... </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>knight@baldmt.com</who>
            <bug_when>2003-07-07 19:48:00 0000</bug_when>
            <thetext>Hi, I&apos;m the SCons project leader, and got notification of this bug because I also submitted the depends-on bug about upgrading SCons.

Creating the .pyo files should ideally be done as part of the installation.  My guess is it should then be something in the .ebuild itself, but this is all new to me.  The .ebuild file I submitted in the depends-on bug for SCons 0.14 is essentially cut-and-paste from the .ebuild file I already found in gentoo for SCons 0.07.  If someone can point me to other examples I can look at of Python apps that create their .pyo files as part of the installation, I&apos;ll gladly update and re-submit.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>entheh@users.sf.net</who>
            <bug_when>2003-07-08 09:28:22 0000</bug_when>
            <thetext>As far as I could tell at the time, SCons was trying to replace existing .pyc files with new ones, presumably derived from the .py files in the same place. The .py and .pyc had identical (or very close) modification times on them. Presumably either Python or SCons determined that the .pyc files MIGHT be out of date, and wanted to update them. No .pyo files existed before or afterwards; only .py and .pyc files.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>hanno@gentoo.org</who>
            <bug_when>2003-08-10 03:06:55 0000</bug_when>
            <thetext>*** Bug 8858 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>Kasper.Souren@ircam.fr</who>
            <bug_when>2003-10-29 14:38:56 0000</bug_when>
            <thetext>Works fine for 0.9.0 (just released today) as well!
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eldad@gentoo.org</who>
            <bug_when>2004-01-23 03:38:14 0000</bug_when>
            <thetext>Good for 0.9.1 as well.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-06 04:30:21 0000</bug_when>
            <thetext>I&apos;ll take a look at this... Would you be able to create a patch so FEATURES=-sandbox is not needed?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>kloeri@gentoo.org</who>
            <bug_when>2004-02-26 17:12:40 0000</bug_when>
            <thetext>Disabling sandbox shouldn&apos;t be neccesary anymore as I fixed dev-util/scons yesterday - see bug 42660.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-02-26 18:54:29 0000</bug_when>
            <thetext>in portage.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>14233</attachid>
            <date>2003-07-07 10:04 0000</date>
            <desc>The ebuild</desc>
            <filename>cheesetracker-0.8.0.ebuild</filename>
            <type>text/plain</type>
            <data encoding="base64">IyBDb3B5cmlnaHQgMTk5OS0yMDAzIEdlbnRvbyBUZWNobm9sb2dpZXMsIEluYy4KIyBEaXN0cmli
dXRlZCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1YmxpYyBMaWNlbnNlIHYy
CiMgJEhlYWRlcjogJAoKREVTQ1JJUFRJT049IkEgY2xvbmUgb2YgSW1wdWxzZSBUcmFja2VyIHdp
dGggc29tZSBleHRlbnNpb25zIGFuZCBhIGJ1aWx0LWluIHNhbXBsZSBlZGl0b3I7IHVzZXMgUVQi
CkhPTUVQQUdFPSJodHRwOi8vY2hlZXNldHJvbmljLnNmLm5ldC8iClNSQ19VUkk9Im1pcnJvcjov
L3NvdXJjZWZvcmdlL2NoZWVzZXRyb25pYy8ke1B9LnRhci5neiIKTElDRU5TRT0iR05VLTIiClNM
T1Q9IjAiCktFWVdPUkRTPSJ+eDg2IgoKSVVTRT0iIgoKREVQRU5EPSI+PWRldi11dGlsL3Njb25z
LTAuMTQiCgpSREVQRU5EPSI9ZGV2LWxpYnMvbGlic2lnYysrLTEuMioKCT49eDExLWxpYnMvcXQt
My4wIgoKUz0ke1dPUktESVJ9LyR7UH0KCnNyY19jb21waWxlKCkgewoJbWFrZSB8fCBkaWUKfQoK
c3JjX2luc3RhbGwoKSB7Cglkb2RpciAvdXNyL2JpbgoJbWFrZSBJTlNUQUxMX0RJUj0ke0R9L3Vz
ci9iaW4vIGluc3RhbGwgfHwgZGllCglkb2RvYyBBVVRIT1JTIENPUFlJTkcgQ2hhbmdlTG9nIElO
U1RBTEwgTkVXUyBSRUFETUUgVE9ETwp9Cg==
</data>        

          </attachment>
    </bug>

</bugzilla>