<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - IOError: [Errno 2] No such file or directory: 'gl_API.xml'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90600#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - IOError: [Errno 2] No such file or directory: 'gl_API.xml'"
href="https://bugs.freedesktop.org/show_bug.cgi?id=90600">bug 90600</a>
from <span class="vcard"><a class="email" href="mailto:vlee@freedesktop.org" title="Vinson Lee <vlee@freedesktop.org>"> <span class="fn">Vinson Lee</span></a>
</span></b>
<pre>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>
main()
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
parse_known_args
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
argparse.
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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>