[Bug 1094246] Re: distutils.sysconfig.get_python_inc() does not include arch specific directory, causing FTBFS

Martin Pitt martin.pitt at ubuntu.com
Fri Dec 28 13:09:32 UTC 2012


Actually calibre uses python2.7, but both 2.7 and 3.3 have the same
problem.

** 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 python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/1094246

Title:
  distutils.sysconfig.get_python_inc() does not include arch specific
  directory, causing FTBFS

Status in “python2.7” package in Ubuntu:
  New
Status in “python3.3” package in Ubuntu:
  New

Bug description:
  Packages like calibre call this to determine the include directory:

  $ python3 -c 'import distutils.sysconfig; print(distutils.sysconfig.get_python_inc())'
  /usr/include/python3.3m

  This does not work any more with the multiarch split, as using this
  directory does not find pyconfig.h; that is shipped in
  /usr/include/x86_64-linux-gnu/python3.3m/ now.

  This is one of several occasions where splitting the include files has
  caused FTBFS. Would it not be cleaner to ship them all in one arch
  specific directory if we really must be able to install -dev for
  several architectures at once?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/1094246/+subscriptions




More information about the foundations-bugs mailing list