mesa: 750c38fad1f19e2403b4960674006c5f932075ad (master 11.3.0-devel) $ scons scons: Reading SConscript files ... Checking for GCC ... yes Checking for Clang ... no scons: Found LLVM version 3.8.0 Checking for X11 (x11 xext xdamage xfixes glproto >= 1.4.13)... yes Checking for XCB (x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8)... yes Checking for XF86VIDMODE (xxf86vm)... yes Checking for DRM (libdrm >= 2.4.38)... yes Checking for UDEV (libudev >= 151)... yes TypeError: 'tuple' object is not callable: File "mesa/SConstruct", line 143: duplicate = 0 # http://www.scons.org/doc/0.97/HTML/scons-user/x2261.html File "/usr/lib/scons/SCons/Script/SConscript.py", line 604: return method(*args, **kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 541: return _SConscript(self.fs, *files, **subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 250: exec _file_ in call_stack[-1].globals File "mesa/src/SConscript", line 7: SConscript('util/SConscript') File "/usr/lib/scons/SCons/Script/SConscript.py", line 604: return method(*args, **kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 541: return _SConscript(self.fs, *files, **subst_kw) File "/usr/lib/scons/SCons/Script/SConscript.py", line 250: exec _file_ in call_stack[-1].globals File "mesa/src/util/SConscript", line 25: command = python_cmd + ' $SCRIPT > $TARGET' File "/usr/lib/scons/SCons/Environment.py", line 224: return self.method(*nargs, **kwargs) File "mesa/scons/custom.py", line 143: deps += script_src.get_implicit_deps(env, python_scanner, path) File "/usr/lib/scons/SCons/Node/__init__.py", line 941: path = path_func(scanner) $ scons --version SCons by Steven Knight et al.: script: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09 14:38:50, by bdbaddog on ubuntu1404-32bit engine: v2.5.0.rel_2.5.0:3544:95d356f188a3[MODIFIED], 2016/04/09 14:38:50, by bdbaddog on ubuntu1404-32bit engine path: ['/usr/lib/scons/SCons'] Copyright (c) 2001 - 2016 The SCons Foundation
It looks like SCons changed some of its internals. Most likely it won't be an easy fix. I'm not sure when I'll be able to look into this. My suggestion is to use SCons 2.4.x for now.
commit 1b62b47f6fcaf5a825a5a909c91e802bffae3b1d Author: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Date: Wed May 25 07:32:08 2016 -0600 scons: support 2.5.0 The get_implicit_deps changed in SCons 2.5, expecting a callable rather than a path as third argument. Detect the SCons versions and set the argument appropriately to support both 2.5 and earlier versions. This closes #95211. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=95211 Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> Cc: mesa-stable@lists.freedesktop.org Acked-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Brian Paul <brianp@vmware.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.