When trying to configure pycairo for Python3 'waf configure' fails if /usr/bin/python is a Python2 binary. For compatibility with PEP-394 waf should first look for /usr/bin/python3 or another `python3` binary.
Since 1.11 pycairo uses distutils for building. There is a good chance that this bug no longer occurs with the new system. If there are still problems please file a bug: https://github.com/pygobject/pycairo/issues
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.