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)
Created an attachment (id=154623) [details]
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.