[Piglit] Piglit build fails: NameError: global name 'fake_whitespace' is not defined

Dylan Baker baker.dylan.c at gmail.com
Tue Jun 24 17:29:44 PDT 2014


what does: python -c 'import mako; print mako.__version__'
return?

On Tuesday, June 24, 2014 08:27:54 PM Tom Stellard wrote:
> 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
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/piglit
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/piglit/attachments/20140624/9b226e47/attachment-0001.sig>


More information about the Piglit mailing list