FTBFS with Python 3.10
The stable Automake version does not support Python 3.10, making the libxml 2.10.0 build fail with:
checking for PYTHON... no
configure: error: Package requirements (python-3.1) were not met:
No package 'python-3.1' found
or
checking for python... no
checking for python2... no
checking for python3... no
checking for python3.9... no
checking for python3.8... no
checking for python3.7... no
checking for python3.6... no
checking for python3.5... no
checking for python3.4... no
checking for python3.3... no
checking for python3.2... no
checking for python3.1... no
checking for python3.0... no
checking for python2.7... no
checking for python2.6... no
checking for python2.5... no
checking for python2.4... no
checking for python2.3... no
checking for python2.2... no
checking for python2.1... no
checking for python2.0... no
configure: error: no suitable Python interpreter found
Not sure what is the best solution since https://github.com/GNOME/libxml2/commit/d9335077dd61ec6d518fb331f2f8778837e686de, which introduced this failure is a clear improvement. Perhaps build the tarball against Automake from master or distros can cherry-pick https://github.com/autotools-mirror/automake/commit/930a9a73f4bb776ec334eff4cf6e182802841daa.
Downstream PR: https://github.com/NixOS/nixpkgs/pull/187204
Edited by Jan Tojnar