[Bug 1094246] Re: distutils.sysconfig.get_python_inc() does not include arch specific directory, causing FTBFS
Launchpad Bug Tracker
1094246 at bugs.launchpad.net
Fri Dec 28 17:43:13 UTC 2012
This bug was fixed in the package calibre - 0.9.11+dfsg-1
---------------
calibre (0.9.11+dfsg-1) unstable; urgency=low
* New upstream release.
* Add missing python-cssselect dependency.
* Add python_multiarch_inc.patch: Use python-config instead of
sysconfig.get_python_inc(), as the latter does not work with
multiarch-split include files. (LP: #1094246)
-- Martin Pitt <mpitt at debian.org> Fri, 28 Dec 2012 14:31:49 +0100
** Changed in: calibre (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:
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/calibre/+bug/1094246/+subscriptions
More information about the foundations-bugs
mailing list