Package: python-dev
Version: 2.7.5-5
Severity: normal

Take this package:
http://archive.kali.org/kali/pool/main/p/python-guess-language/

And see how it must add "--no-guessing-versions" to its dh_python2
invocation just to work around the fact that dh_python2 incorrectly
identifies /usr/lib/python2.7/dist-packages/guess_language/trigrams/so
as a a Python extension. Even though readelf fails with:

readelf: Error: Unable to read in 0xa35 bytes of section headers
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start

And even though I tried to tell dh_python2 to ignore that file.

And the file still ends up in /usr/lib/python2.7/ intead of
/usr/lib/pyshared/ so the work-around is not really satisfactory, it only
avoids the build failure on wheezy:

E: dh_python2:145: extension for python2.6 is missing. Build extensions
for all supported Python versions (`pyversions -vr`) or adjust X-Python-Version 
field or pass --no-guessing-versions to dh_python2

Please be a bit more strict in identifying Python extensions.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-dev depends on:
ii  libpython-dev  2.7.5-5
ii  python         2.7.5-5
ii  python2.7-dev  2.7.5-8

python-dev recommends no packages.

python-dev suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to