[Mesa-dev] [Bug 110565] scons-3 breaks libgl-xlib build
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Apr 30 11:47:31 UTC 2019
https://bugs.freedesktop.org/show_bug.cgi?id=110565
Bug ID: 110565
Summary: scons-3 breaks libgl-xlib build
Product: Mesa
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Other
Assignee: mesa-dev at lists.freedesktop.org
Reporter: freedesktop at volker-wegert.de
QA Contact: mesa-dev at lists.freedesktop.org
Scons has been upgraded from 2.1.5 to 3.0.4 on my Gentoo system. After that,
building libgl-xlib no longer worked; errors were
scons: Reading SConscript files ...
TypeError: a bytes-like object is required, not 'str':
File "/var/tmp/portage/media-libs/mesa-18.3.6/work/mesa-18.3.6/SConstruct",
line 47:
ENV = os.environ,
File "/usr/lib64/python3.6/site-packages/SCons/Environment.py", line 982:
apply_tools(self, tools, toolpath)
File "/usr/lib64/python3.6/site-packages/SCons/Environment.py", line 107:
env.Tool(tool)
File "/usr/lib64/python3.6/site-packages/SCons/Environment.py", line 1789:
tool(self)
File "/usr/lib64/python3.6/site-packages/SCons/Tool/__init__.py", line 296:
self.generate(env, *args, **kw)
File
"/var/tmp/portage/media-libs/mesa-18.3.6/work/mesa-18.3.6/scons/gallium.py",
line 219:
env['gcc_compat'] = check_cc(env, 'GCC', 'defined(__GNUC__)')
File
"/var/tmp/portage/media-libs/mesa-18.3.6/work/mesa-18.3.6/scons/gallium.py",
line 135:
source.write('#if !(%s)\n#error\n#endif\n' % expr)
File "/usr/lib64/python3.6/tempfile.py", line 483:
return func(*args, **kwargs)
Checking for GCC ...
I've been told to report this upstream since apparently this is an issue with
the scons files.
For reference, the Gentoo bug is https://bugs.gentoo.org/684790
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190430/0f4a0d75/attachment.html>
More information about the mesa-dev
mailing list