<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Mesa doesn't build with current Scons version (3.1.0)"
href="https://bugs.freedesktop.org/show_bug.cgi?id=111309">111309</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Mesa doesn't build with current Scons version (3.1.0)
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>critical
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>fdo-bugs@engestrom.ch
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>$ scons
scons: Reading SConscript files ...
scons: warning: EnsureSConsVersion is ignored for development version
File "SConstruct", line 33, in <module>
TypeError: a bytes-like object is required, not 'str':
File "SConstruct", line 47:
ENV = os.environ,
File "/usr/lib/python3.7/site-packages/SCons/Environment.py", line 991:
apply_tools(self, tools, toolpath)
File "/usr/lib/python3.7/site-packages/SCons/Environment.py", line 107:
env.Tool(tool)
File "/usr/lib/python3.7/site-packages/SCons/Environment.py", line 1798:
tool(self)
File "/usr/lib/python3.7/site-packages/SCons/Tool/__init__.py", line 303:
self.generate(env, *args, **kw)
File "scons/gallium.py", line 219:
env['gcc_compat'] = check_cc(env, 'GCC', 'defined(__GNUC__)')
File "scons/gallium.py", line 135:
source.write('#if !(%s)\n#error\n#endif\n' % expr)
File "/usr/lib/python3.7/tempfile.py", line 481:
return func(*args, **kwargs)
>From the error, it sounds like it could be a python2 vs python3 issue?
It works fine if I downgrade back to scons 3.0.4 (which I'll be doing for the
time being)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>