sysconfig-debian-schemes.diff patch causes Python packages to FTBFS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python3.6 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
redshift (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
This weekend, we noticed that link-grammar fails to build from source because of a change in python3.6. I've now found a second case with redshift.
These packages still build in Debian unstable. Therefore, it looks like the sysconfig-
The "fix" for link-grammar looks wrong. It does not feel like it would be an improvement to update all affected packages like this.
It's interesting that autopkgtest did its job here by link-grammar failing its tests but the failure was basically quickly ignored.
References
==========
https:/
https:/
https:/
https:/
description: | updated |
tags: | added: block-proposed |
Changed in redshift (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
tags: | removed: block-proposed cosmic ftbfs |
Changed in python3.6 (Ubuntu): | |
status: | Fix Committed → Fix Released |
This also affects pybind11 and xtensor-python autopkgtests, because Python reports wrong include path:
$ python3.6 -c "import sysconfig; print(sysconfig .get_path( 'platinclude' ))" include/ python3. 6m
/usr/local/
On Debian it prints the correct path:
$ python3.6 -c "import sysconfig; print(sysconfig .get_path( 'platinclude' ))" python3. 6m
/usr/include/
The build system uses the following code to get Python include path:
https:/ /github. com/pybind/ pybind11/ blob/e763f04689 9ce09bf8a586ea7 5a7d9a9d27e70e4 /tools/ FindPythonLibsN ew.cmake# L76