Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223997 - x11-misc/gaia build fails with scons-0.98.3
Summary: x11-misc/gaia build fails with scons-0.98.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-28 20:49 UTC by Santiago M. Mola (RETIRED)
Modified: 2008-05-29 12:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
02_scons_args.patch (02_scons_args.patch,331 bytes, patch)
2008-05-28 20:51 UTC, Santiago M. Mola (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago M. Mola (RETIRED) gentoo-dev 2008-05-28 20:49:33 UTC
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 "/home/coldwind/dev/gaia-0.1.2/SConstruct", line 28:
    env = Environment( options = opts )
  File "/usr/lib64/scons-0.98.3/SCons/Environment.py", line 916:
    variables.Update(self)
  File "/usr/lib64/scons-0.98.3/SCons/Variables/__init__.py", line 165:
    if os.path.exists(filename):
  File "/usr/lib64/python2.5/posixpath.py", line 171:
    st = os.stat(path)
Comment 1 Santiago M. Mola (RETIRED) gentoo-dev 2008-05-28 20:51:45 UTC
Created attachment 154623 [details, diff]
02_scons_args.patch

Patch from Debian. It's backwards compatible with, at least, scons 0.97.

There'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.
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2008-05-29 12:06:39 UTC
Thanks for your patch.  Fixed.  Still works with 0.97 and exchanged that deprecated env.Copy() with env.Clone()