[Piglit] Piglit build fails: NameError: global name 'fake_whitespace' is not defined
Tom Stellard
tom at stellard.net
Tue Jun 24 17:27:54 PDT 2014
Hi,
Building piglit fails for me with HEAD at
7e699cdb47f328206afa6dd454de8d6f28d7ffe9
Here is the error:
[ 0%] Generating tests/util/piglit-dispatch-gen.c,
tests/util/piglit-dispatch-gen.h, tests/util/piglit-util-gl-enum-gen.c
debug: registry.gl: etree is xml.etree.cElementTree
debug: registry.gl: _etree_iterfind wraps ElementTree.iterfind
Traceback (most recent call last):
File "/home/tstellar/piglit/tests/util/gen_dispatch.py", line 201, in
<module>
main()
File "/home/tstellar/piglit/tests/util/gen_dispatch.py", line 68, in
main
DispatchCode.emit(args.out_dir, gl_registry)
File "/home/tstellar/piglit/tests/util/gen_dispatch.py", line 93, in
emit
render_template(cls.H_TEMPLATE, out_dir, **context_vars)
File "/home/tstellar/piglit/tests/util/gen_dispatch.py", line 127, in
render_template
template.render_context(ctx)
File "/usr/lib/python2.7/site-packages/mako/template.py", line 325, in
render_context
**kwargs)
File "/usr/lib/python2.7/site-packages/mako/runtime.py", line 692, in
_render_context
_exec_template(inherit, lclcontext, args=args, kwargs=kwargs)
File "/usr/lib/python2.7/site-packages/mako/runtime.py", line 718, in
_exec_template
callable_(context, *args, **kwargs)
File "_home_tstellar_piglit_tests_util_piglit_dispatch_gen_h_mako",
line 147, in render_body
File "_home_tstellar_piglit_tests_util_piglit_dispatch_gen_h_mako",
line 123, in __M_anon_26
NameError: global name 'fake_whitespace' is not defined
Does anyone know what is wrong?
-Tom
More information about the Piglit
mailing list