<?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>223997</bug_id>
          
          <creation_ts>2008-05-28 20:49 0000</creation_ts>
          <short_desc>x11-misc/gaia build fails with scons-0.98.3</short_desc>
          <delta_ts>2008-05-29 12: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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P3</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>coldwind@gentoo.org</reporter>
          <assigned_to>fauli@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>coldwind@gentoo.org</who>
            <bug_when>2008-05-28 20:49:33 0000</bug_when>
            <thetext>x11-misc/gaia-0.1.2 fails to build with dev-util/scons-0.98.3:

[ $ ~/dev/gaia-0.1.2  ] scons use_env=yes
scons: Reading SConscript files ...
TypeError: coercing to Unicode: need string or buffer, dict found:
  File &quot;/home/coldwind/dev/gaia-0.1.2/SConstruct&quot;, line 28:
    env = Environment( options = opts )
  File &quot;/usr/lib64/scons-0.98.3/SCons/Environment.py&quot;, line 916:
    variables.Update(self)
  File &quot;/usr/lib64/scons-0.98.3/SCons/Variables/__init__.py&quot;, line 165:
    if os.path.exists(filename):
  File &quot;/usr/lib64/python2.5/posixpath.py&quot;, line 171:
    st = os.stat(path)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>coldwind@gentoo.org</who>
            <bug_when>2008-05-28 20:51:45 0000</bug_when>
            <thetext>Created an attachment (id=154623)
02_scons_args.patch

Patch from Debian. It&apos;s backwards compatible with, at least, scons 0.97.

There&apos;s a deprecation warning which may be worth to fix too:
scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2008-05-29 12:06:39 0000</bug_when>
            <thetext>Thanks for your patch.  Fixed.  Still works with 0.97 and exchanged that deprecated env.Copy() with env.Clone()</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>154623</attachid>
            <date>2008-05-28 20:51 0000</date>
            <desc>02_scons_args.patch</desc>
            <filename>02_scons_args.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIGdhaWEtMC4xLjIub3JpZy9TQ29uc3RydWN0CisrKyBnYWlhLTAuMS4yL1NDb25zdHJ1Y3QK
QEAgLTgsNyArOCw3IEBACiAjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMK
ICMgT1BUSU9OUwogIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjCi1vcHRz
ID0gT3B0aW9ucyhBUkdVTUVOVFMpCitvcHRzID0gT3B0aW9ucyhhcmdzID0gQVJHVU1FTlRTKQog
IyBjb25kaXRpb25hbGx5IGJ1aWxkIHBhcnRzIG9mIGdhaWEKICNvcHRzLkFkZChCb29sT3B0aW9u
KCdnYWlhJywgJ0NvbXBpbGUgZ2FpYSBPcGVuR0wgY2xpZW50JywgMSkpOwogCg==
</data>        

          </attachment>
    </bug>

</bugzilla>