Bug 31161 - compilation fails with "except getopt.GetoptError"
Summary: compilation fails with "except getopt.GetoptError"
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 08:03 UTC by Martin Stolpe
Modified: 2010-10-30 10:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Martin Stolpe 2010-10-27 08:03:43 UTC
Here is the complete error message:

python -t -O -O main/es_generator.py -S main/APIspec.xml -V GLES1.1 > main/api_exec_es1.c
  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.
make[2]: Leaving directory `/home/martin/abs/xorg/mesa-full-gallium/src/mesa-build/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/martin/abs/xorg/mesa-full-gallium/src/mesa-build/src'
make: *** [default] Error 1


and these are my autogen.sh settings:
	./autogen.sh --prefix=/usr \
	--with-dri-driverdir=/usr/lib/xorg/modules/dri \
	--with-dri-drivers= \
	--enable-glx-tls \
	--disable-debug  \
	--enable-xcb \
	--enable-gallium-r600 \
	--with-state-trackers=dri,vega
Comment 1 Martin Stolpe 2010-10-30 09:11:33 UTC
Has been fixed in in some recent version.

Needs --enable-openvg as autogen.sh option.
Comment 2 Chia-I Wu 2010-10-30 10:40:45 UTC
Just to keep a record.  This looks more like a python2 vs. python3 issue.  See 3acc8265200295265b476222299a013791050b73.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.