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

Tom Stellard tom at stellard.net
Tue Jun 24 17:34:37 PDT 2014


On Tue, Jun 24, 2014 at 05:29:44PM -0700, Dylan Baker wrote:
> what does: python -c 'import mako; print mako.__version__'
> return?
> 

$ python -c 'import mako; print mako.__version__'
0.5.0

-Tom

> 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




More information about the Piglit mailing list