<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 - Piglit make fail at piglit-dispatch-gen"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89351">89351</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Piglit make fail at piglit-dispatch-gen
</td>
</tr>
<tr>
<th>Product</th>
<td>piglit
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>high
</td>
</tr>
<tr>
<th>Component</th>
<td>tests
</td>
</tr>
<tr>
<th>Assignee</th>
<td>baker.dylan.c@gmail.com
</td>
</tr>
<tr>
<th>Reporter</th>
<td>huax.lu@intel.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>piglit@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>System Environment:
--------------------------
Piglit: 0e1d119e94019922a0a084e71c099e6553f76b01
Bug detailed description:
---------------------------
Piglit make fail.
Bisect shows: 0e1d119e94019922a0a084e71c099e6553f76b01 is the first bad commit.
commit 0e1d119e94019922a0a084e71c099e6553f76b01
Author: Dylan Baker <<a href="mailto:baker.dylan.c@gmail.com">baker.dylan.c@gmail.com</a>>
AuthorDate: Fri Feb 20 12:43:15 2015 -0800
Commit: Dylan Baker <<a href="mailto:baker.dylan.c@gmail.com">baker.dylan.c@gmail.com</a>>
CommitDate: Mon Feb 23 15:47:10 2015 -0800
registry generation: Finish hybridizing
registry/gl.py and tests/util/gen_dispatch.py and pretty much
indistinguishable in purpose, so it makes sense to finish porting them
together.
This is actually not very invasive, a few calls to six, and a few cases
of using forward compatible functions (functools.reduce instead of the
builtin reduce, which was removed in python3)
The resulting output is exactly the same.
v2: - Use else: assert six.PY3 (jljusten)
Signed-off-by: Dylan Baker <<a href="mailto:dylanx.c.baker@intel.com">dylanx.c.baker@intel.com</a>>
Reviewed-by: Jordan Justen <<a href="mailto:jordan.l.justen@intel.com">jordan.l.justen@intel.com</a>>
output:
[ 0%] Generating tests/util/piglit-dispatch-gen.c,
tests/util/piglit-dispatch-gen.h, tests/util/piglit-util-gl-enum-gen.c
Traceback (most recent call last):
File "/GFX/Test/Piglit/piglit/tests/util/gen_dispatch.py", line 170, in
<module>
main()
File "/GFX/Test/Piglit/piglit/tests/util/gen_dispatch.py", line 66, in main
gl_registry = registry.gl.parse()
File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 61, in
parse
return Registry(xml_registry)
File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 363, in
__init__
enum_group = EnumGroup(xml_enums)
File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 1055, in
__init__
self.enums.add(Enum(self, xml_enum))
File "/GFX/Test/Piglit/piglit/tests/util/../../registry/gl.py", line 1115, in
__init__
if six.PY2:
AttributeError: 'module' object has no attribute 'PY2'
make[2]: *** [tests/util/piglit-dispatch-gen.c] Error 1
make[1]: *** [CMakeFiles/piglit_dispatch_gen.dir/all] Error 2
make: *** [all] Error 2</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>