libglvnd-git build fails on Fedora Rawhide
Similar with the issue reported on the mesa side, related to some python 3.9 deprecation: mesa/mesa#3086 (closed) which further lead to mesa/mesa!5349 (merged)
libglvnd fails when built on Fedora Rawhide because it started using python 3.9.0.
make[4]: Leaving directory '/builddir/build/BUILD/libglvnd-1.3.1/src/GLdispatch/vnd-glapi'
Traceback (most recent call last):
File "/builddir/build/BUILD/libglvnd-1.3.1/src/GLdispatch/vnd-glapi/../../../src/generate/gen_gldispatch_mapi.py", line 36, in <module>
import xml.etree.cElementTree as etree
ModuleNotFoundError: No module named 'xml.etree.cElementTree'
make[4]: *** [Makefile:1631: glapi_mapi_tmp.h] Error 1
make[4]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
File "/builddir/build/BUILD/libglvnd-1.3.1/src/GLdispatch/vnd-glapi/../../../src/generate/gen_gldispatch_mapi.py", line 36, in <module>
import xml.etree.cElementTree as etree
ModuleNotFoundError: No module named 'xml.etree.cElementTree'
make[4]: *** [Makefile:1633: g_glapi_mapi_gl_tmp.h] Error 1
make[4]: Entering directory '/builddir/build/BUILD/libglvnd-1.3.1/src/GLdispatch/vnd-glapi'
/usr/bin/python3 ../../../src/generate/gen_gldispatch_mapi.py gl ../../../src/generate/xml/gl.xml ../../../src/generate/xml/gl_other.xml > g_glapi_mapi_gl_tmp.h
make[4]: Leaving directory '/builddir/build/BUILD/libglvnd-1.3.1/src/GLdispatch/vnd-glapi'
make[3]: *** [Makefile:583: all-recursive] Error 1
make[2]: *** [Makefile:402: all-recursive] Error 1
make[1]: *** [Makefile:494: all-recursive] Error 1
make: *** [Makefile:403: all] Error 2
Example of failed build: https://copr.fedorainfracloud.org/coprs/xxmitsu/mesa-git/build/1432426/
@eric sorry for bothering you on this also :) Nothing urgent here, as glvnd moves at a slower pace than mesa. But still, would be nice to be addressed.