Your message dated Wed, 30 May 2012 18:20:25 +0000
with message-id <[email protected]>
and subject line Bug#640940: fixed in python-numpy 1:1.6.2-1
has caused the Debian Bug report #640940,
regarding python-numpy: numpy.distutils not multiarch aware
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.)


-- 
640940: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=640940
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-numpy
Version: 1:1.5.1-2ubuntu2
Severity: normal
Tags: patch

numpy.distutils is not multiarch aware.
this causes problems when its searching for libraries.
E.g. when building in python-enable:

python setup.py develop
....
/usr/lib/pymodules/python2.6/numpy/distutils/system_info.py:459: UserWarning:
X11 libraries not found.
  warnings.warn(self.notfounderror.__doc__)

this is caused by numpy.distutils not checking in the multiarch triplet paths.
Attached patch fixes this issue, but due to the lack of a proper way to obtain
the triplet its quite ugly.
one could also use gcc -print-multiarch to obtain the triplet instead of dpkg-
architecture

See also:
https://github.com/enthought/enable/issues/34#issuecomment-2029381
https://bugs.launchpad.net/ubuntu/+source/python-numpy/+bug/818867



-- System Information:
Debian Release: wheezy/sid
  APT prefers oneiric-updates
  APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 
'oneiric'), (100, 'oneiric-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-10-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-numpy depends on:
ii  libatlas3gf-base [liblapa 3.8.4-3        Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so.3g 1.2.20110419-2 Basic Linear Algebra Reference imp
ii  libc6                     2.13-17ubuntu2 Embedded GNU C Library: Shared lib
ii  liblapack3gf [liblapack.s 3.3.0-4        library of linear algebra routines
ii  python                    2.7.2-5ubuntu1 interactive high-level object-orie
ii  python-support            1.0.13ubuntu1  automated rebuilding support for P

python-numpy recommends no packages.

Versions of packages python-numpy suggests:
ii  gfortran                4:4.6.1-2ubuntu5 GNU Fortran 95 compiler
ii  python-dev              2.7.2-5ubuntu1   header files and a static library 
ii  python-nose             1.0.0-1ubuntu1   test discovery and running for Pyt
pn  python-numpy-dbg        <none>           (no description available)
pn  python-numpy-doc        <none>           (no description available)

-- no debconf information
--- old/system_info.py 2010-11-18 11:11:51.000000000 +0000
+++ new/system_info.py     2011-09-08 16:22:17.931027598 +0000
@@ -200,6 +200,12 @@
                                      '/usr/lib'], platform_bits)
     default_x11_include_dirs = ['/usr/X11R6/include','/usr/X11/include',
                                 '/usr/include']
+    import subprocess as sp
+    p = sp.Popen(["dpkg-architecture", "-qDEB_HOST_MULTIARCH"], stdout=sp.PIPE)
+    triplet = p.communicate()[0].strip()
+    if p.returncode == 0:
+        default_x11_lib_dirs += [os.path.join("/usr/lib/", triplet)]
+        default_lib_dirs += [os.path.join("/usr/lib/", triplet)]
 
 if os.path.join(sys.prefix, 'lib') not in default_lib_dirs:
     default_lib_dirs.insert(0,os.path.join(sys.prefix, 'lib'))


--- End Message ---
--- Begin Message ---
Source: python-numpy
Source-Version: 1:1.6.2-1

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:

python-numpy-dbg_1.6.2-1_amd64.deb
  to main/p/python-numpy/python-numpy-dbg_1.6.2-1_amd64.deb
python-numpy-doc_1.6.2-1_all.deb
  to main/p/python-numpy/python-numpy-doc_1.6.2-1_all.deb
python-numpy_1.6.2-1.debian.tar.gz
  to main/p/python-numpy/python-numpy_1.6.2-1.debian.tar.gz
python-numpy_1.6.2-1.dsc
  to main/p/python-numpy/python-numpy_1.6.2-1.dsc
python-numpy_1.6.2-1_amd64.deb
  to main/p/python-numpy/python-numpy_1.6.2-1_amd64.deb
python-numpy_1.6.2.orig.tar.gz
  to main/p/python-numpy/python-numpy_1.6.2.orig.tar.gz
python3-numpy-dbg_1.6.2-1_amd64.deb
  to main/p/python-numpy/python3-numpy-dbg_1.6.2-1_amd64.deb
python3-numpy_1.6.2-1_amd64.deb
  to main/p/python-numpy/python3-numpy_1.6.2-1_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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sandro Tosi <[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: Wed, 30 May 2012 19:38:39 +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.6.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Sandro Tosi <[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 - Numerical Python adds a fast array facility to the Python 
languag
 python3-numpy-dbg - Fast array facility to the Python language (debug 
extension)
Closes: 640940 672826
Changes: 
 python-numpy (1:1.6.2-1) unstable; urgency=low
 .
   * New upstream release
   * debian/patches/50_search-multiarch-paths.patch
     - re-introduce multi-arch paths detection, as a Debian-specific patch, 
until
       upstream will support a generic solution; Closes: #640940
   * debian/rules
     - fix command to move debug symbols in the right place; thanks to Dave
       Anglin for the report and patch; Closes: #672826
Checksums-Sha1: 
 873a47e5bbea39daff718ed2bc286351ebf76ffb 1818 python-numpy_1.6.2-1.dsc
 c36c471f44cf914abdf37137d158bf3ffa460141 2585329 python-numpy_1.6.2.orig.tar.gz
 32f0aa375f9a6697f989c6aa6959425f74e5616f 140599 
python-numpy_1.6.2-1.debian.tar.gz
 7a65250804197e42106dbf90fd6f78b867288d97 2631048 python-numpy_1.6.2-1_amd64.deb
 045be9fbd86bf31eaa4cdd7d2252a3fdeb98337c 6808204 
python-numpy-dbg_1.6.2-1_amd64.deb
 ffe446aeaf2036d88204077af12ae5d556b43389 1842712 
python3-numpy_1.6.2-1_amd64.deb
 9e89adcb869b8fdd99bec2e4ddd4cd58802a04bd 4118668 
python3-numpy-dbg_1.6.2-1_amd64.deb
 f07cb4f71e6dc2c3cc1841f92f9dd89ca3604a47 4819736 
python-numpy-doc_1.6.2-1_all.deb
Checksums-Sha256: 
 c1cb7f91eff95a63a37e8c0f56631620098bdfe968acd141943d25b91c23e520 1818 
python-numpy_1.6.2-1.dsc
 0b83d96ab79711b548470b7aeee1272c4ba8fcbba6586a67116b566a21ed16c6 2585329 
python-numpy_1.6.2.orig.tar.gz
 5bddfc3883b20ed7da5a630009eaf793b863d4a295640b7110a6303cee92ed85 140599 
python-numpy_1.6.2-1.debian.tar.gz
 55ed6bb56c0dc592d8c71ad058c8252eb6b532f6fa940154e696913bd88e6008 2631048 
python-numpy_1.6.2-1_amd64.deb
 af68f79202552af5b2c80f2b0ee83f65c4163a34338b052c5f7ebc8b5206847f 6808204 
python-numpy-dbg_1.6.2-1_amd64.deb
 0574ed0334b229f7dec7f3583dddf74d5d378956350aff77ff1ca07ec5d658d2 1842712 
python3-numpy_1.6.2-1_amd64.deb
 a28af0ba1c721ebb024a8cb1e0ef9692340d5e16d7e4dec3d45bca75699b2ea9 4118668 
python3-numpy-dbg_1.6.2-1_amd64.deb
 db02878cbc09f66fe33bc463521e7c695c17673d8673ebe244d77aed640136a2 4819736 
python-numpy-doc_1.6.2-1_all.deb
Files: 
 1e960a77ed3434b3ca0526ab508363cd 1818 python optional python-numpy_1.6.2-1.dsc
 95ed6c9dcc94af1fc1642ea2a33c1bba 2585329 python optional 
python-numpy_1.6.2.orig.tar.gz
 7b49ce8b3b81f84b1095b96df4d56468 140599 python optional 
python-numpy_1.6.2-1.debian.tar.gz
 585b0f8a18eabd31545a455a8699a021 2631048 python optional 
python-numpy_1.6.2-1_amd64.deb
 a0d185a1a7e29cca63c1fa27be1728fc 6808204 debug extra 
python-numpy-dbg_1.6.2-1_amd64.deb
 fff29f3a195547dd8ad0a5a79fd5070e 1842712 python optional 
python3-numpy_1.6.2-1_amd64.deb
 c9388680d926e25bb3ebce3963f816e5 4118668 debug extra 
python3-numpy-dbg_1.6.2-1_amd64.deb
 323ab11e391d55c7a794b4dfb0d55b4b 4819736 doc optional 
python-numpy-doc_1.6.2-1_all.deb

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

iEYEARECAAYFAk/GYHcACgkQAukwV0RN2VAzqgCfe5GcmqH/MnG3RYvgIfA6NsDS
um4AnijKVqJRPeNa16OBm2v+n0A33fEI
=P87I
-----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