This also affects pybind11 and xtensor-python autopkgtests, because
Python reports wrong include path:
$ python3.6 -c "import sysconfig; print(sysconfig.get_path('platinclude'))"
/usr/local/include/python3.6m
On Debian it prints the correct path:
$ python3.6 -c "import sysconfig; print(sysconfig.get_path('platinclude'))"
/usr/include/python3.6m
The build system uses the following code to get Python include path:
https://github.com/pybind/pybind11/blob/e763f046899ce09bf8a586ea75a7d9a9d27e70e4/tools/FindPythonLibsNew.cmake#L76
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1771044
Title:
sysconfig-debian-schemes.diff patch causes Python packages to FTBFS
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.6/+bug/1771044/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs