[Mesa-dev] [Bug 89088] Mesa fails to build if indent does not support requested arguments (eg: -nut)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Feb 11 11:06:58 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89088

            Bug ID: 89088
           Summary: Mesa fails to build if indent does not support
                    requested arguments (eg: -nut)
           Product: Mesa
           Version: 10.4
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: jeremyhu at freedesktop.org
        QA Contact: mesa-dev at lists.freedesktop.org

make[4]: Entering directory
`/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_x11_mesa/mesa/work/Mesa-10.4.4/src/mapi/glapi/gen'
/opt/local/bin/python2.7  ../../../../src/mapi/mapi_abi.py \
        --printer glapi --mode lib ./gl_and_es_API.xml >
../../../../src/mapi/glapi/glapi_mapi_tmp.h
/opt/local/bin/python2.7  gl_procs.py -c -f ./gl_and_es_API.xml >
../../../../src/mapi/glapi/glprocs.h
/opt/local/bin/python2.7  gl_apitemp.py -f ./gl_and_es_API.xml >
../../../../src/mapi/glapi/glapitemp.h
/opt/local/bin/python2.7  gl_table.py -f ./gl_and_es_API.xml >
../../../../src/mapi/glapi/glapitable.h
/opt/local/bin/python2.7  gl_gentable.py -f ./gl_and_es_API.xml >
../../../../src/mapi/glapi/glapi_gentable.c
/opt/local/bin/python2.7  gl_enums.py -f ./gl_and_es_API.xml >
../../../../src/mesa/main/enums.c
/opt/local/bin/python2.7  gl_genexec.py -f ./gl_and_es_API.xml >
../../../../src/mesa/main/api_exec.c
/opt/local/bin/python2.7  gl_table.py -f ./gl_and_es_API.xml -m remap_table >
../../../../src/mesa/main/dispatch.h
/opt/local/bin/python2.7  remap_helper.py -f ./gl_and_es_API.xml >
../../../../src/mesa/main/remap_helper.h
/opt/local/bin/python2.7  glX_proto_send.py -f ./gl_API.xml -m proto \
      | indent -i4 -nut -br -brs -npcs -ce -TGLubyte -TGLbyte -TBool >
../../../../src/glx/indirect.c
indent: Command line: unknown parameter "-nut"
Traceback (most recent call last):
  File "glX_proto_send.py", line 1126, in <module>
    printer.Print( api )
  File
"/opt/local/var/macports/build/_Users_jeremy_src_macports_trunk_dports_x11_mesa/mesa/work/Mesa-10.4.4/src/mapi/glapi/gen/gl_XML.py",
line 120, in Print
    self.printBody(api)
  File "glX_proto_send.py", line 346, in printBody
    self.printFunction(func, func.name)
  File "glX_proto_send.py", line 443, in printFunction
    self.printRenderFunction(func)
  File "glX_proto_send.py", line 901, in printRenderFunction
    self.common_emit_args(f, "gc->pc", 4, 0)
  File "glX_proto_send.py", line 492, in common_emit_args
    self.common_emit_one_arg(p, pc, adjust, extra_offset)
  File "glX_proto_send.py", line 482, in common_emit_one_arg
    % (pc, p.offset + adjust, src_ptr, p.size_string() )
IOError: [Errno 32] Broken pipe
/opt/local/bin/python2.7  glX_proto_send.py -f ./gl_API.xml -m init_h >
../../../../src/glx/indirect.h

Note that what makes this even worse is that subsequent 'make' invocations will
eventually continue because the generated header files still get created
(incorrectly) despite the error.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150211/4d5d0f3f/attachment.html>


More information about the mesa-dev mailing list