[Mesa-dev] [Bug 30783] Mesa git fails to build

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Oct 11 23:41:03 PDT 2010


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

--- Comment #5 from Chia-I Wu <olvaffe at gmail.com> 2010-10-11 23:41:03 PDT ---
(In reply to comment #0)
> Created an attachment (id=39351)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=39351)
> config.log
> 
> I am getting the following error when building
> 
> make[2]: Entering directory
> `/home/andrew/aur/mesa-r600-r700-git/src/mesa-build/src/mesa'
> python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES1.1 >
> main/api_exec_es1.c
> python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES2.0 >
> main/api_exec_es2.c
>   File "main/es_generator.py", line 134
>     except getopt.GetoptError message:
>                                     ^
I was wondering whether python 3 changed the syntax for exception catching. 
But having a closer look, line 134 should be

  "except getopt.GetoptError, message:"

The comma is missing in your build?
> SyntaxError: invalid syntax
>   File "main/es_generator.py", line 134
>     except getopt.GetoptError message:
>                                     ^
> SyntaxError: invalid syntax
> make[2]: *** No rule to make target `main/api_exec_es1.c', needed by `depend'. 
> Stop.

-- 
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