Your message dated Tue, 26 Aug 2014 19:53:55 +0000
with message-id <[email protected]>
and subject line Bug#756403: fixed in python-numpy 1:1.8.2-2
has caused the Debian Bug report #756403,
regarding python-numpy: fix FTBFS on ppc64el (patch available)
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 [email protected]
immediately.)


-- 
756403: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756403
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:python-numpy
Version: 1:1.8.1-1
Tags: patch
User: [email protected]
Usertags: ppc64el

Hi,

The patch attached fixes a build error on ppc64el [1], which has been
fixed upstream on 1.9.0 (trivial backport).

May you please consider it for an upload?


With it applied the build finishes successfully, with the following
test-suite summary:

        Ran 5301 tests in 364.252s

        OK (KNOWNFAIL=9, SKIP=6)

Thanks!


[1] http://ftp.unicamp.br/pub/ppc64el/debian/buildd-upstream/build_logs/logs/python-numpy_1.8.1-1_ppc64el.build


--
Mauricio Faria de Oliveira
IBM Linux Technology Center
diff -Nru python-numpy-1.8.1/debian/changelog 
python-numpy-1.8.1/debian/changelog
--- python-numpy-1.8.1/debian/changelog 2014-03-27 16:25:19.000000000 -0300
+++ python-numpy-1.8.1/debian/changelog 2014-07-29 11:16:27.000000000 -0300
@@ -1,3 +1,10 @@
+python-numpy (1:1.8.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * ppc64el_support.patch: fix FTBFS on ppc64el, backport from 1.9.0
+
+ -- Mauricio Faria de Oliveira <[email protected]>  Tue, 29 Jul 2014 
11:14:56 -0300
+
 python-numpy (1:1.8.1-1) unstable; urgency=medium
 
   * New upstream bugfix release
diff -Nru python-numpy-1.8.1/debian/patches/ppc64el-support.patch 
python-numpy-1.8.1/debian/patches/ppc64el-support.patch
--- python-numpy-1.8.1/debian/patches/ppc64el-support.patch     1969-12-31 
21:00:00.000000000 -0300
+++ python-numpy-1.8.1/debian/patches/ppc64el-support.patch     2014-07-29 
11:13:19.000000000 -0300
@@ -0,0 +1,131 @@
+Description: Add support to ppc64el.
+ This is a trivial backport of the upstream patch:
+ $ curl 
https://github.com/numpy/numpy/commit/2ba74c397a5d840665d07f4fc3b2fa00214d1fcd.patch
 
+     | filterdiff --clean -x '*/doc/release/1.9.0-notes.rst'
+Origin: backport, 
https://github.com/numpy/numpy/commit/2ba74c397a5d840665d07f4fc3b2fa00214d1fcd
+Last-Update: 2014-07-29
+From 2ba74c397a5d840665d07f4fc3b2fa00214d1fcd Mon Sep 17 00:00:00 2001
+From: William Grant <[email protected]>
+Date: Thu, 20 Mar 2014 08:44:31 +0100
+Subject: [PATCH] Adding support of ppc64le architecture
+
+Signed-off-by: William Grant <[email protected]>
+Signed-off-by: Michel Normand <[email protected]>
+---
+ doc/release/1.9.0-notes.rst               | 3 +++
+ numpy/core/include/numpy/npy_cpu.h        | 3 +++
+ numpy/core/include/numpy/npy_endian.h     | 3 ++-
+ numpy/core/setup.py                       | 2 +-
+ numpy/core/setup_common.py                | 4 ++++
+ numpy/core/src/npymath/ieee754.c.src      | 3 ++-
+ numpy/core/src/npymath/npy_math_private.h | 3 ++-
+ numpy/core/src/private/npy_fpmath.h       | 5 ++++-
+ 8 files changed, 21 insertions(+), 5 deletions(-)
+
+--- a/numpy/core/include/numpy/npy_cpu.h
++++ b/numpy/core/include/numpy/npy_cpu.h
+@@ -5,6 +5,7 @@
+  *              NPY_CPU_AMD64
+  *              NPY_CPU_PPC
+  *              NPY_CPU_PPC64
++ *              NPY_CPU_PPC64LE
+  *              NPY_CPU_SPARC
+  *              NPY_CPU_S390
+  *              NPY_CPU_IA64
+@@ -41,6 +42,8 @@
+      * _ARCH_PPC is used by at least gcc on AIX
+      */
+     #define NPY_CPU_PPC
++#elif defined(__ppc64le__)
++    #define NPY_CPU_PPC64LE
+ #elif defined(__ppc64__)
+     #define NPY_CPU_PPC64
+ #elif defined(__sparc__) || defined(__sparc)
+--- a/numpy/core/include/numpy/npy_endian.h
++++ b/numpy/core/include/numpy/npy_endian.h
+@@ -27,7 +27,8 @@
+             || defined(NPY_CPU_ARMEL)   \
+             || defined(NPY_CPU_AARCH64) \
+             || defined(NPY_CPU_SH_LE)   \
+-            || defined(NPY_CPU_MIPSEL)
++            || defined(NPY_CPU_MIPSEL)  \
++            || defined(NPY_CPU_PPC64LE)
+         #define NPY_BYTE_ORDER NPY_LITTLE_ENDIAN
+     #elif defined(NPY_CPU_PPC)          \
+             || defined(NPY_CPU_SPARC)   \
+--- a/numpy/core/setup.py
++++ b/numpy/core/setup.py
+@@ -466,7 +466,7 @@ def generate_config_h(ext, build_dir):
+                            'MOTOROLA_EXTENDED_12_BYTES_BE',
+                            'IEEE_QUAD_LE', 'IEEE_QUAD_BE',
+                            'IEEE_DOUBLE_LE', 'IEEE_DOUBLE_BE',
+-                           'DOUBLE_DOUBLE_BE']:
++                           'DOUBLE_DOUBLE_BE', 'DOUBLE_DOUBLE_LE']:
+                     moredefs.append(('HAVE_LDOUBLE_%s' % rep, 1))
+                 else:
+                     raise ValueError("Unrecognized long double format: %s" % 
rep)
+--- a/numpy/core/setup_common.py
++++ b/numpy/core/setup_common.py
+@@ -256,6 +256,8 @@ def _pyod3():
+ _IEEE_QUAD_PREC_LE = _IEEE_QUAD_PREC_BE[::-1]
+ _DOUBLE_DOUBLE_BE = ['301', '235', '157', '064', '124', '000', '000', '000'] 
+ \
+                     ['000'] * 8
++_DOUBLE_DOUBLE_LE = ['000', '000', '000', '124', '064', '157', '235', '301'] 
+ \
++                    ['000'] * 8
+ 
+ def long_double_representation(lines):
+     """Given a binary dump as given by GNU od -b, look for long double
+@@ -295,6 +297,8 @@ def long_double_representation(lines):
+                         return 'IEEE_QUAD_LE'
+                     elif read[8:-8] == _DOUBLE_DOUBLE_BE:
+                         return 'DOUBLE_DOUBLE_BE'
++                    elif read[8:-8] == _DOUBLE_DOUBLE_LE:
++                        return 'DOUBLE_DOUBLE_LE'
+                 elif read[:16] == _BEFORE_SEQ:
+                     if read[16:-8] == _IEEE_DOUBLE_LE:
+                         return 'IEEE_DOUBLE_LE'
+--- a/numpy/core/src/npymath/ieee754.c.src
++++ b/numpy/core/src/npymath/ieee754.c.src
+@@ -133,7 +133,8 @@ static float _nextf(float x, int p)
+     return x;
+ }
+ 
+-#ifdef HAVE_LDOUBLE_DOUBLE_DOUBLE_BE
++#if defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_BE) || \
++    defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_LE)
+ 
+ /*
+  * FIXME: this is ugly and untested. The asm part only works with gcc, and we
+--- a/numpy/core/src/npymath/npy_math_private.h
++++ b/numpy/core/src/npymath/npy_math_private.h
+@@ -435,7 +435,8 @@ do {                                                       
     \
+     typedef npy_uint32 ldouble_sign_t;
+ #endif
+ 
+-#ifndef HAVE_LDOUBLE_DOUBLE_DOUBLE_BE
++#if !defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_BE) && \
++    !defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_LE)
+ /* Get the sign bit of x. x should be of type IEEEl2bitsrep */
+ #define GET_LDOUBLE_SIGN(x) \
+     (((x).a[LDBL_SIGN_INDEX] & LDBL_SIGN_MASK) >> LDBL_SIGN_SHIFT)
+--- a/numpy/core/src/private/npy_fpmath.h
++++ b/numpy/core/src/private/npy_fpmath.h
+@@ -29,6 +29,8 @@
+             #define HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE
+         #elif defined(NPY_CPU_PPC) || defined(NPY_CPU_PPC64)
+             #define HAVE_LDOUBLE_IEEE_DOUBLE_16_BYTES_BE
++        #elif defined(NPY_CPU_PPC64LE)
++            #define HAVE_LDOUBLE_IEEE_DOUBLE_16_BYTES_LE
+         #endif
+     #endif
+ #endif
+@@ -41,7 +43,8 @@
+       defined(HAVE_LDOUBLE_INTEL_EXTENDED_16_BYTES_LE) || \
+       defined(HAVE_LDOUBLE_INTEL_EXTENDED_12_BYTES_LE) || \
+       defined(HAVE_LDOUBLE_MOTOROLA_EXTENDED_12_BYTES_BE) || \
+-      defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_BE))
++      defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_BE) || \
++      defined(HAVE_LDOUBLE_DOUBLE_DOUBLE_LE))
+     #error No long double representation defined
+ #endif
+ 
diff -Nru python-numpy-1.8.1/debian/patches/series 
python-numpy-1.8.1/debian/patches/series
--- python-numpy-1.8.1/debian/patches/series    2014-03-27 16:25:19.000000000 
-0300
+++ python-numpy-1.8.1/debian/patches/series    2014-07-29 11:13:19.000000000 
-0300
@@ -4,3 +4,4 @@
 #05_fix_endianness_detection.patch
 10_use_local_python.org_object.inv_sphinx.diff
 python3-soabi.patch
+ppc64el-support.patch

--- End Message ---
--- Begin Message ---
Source: python-numpy
Source-Version: 1:1.8.2-2

We believe that the bug you reported is fixed in the latest version of
python-numpy, which is due to be installed in the Debian FTP archive.

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julian Taylor <[email protected]> (supplier of updated python-numpy 
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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 24 Aug 2014 11:10:34 +0200
Source: python-numpy
Binary: python-numpy python-numpy-dbg python3-numpy python3-numpy-dbg 
python-numpy-doc
Architecture: source amd64 all
Version: 1:1.8.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Julian Taylor <[email protected]>
Description:
 python-numpy - Numerical Python adds a fast array facility to the Python 
languag
 python-numpy-dbg - Fast array facility to the Python language (debug extension)
 python-numpy-doc - NumPy documentation
 python3-numpy - Fast array facility to the Python 3 language
 python3-numpy-dbg - Fast array facility to the Python 3 language (debug 
extension)
Closes: 756403
Changes:
 python-numpy (1:1.8.2-2) unstable; urgency=medium
 .
   * ppc64el_cpu_config.patch: add ppc64el support (Closes: #756403)
Checksums-Sha1:
 8d4a7512eabfab20a0d8b9543246503edf346831 1933 python-numpy_1.8.2-2.dsc
 c448a88e1ae8c5fd8729bbd82bd6c9768dfdaf5f 139840 
python-numpy_1.8.2-2.debian.tar.xz
 5ff9e9863076182bf3865db20d69d70284cf6bed 1630350 python-numpy_1.8.2-2_amd64.deb
 5ef209f592fba95b999569a312cd5da5adc37e4a 2955642 
python-numpy-dbg_1.8.2-2_amd64.deb
 905e3d94e058b520a12144662978adf4f7046c64 1627886 
python3-numpy_1.8.2-2_amd64.deb
 4073eb407b6c42e37699bd502f153638943f992c 3461218 
python3-numpy-dbg_1.8.2-2_amd64.deb
 3bf0288f0fc3306b218926ddb3f640096fdf84bf 3936762 
python-numpy-doc_1.8.2-2_all.deb
Checksums-Sha256:
 6e46fa11127472c2a551b4ddedfa6e282b80c26753db9c529e0f7799b7d15026 1933 
python-numpy_1.8.2-2.dsc
 10c90edd43192e6c5f701fa93578499a507e9f90e21168cb0f277192ee0c057c 139840 
python-numpy_1.8.2-2.debian.tar.xz
 598926db22f9f16a3f0597fdfcbdc3c271ef4991223ca3166bd5dbcb775a7831 1630350 
python-numpy_1.8.2-2_amd64.deb
 3e6d5b4f25f556050e95f81081249339c8915602e0183d4452c0f9e2845c254b 2955642 
python-numpy-dbg_1.8.2-2_amd64.deb
 7e514578bee0eabee43915185d73526b0e28b912a31aa665920fbec16db380fc 1627886 
python3-numpy_1.8.2-2_amd64.deb
 844f43368d037031e47f9dfecd803f2acc3ba58a1f9fe9f7f4b4705cbd359fdc 3461218 
python3-numpy-dbg_1.8.2-2_amd64.deb
 42e384cac0ba31b68dda513d22a59d16b12a50ee96bc6281f09ce650673baf81 3936762 
python-numpy-doc_1.8.2-2_all.deb
Files:
 2ed494aed327b63b257df9473fd29b7f 1630350 python optional 
python-numpy_1.8.2-2_amd64.deb
 44881251ee26f121c409340af17793da 2955642 debug extra 
python-numpy-dbg_1.8.2-2_amd64.deb
 0766d2264b4d659bdea242fdd76c2faf 1627886 python optional 
python3-numpy_1.8.2-2_amd64.deb
 3f4145005e81d20719ac881fc4fd6119 3461218 debug extra 
python3-numpy-dbg_1.8.2-2_amd64.deb
 02d4ca53b85570fcf14a4d9d58eac439 3936762 doc optional 
python-numpy-doc_1.8.2-2_all.deb
 30c2348200c0c6fce88973484638ea0c 1933 python optional python-numpy_1.8.2-2.dsc
 609ee14df7af0d9dbb8e551cd57aaec2 139840 python optional 
python-numpy_1.8.2-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlP84esACgkQAukwV0RN2VDwowCfVPaJrzZzsBdiubLJM8r+ZHv7
9tAAnRDNn8qoF2HArMx/gcbgH6nwnCMh
=SGsw
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to