python3.X-config --includes is listing too many directories

Bug #1850049 reported by Dimitri John Ledkov on 2019-10-27
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Undecided
Unassigned
python3.7 (Ubuntu)
Undecided
Unassigned
python3.8 (Ubuntu)
Undecided
Unassigned

Bug Description

+ python2.7-config --includes
-I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7
+ set +x
+ python3.7-config --includes
-I/usr/include/python3.7m -I/usr/include/python3.7m
+ set +x
+ python3.8-config --includes
-I/usr/include/python3.8 -I/usr/include/python3.8

However, given that /usr/include/python*/pyconfig.h is now magical, imho only one include location should be printed, not two, across all pythons.

... unless of course that will break things. In that case, at least python2.7-config should also print identical duplicate.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers