Your message dated Thu, 05 Aug 2010 19:07:42 +0000
with message-id <e1oh5n4-0008b2...@franck.debian.org>
and subject line Bug#591408: fixed in python2.6 2.6.6~rc1-1
has caused the Debian Bug report #591408,
regarding Package ignores system libffi in /usr/include/x86_64-linux-gnu/
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
591408: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591408
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python2.6
Version: 2.6.5+20100630-2
Severity: serious
The python2.6 package passes the configure argument --with-system-ffi to
try to force the build to ignore its builtin "_ctypes" module and
instead link to the installed libffi on the system.
Unfortunately due to some deficiencies in the python2.6 configure
scripts it fails to detect libffi (even though it would work perfectly
if compiled), and therefore builds its own embedded copy anyways.
This violates Debian Policy section 4.13 (Convenience copies of code):
http://www.debian.org/doc/debian-policy/ch-source.html#s-embeddedfiles
The exact failure is caused by the location of the libffi header files:
/usr/include/$(gcc -dumpmachine)/ffi.h
/usr/include/$(gcc -dumpmachine)/ffitarget.h
These paths follow the MultiArch specification [0] and are automatically
searched by GCC, so a simple "#include <ffi.h>" works automatically.
Unfortunately the python2.6 package seems to search by hand for "ffi.h"
in /usr/include and /usr/local/include, and when it does not find it in
either of those locations it assumes it is not present.
This also causes problems for new Debian ports which have successfully
patched libffi to work under their architecture, as Python will ignore
the functional system libffi and also quietly fail to build the "_ctypes"
module, resulting in a partially-dysfunctional Python installation.
Additional testing reveals that python2.5 also has this problem,
although it appears to be fixed in python3.1.
Cheers,
Kyle Moffett
--- End Message ---
--- Begin Message ---
Source: python2.6
Source-Version: 2.6.6~rc1-1
We believe that the bug you reported is fixed in the latest version of
python2.6, which is due to be installed in the Debian FTP archive:
idle-python2.6_2.6.6~rc1-1_all.deb
to main/p/python2.6/idle-python2.6_2.6.6~rc1-1_all.deb
libpython2.6_2.6.6~rc1-1_amd64.deb
to main/p/python2.6/libpython2.6_2.6.6~rc1-1_amd64.deb
python2.6-dbg_2.6.6~rc1-1_amd64.deb
to main/p/python2.6/python2.6-dbg_2.6.6~rc1-1_amd64.deb
python2.6-dev_2.6.6~rc1-1_amd64.deb
to main/p/python2.6/python2.6-dev_2.6.6~rc1-1_amd64.deb
python2.6-doc_2.6.6~rc1-1_all.deb
to main/p/python2.6/python2.6-doc_2.6.6~rc1-1_all.deb
python2.6-examples_2.6.6~rc1-1_all.deb
to main/p/python2.6/python2.6-examples_2.6.6~rc1-1_all.deb
python2.6-minimal_2.6.6~rc1-1_amd64.deb
to main/p/python2.6/python2.6-minimal_2.6.6~rc1-1_amd64.deb
python2.6_2.6.6~rc1-1.diff.gz
to main/p/python2.6/python2.6_2.6.6~rc1-1.diff.gz
python2.6_2.6.6~rc1-1.dsc
to main/p/python2.6/python2.6_2.6.6~rc1-1.dsc
python2.6_2.6.6~rc1-1_amd64.deb
to main/p/python2.6/python2.6_2.6.6~rc1-1_amd64.deb
python2.6_2.6.6~rc1.orig.tar.gz
to main/p/python2.6/python2.6_2.6.6~rc1.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 591...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Matthias Klose <d...@debian.org> (supplier of updated python2.6 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 05 Aug 2010 17:46:59 +0200
Source: python2.6
Binary: python2.6 python2.6-minimal libpython2.6 python2.6-examples
python2.6-dev idle-python2.6 python2.6-doc python2.6-dbg
Architecture: source all amd64
Version: 2.6.6~rc1-1
Distribution: unstable
Urgency: low
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Description:
idle-python2.6 - An IDE for Python (v2.6) using Tkinter
libpython2.6 - Shared Python runtime library (version 2.6)
python2.6 - An interactive high-level object-oriented language (version 2.6)
python2.6-dbg - Debug Build of the Python Interpreter (version 2.6)
python2.6-dev - Header files and a static library for Python (v2.6)
python2.6-doc - Documentation for the high-level object-oriented language
Python
python2.6-examples - Examples for the Python language (v2.6)
python2.6-minimal - A minimal subset of the Python language (version 2.6)
Closes: 588342 591408 591720
Changes:
python2.6 (2.6.6~rc1-1) unstable; urgency=low
.
* Python 2.6.6 release candidate 1.
- Fix issue #4108: In urllib.robotparser, if there are multiple
'User-agent: *' entries, consider the first one.
- Fix issue #9354: Provide getsockopt() in asyncore's file_wrapper.
- Fix issue #8417: Raise an OverflowError when an integer larger than
sys.maxsize is passed to bytearray.
- Fix issue #2944: asyncore doesn't handle connection refused correctly.
- Fix ssue #8447: Make distutils.sysconfig follow symlinks in the path to
the interpreter executable. This fixes a failure of test_httpservers
on OS X.
- Fix issue #7092: Fix the DeprecationWarnings emitted by the standard
library when using the -3 flag.
- Fix issue #7395: Fix tracebacks in pstats interactive browser.
- Fix issue #1713: Fix os.path.ismount(), which returned true for
symbolic links across devices.
- Fix issue #8826: Properly load old-style "expires" attribute in
http.cookies.
- Fix issue #1690103: Fix initial namespace for code run with trace.main().
- Fix isssue #5294: Fix the behavior of pdb's "continue" command when
called
in the top-level debugged frame.
- Fix issue #5727: Restore the ability to use readline when calling into
pdb
in doctests.
- Fix issue #6719: In pdb, do not stop somewhere in the encodings machinery
if the source file to be debugged is in a non-builtin encoding.
- Fix issue #8048: Prevent doctests from failing when sys.displayhook has
been reassigned.
- Fix issue #8015: In pdb, do not crash when an empty line is entered as
a breakpoint command.
- Fix issue #7909: Do not touch paths with the special prefixes ``\\.\``
or ``\\?\`` in ntpath.normpath().
- Fix issue #5146: Handle UID THREAD command correctly in imaplib.
- Fix issue #5147: Fix the header generated for cookie files written by
http.cookiejar.MozillaCookieJar.
- Fix issue #8198: In pydoc, output all help text to the correct stream
when sys.stdout is reassigned.
- Fix issue #1019882: Fix IndexError when loading certain hotshot stats.
- Fix issue #8471: In doctest, properly reset the output stream to an empty
string when Unicode was previously output.
- Fix issue #8397: Raise an error when attempting to mix iteration
and regular reads on a BZ2File object, rather than returning
incorrect results.
- Fix issue #8620: when a Cmd is fed input that reaches EOF without a final
newline, it no longer truncates the last character of the last command
line.
- Fix issue #7066: archive_util.make_archive now restores the cwd
if an error is raised.
- Fix memory leak in ssl._ssl._test_decode_cert.
- Fix issue #9255: Document that the 'test' package is for internal
Python use only.
* Fix detection of ffi.h header file. Closes: #591408.
* Move '/usr/local/.../dist-packages' before '/usr/lib/.../dist-packages'
in sys.path. Closes: #588342.
* python2-6-dev: Depend on libssl-dev. LP: #611845.
* Disable the profiled build on sparc64. Closes: #591720.
Checksums-Sha1:
99c951a6256db542817ddd4edf12d1e218552210 1812 python2.6_2.6.6~rc1-1.dsc
4ca1c63ca3a47c58883a03716c955bb829246405 13407287
python2.6_2.6.6~rc1.orig.tar.gz
6c7ef04a7ebdd480c25f6b3873422f7ccf62dc49 253972 python2.6_2.6.6~rc1-1.diff.gz
5218f8368e829879dc96d189bdf6b93ac5a35c81 692022
python2.6-examples_2.6.6~rc1-1_all.deb
b89e3edc9d00f8d544c73366d81501cb717102ef 292288
idle-python2.6_2.6.6~rc1-1_all.deb
4fda8bf29defff206d04eed5b632fee7824c6376 5722372
python2.6-doc_2.6.6~rc1-1_all.deb
54543c14ff4f303a118b08e029af1cca72bb9419 2512882
python2.6_2.6.6~rc1-1_amd64.deb
30b64739ccf396608bb22f17eb9267f5c1c42f52 1517952
python2.6-minimal_2.6.6~rc1-1_amd64.deb
2cff4e0f897d2a227fa28e1482a240dcb7ef3cb2 1076772
libpython2.6_2.6.6~rc1-1_amd64.deb
7a6b8e3f4c01691cebcb20b34f7ac153ec73bcf4 4784646
python2.6-dev_2.6.6~rc1-1_amd64.deb
ad86bee580b8363703dbca2046e9142d8d64661f 13788950
python2.6-dbg_2.6.6~rc1-1_amd64.deb
Checksums-Sha256:
5c112309d3ae92b9e4c3ea38de898f7fa27501005fb86433dccdfaee9bcdc624 1812
python2.6_2.6.6~rc1-1.dsc
b56792656d47d264bd4c7bed316913b1f7fd8f2ee835a0c550d0e72c2c5570f6 13407287
python2.6_2.6.6~rc1.orig.tar.gz
2777b23bbd3edb7a018e1ff830dc0f828210e9cd9b136a9380e50f4cedb71937 253972
python2.6_2.6.6~rc1-1.diff.gz
4c871cd84a8dde7b8e739ca423b5f3048d10caba87a2f617099113b560a4ea32 692022
python2.6-examples_2.6.6~rc1-1_all.deb
3b4476226cd42af80c9b026d6a61fe151985b1738d40b81da438f55097bd4182 292288
idle-python2.6_2.6.6~rc1-1_all.deb
ceb1dad0c9b13777263f3b62351b069df72d6c4cea598b4f46a52e4147c43ddc 5722372
python2.6-doc_2.6.6~rc1-1_all.deb
3f1902f7657e806e3f4b52ab723139cb1c46481b110c76ed7b4665ed82b9f9c6 2512882
python2.6_2.6.6~rc1-1_amd64.deb
3538bc81166b6106504ae69c2d293ae31a924b6bebf72933a10827a353ae9ff4 1517952
python2.6-minimal_2.6.6~rc1-1_amd64.deb
793ebdb71c51b6ee89061d77d7525a290b32cb83f6686c76b9609c1f97fa3383 1076772
libpython2.6_2.6.6~rc1-1_amd64.deb
cb4e5da4bc39dbb2d9a9aaaff7b0db6b31350a9eb15a104aabe3593e7139af74 4784646
python2.6-dev_2.6.6~rc1-1_amd64.deb
027ef1810568d8b0436b49498a5a14b1ff0c5978f4d9c060c08802c84079958b 13788950
python2.6-dbg_2.6.6~rc1-1_amd64.deb
Files:
6a45972e74346fd13d5989c201350bde 1812 python optional python2.6_2.6.6~rc1-1.dsc
9609e03ee804a63514bfdb7839a1129b 13407287 python optional
python2.6_2.6.6~rc1.orig.tar.gz
319e95d29cd3ed9f7a6c6661cd7f1e51 253972 python optional
python2.6_2.6.6~rc1-1.diff.gz
214a34e1fe2cd743de599f0120dc3560 692022 python optional
python2.6-examples_2.6.6~rc1-1_all.deb
e0355da864477e50e2a5aba944c5fed0 292288 python optional
idle-python2.6_2.6.6~rc1-1_all.deb
9fc5a1c9bf33b7eafc7f8df259300545 5722372 doc optional
python2.6-doc_2.6.6~rc1-1_all.deb
31255fe3f541b904bf3f340024e8b7cd 2512882 python optional
python2.6_2.6.6~rc1-1_amd64.deb
dea5dd5d85145392f0433be85d1940ab 1517952 python optional
python2.6-minimal_2.6.6~rc1-1_amd64.deb
4f02623c1804d12c1e78401ac81f5ea0 1076772 libs optional
libpython2.6_2.6.6~rc1-1_amd64.deb
de225e3ffa2e9c9b9853d52c15a454aa 4784646 python optional
python2.6-dev_2.6.6~rc1-1_amd64.deb
e5d766122fb8ece89c6bfb8f0567235d 13788950 debug extra
python2.6-dbg_2.6.6~rc1-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkxbB4gACgkQStlRaw+TLJxUhQCfTIpVdgSIaOjnz85yri/Hwkwl
vkgAnAw8tZQ7GyCyz1w2VGOCazDRqFY6
=qAY2
-----END PGP SIGNATURE-----
--- End Message ---