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

Launchpad Bug Tracker 1094246 at bugs.launchpad.net
Thu Jan 24 22:55:17 UTC 2013


This bug was fixed in the package python2.7 - 2.7.3-15ubuntu1

---------------
python2.7 (2.7.3-15ubuntu1) raring; urgency=low

  * Build-depend on python:any instead of python.

python2.7 (2.7.3-15) experimental; urgency=low

  * Update to 20130124, taken from the 2.7 branch.
    - Issue #14850: Now a charmap decoder treats U+FFFE as "undefined mapping"
      in any mapping, not only in a Unicode string.
    - Issue #11461: Fix the incremental UTF-16 decoder.
    - Issue #1159051: GzipFile now raises EOFError when reading a corrupted
      file with truncated header or footer.
    - Issue #16992: On Windows in signal.set_wakeup_fd, validate the file
      descriptor argument.
    - Issue #15861: tkinter now correctly works with lists and tuples
      containing strings with whitespaces, backslashes or unbalanced braces.
    - Issue #10527: Use poll() instead of select() for multiprocessing pipes.
    - Issue #9720: zipfile now writes correct local headers for files larger
      than 4 GiB.
    - Issue #16829: IDLE printing no longer fails if there are spaces or other
      special characters in the file path.
    - Issue #13899: \A, \Z, and \B now correctly match the A, Z, and B literals
      when used inside character classes (e.g. '[\A]').
    - Issue #16398: Optimize deque.rotate() so that it only moves pointers
      and doesn't touch the underlying data with increfs and decrefs.
    - Issue #15109: Fix regression in sqlite3's iterdump method where it would
      die with an encoding error if the database contained string values
      containing non-ASCII.
    - Issue #15545: Fix regression in sqlite3's iterdump method where it was
      failing if the connection used a row factory (such as sqlite3.Row) that
      produced unsortable objects.
    - Issue #16953: Fix socket module compilation on platforms with
      HAVE_BROKEN_POLL.
    - Issue #16836: Enable IPv6 support even if IPv6 is disabled on the
      build host.
    - Issue #15539: Fix a number of bugs in Tools/scripts/pindent.py.
  * Backport cross-build support from python3.3.
  * Add pyconfig.h compatibility headers. Closes: #695667. LP: #1094246.
 -- Matthias Klose <doko at ubuntu.com>   Thu, 24 Jan 2013 15:55:46 +0100

** Changed in: python2.7 (Ubuntu)
       Status: New => Fix Released

-- 
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 “calibre” package in Ubuntu:
  Fix Released
Status in “python2.7” package in Ubuntu:
  Fix Released
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/calibre/+bug/1094246/+subscriptions




More information about the foundations-bugs mailing list