Package: python2.7
Version: 2.7.5-6
Severity: important
Tags: patch

Python 2.7 on sparc64 tries to get the headers in the <sparc-linux-gnu>
directory instead of the <sparc64-linux-gnu>. This is due to
__sparc__ matching both sparc and sparc64. The patch below fixes the
issue, could you please include it in the next upload? Thanks.

diff -u python2.7-2.7.5/debian/multiarch.h.in 
python2.7-2.7.5/debian/multiarch.h.in
--- python2.7-2.7.5/debian/multiarch.h.in
+++ python2.7-2.7.5/debian/multiarch.h.in
@@ -51,10 +51,10 @@
 #  include <s390-linux-gnu/@subdir@/@header@>
 # elif defined(__sh__) && defined(__LITTLE_ENDIAN__)
 #  include <sh4-linux-gnu/@subdir@/@header@>
+# elif defined(__sparc__) && defined(__arch64__)
+#  include <sparc64-linux-gnu/@subdir@/@header@>
 # elif defined(__sparc__)
 #  include <sparc-linux-gnu/@subdir@/@header@>
-# elif defined(__sparc64__)
-#  include <sparc64-linux-gnu/@subdir@/@header@>
 # else
 #   error unknown multiarch location for @header@
 # endif

-- System Information:
Debian Release: jessie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: sparc64

Kernel: Linux 3.2.0-4-sparc64
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 python2.7 depends on:
ii  libpython2.7-stdlib  2.7.5-6
ii  mime-support         3.54
ii  python2.7-minimal    2.7.5-6

python2.7 recommends no packages.

Versions of packages python2.7 suggests:
ii  binutils       2.23.52.20130620-1
pn  python2.7-doc  <none>

-- no debconf information


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

Reply via email to