[Mesa-dev] [Bug 50484] New: Mesa build fails if no `indent` available

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 29 21:15:43 PDT 2012


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

             Bug #: 50484
           Summary: Mesa build fails if no `indent` available
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: ojab at ojab.ru


There is no `indent` installed in my system and mesa build fails with:

python -t -O -O glX_proto_send.py -m proto | indent -i4 -nut -br -brs -npcs -ce
-T GLubyte -T GLbyte -T Bool > ../../../../src/glx/indirect.c
/bin/sh: indent: command not found
Traceback (most recent call last):
  File "glX_proto_send.py", line 1097, in <module>
    printer.Print( api )
  File "/sources/mesa/src/mapi/glapi/gen/gl_XML.py", line 121, in Print
    self.printHeader()
  File "/sources/mesa/src/mapi/glapi/gen/gl_XML.py", line 141, in printHeader
    self.printRealHeader();
  File "glX_proto_send.py", line 308, in printRealHeader
    """
IOError: [Errno 32] Broken pipe
make[2]: *** [../../../../src/glx/indirect.c] Error 127
make[2]: Leaving directory `/sources/mesa/src/mapi/glapi/gen'


since:

0ce0f7c0c8fa9902678af7f3ecad2541be5808d2 is the first bad commit
commit 0ce0f7c0c8fa9902678af7f3ecad2541be5808d2
Author: Eric Anholt <eric at anholt.net>
Date:   Tue May 15 13:06:22 2012 -0700

    mesa: Remove the generated glapi from source control, and just build it.

    Mesa already always depends on python to build.  The checked in
    changes are not reviewed (because any trivial change rewrites the
    world).  We also have been pushing commits between xml change and
    regen where at-build-time xml-generated code disagrees with committed
    xml-generated code.  And worst of all, sometimes we ("I") check in
    *stale* xml-generated code.

    Acked-by: Ian Romanick <ian.d.romanick at intel.com>

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list