[Bug 1850049] [NEW] python3.X-config --includes is listing too many directories

Dimitri John Ledkov launchpad at surgut.co.uk
Sun Oct 27 14:37:40 UTC 2019


Public bug reported:

+ 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.

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python3.7 (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: python3.8 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: python3.8 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: python2.7 (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1850049

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

Status in python2.7 package in Ubuntu:
  New
Status in python3.7 package in Ubuntu:
  New
Status in python3.8 package in Ubuntu:
  New

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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1850049/+subscriptions



More information about the foundations-bugs mailing list