The first line of itstool  is
It should instead be
to ensure compatibility with systems where "python" refers to Python 3. See .
Created attachment 73025 [details] [review]
Update itstool shebang to force usage of python2
I just had the issue on ArchLinux, which switched to Python 3 as default for a while.
After https://gitorious.org/itstool/itstool/commit/1cce05f8c3d2b52f030b3e253d37ae5a6eee8003 this is resolved; the user can run
PYTHON=/usr/bin/python2 ./configure ...
The check for libxml2 does not use the $PYTHON version discovered from AutoConf
I built a patch for this on gitorious under rickmarks-itstool that changes the check to use $PYTHON, works for me with a dual python 2 and 3 system correctly
Created attachment 103408 [details] [review]
Fix for libxml2 discovery
Here's a patch to fix the libxml2 discovery
I think only Richard's patch is needed nowadays, and it's identical to my patch in bug #73491, so let's use that bug instead.
*** This bug has been marked as a duplicate of bug 73491 ***
on Feb 28, 2017 at 14:39:55.
(provided by the Example extension).