Your message dated Sat, 07 Aug 2010 21:17:33 +0000
with message-id <e1ohqlp-00032v...@franck.debian.org>
and subject line Bug#591408: fixed in python2.7 2.7-3
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.7
Source-Version: 2.7-3

We believe that the bug you reported is fixed in the latest version of
python2.7, which is due to be installed in the Debian FTP archive:

idle-python2.7_2.7-3_all.deb
  to main/p/python2.7/idle-python2.7_2.7-3_all.deb
libpython2.7_2.7-3_amd64.deb
  to main/p/python2.7/libpython2.7_2.7-3_amd64.deb
python2.7-dbg_2.7-3_amd64.deb
  to main/p/python2.7/python2.7-dbg_2.7-3_amd64.deb
python2.7-dev_2.7-3_amd64.deb
  to main/p/python2.7/python2.7-dev_2.7-3_amd64.deb
python2.7-doc_2.7-3_all.deb
  to main/p/python2.7/python2.7-doc_2.7-3_all.deb
python2.7-examples_2.7-3_all.deb
  to main/p/python2.7/python2.7-examples_2.7-3_all.deb
python2.7-minimal_2.7-3_amd64.deb
  to main/p/python2.7/python2.7-minimal_2.7-3_amd64.deb
python2.7_2.7-3.diff.gz
  to main/p/python2.7/python2.7_2.7-3.diff.gz
python2.7_2.7-3.dsc
  to main/p/python2.7/python2.7_2.7-3.dsc
python2.7_2.7-3_amd64.deb
  to main/p/python2.7/python2.7_2.7-3_amd64.deb



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.7 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: Sat, 07 Aug 2010 21:28:04 +0200
Source: python2.7
Binary: python2.7 python2.7-minimal libpython2.7 python2.7-examples 
python2.7-dev idle-python2.7 python2.7-doc python2.7-dbg
Architecture: source all amd64
Version: 2.7-3
Distribution: experimental
Urgency: low
Maintainer: Matthias Klose <d...@debian.org>
Changed-By: Matthias Klose <d...@debian.org>
Description: 
 idle-python2.7 - An IDE for Python (v2.7) using Tkinter
 libpython2.7 - Shared Python runtime library (version 2.7)
 python2.7  - An interactive high-level object-oriented language (version 2.7)
 python2.7-dbg - Debug Build of the Python Interpreter (version 2.7)
 python2.7-dev - Header files and a static library for Python (v2.7)
 python2.7-doc - Documentation for the high-level object-oriented language 
Python
 python2.7-examples - Examples for the Python language (v2.7)
 python2.7-minimal - A minimal subset of the Python language (version 2.7)
Closes: 591408
Changes: 
 python2.7 (2.7-3) experimental; urgency=low
 .
   * Update to 20100807, taken from the 2.7 branch.
   * Move '/usr/local/.../dist-packages' before '/usr/lib/.../dist-packages'
     in sys.path. Adresses: #588342.
   * Fix detection of ffi.h header file. Closes: #591408.
   * python2-7-dev: Depend on libssl-dev. LP: #611845.
Checksums-Sha1: 
 db3e7b2764600b4410bd9155da0935ccb07e243a 1770 python2.7_2.7-3.dsc
 6400f8a244de2bb22a3f19eee260215eb11eaf36 311759 python2.7_2.7-3.diff.gz
 ade1c1901e141ef9cd54882a979ea01e7b01fd2b 709048 
python2.7-examples_2.7-3_all.deb
 a062b70a5b34680a12fba042aa7917060cb485b7 289474 idle-python2.7_2.7-3_all.deb
 3b7ef34cb6f4bccd0ca5fac98a55442261aa5bc5 6037748 python2.7-doc_2.7-3_all.deb
 afcc156728d0c51396b1f67264aef76a82be85b0 2648768 python2.7_2.7-3_amd64.deb
 cc6cec6c11e78cdb406cc9dd4e7b399e79f126fa 1646326 
python2.7-minimal_2.7-3_amd64.deb
 8a57a1c926d97fe91b2024126a303e4d8f9f89b3 1171100 libpython2.7_2.7-3_amd64.deb
 07b5709246c7f00c1cea46c3b6e74ea070b58493 5125836 python2.7-dev_2.7-3_amd64.deb
 c655ffafd0c2e2ccc043f78aeda13c3534f0df8e 12692034 python2.7-dbg_2.7-3_amd64.deb
Checksums-Sha256: 
 1edee6e5de001e7a907c8004fa2a4517a14341f1d0393bf46f3556c07b03a5d2 1770 
python2.7_2.7-3.dsc
 957525ce0027732bbda9ba1f641b28128add4fdbcdd8477ae4f36eff11f6a635 311759 
python2.7_2.7-3.diff.gz
 31f6d343327d5b37dc5f0ae171f701a1f73dab9a34ce1ffb10a3a80dff72a5c9 709048 
python2.7-examples_2.7-3_all.deb
 a99fbc46eab0dc36b29fe9473113fb4f42dfd0deb52047a201e89c27711bfb8c 289474 
idle-python2.7_2.7-3_all.deb
 91af996b5664cc945334a8f142ff595d9ce3592e5fb509f606bcc3e6f85a80fa 6037748 
python2.7-doc_2.7-3_all.deb
 6b0c2df16e5432174846efce9d17116866a6776a217ffeeaf45541d7fa42c7c6 2648768 
python2.7_2.7-3_amd64.deb
 ea38d485ca58707c8312af52ecf969f7d6b2358b6625599d490d7cf2defae58d 1646326 
python2.7-minimal_2.7-3_amd64.deb
 8e60d46c0757ef17c7fdba3b2d7beab639a67d14a3a08265b0d6ccbfb789d1f4 1171100 
libpython2.7_2.7-3_amd64.deb
 046ff4203844858dc674a58f867512a53650dd60d511ed64144a95ea26c8f924 5125836 
python2.7-dev_2.7-3_amd64.deb
 fb7c0ccc5c0b85ad1be79a135fec1629f3e914ee1747e61fdc05e4be203e1825 12692034 
python2.7-dbg_2.7-3_amd64.deb
Files: 
 0584561006ce75ef20dc666c02c5ee1d 1770 python optional python2.7_2.7-3.dsc
 9b083719a3ef06a4bce4ed82b2a5f452 311759 python optional python2.7_2.7-3.diff.gz
 7ba057274bb856c90c491c7eede0f522 709048 python optional 
python2.7-examples_2.7-3_all.deb
 96946886ed6e38ed136feb6f863c06e0 289474 python optional 
idle-python2.7_2.7-3_all.deb
 01e8e036c69eb7c36acae1f0c217f250 6037748 doc optional 
python2.7-doc_2.7-3_all.deb
 f798a74471ad6234f4556bce67de6fd2 2648768 python optional 
python2.7_2.7-3_amd64.deb
 6e69dfe53d367fa5f61442ad47223682 1646326 python optional 
python2.7-minimal_2.7-3_amd64.deb
 623b0bd83e2ce330a9a135fdaaeaea95 1171100 libs optional 
libpython2.7_2.7-3_amd64.deb
 298573eec6a19ae2548ff4313470e717 5125836 python optional 
python2.7-dev_2.7-3_amd64.deb
 daf006ef603860ae816ec53e18b25f81 12692034 debug extra 
python2.7-dbg_2.7-3_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxdyXcACgkQStlRaw+TLJwGHACgsX9eaAplydhlqFCQAA02tU2T
daUAoIXBwrOP+Lh4I1okk1+O7qhwk7Xd
=cbGG
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to