[Mesa-dev] [Bug 90600] IOError: [Errno 2] No such file or directory: 'gl_API.xml'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 25 12:27:08 PDT 2015


--- Comment #10 from Vinson Lee <vlee at freedesktop.org> ---
Reverting commit cf718cc964f86dc49c1fc9ed5e39aa5bd87ad931 triggers a similar
build error in another file.

Traceback (most recent call last):
  File "src/mapi/glapi/gen/remap_helper.py", line 199, in <module>
  File "src/mapi/glapi/gen/remap_helper.py", line 189, in main
    args = _parser()
  File "src/mapi/glapi/gen/remap_helper.py", line 184, in _parser
    return parser.parse_args()
  File "/usr/lib/python2.6/site-packages/argparse.py", line 1703, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python2.6/site-packages/argparse.py", line 1725, in
    default = self._get_value(action, default)
  File "/usr/lib/python2.6/site-packages/argparse.py", line 2248, in _get_value
    result = type_func(arg_string)
  File "src/mapi/glapi/gen/gl_XML.py", line 42, in parse_GL_API
    api.parse_file( file_name )
  File "src/mapi/glapi/gen/gl_XML.py", line 899, in parse_file
    doc = ET.parse( file_name )
  File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 862, in parse
    tree.parse(source, parser)
  File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 579, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: 'gl_API.xml'

The recent changes must be running into a bug with older versions of Python

I tested out different Python versions. The build fails with Python <= 2.7.3. A
build using Python >= 2.7.4 passes. With Python 2.6 even the latest argparse
1.3.0 module fails.

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/20150525/525cfca6/attachment-0001.html>

More information about the mesa-dev mailing list