[Python-modules-team] Bug#676480: python-numpy: Numpy package messed up by atlas/lapack changes

Fabrice Silva silva at lma.cnrs-mrs.fr
Thu Jun 7 08:29:42 UTC 2012


Package: python-numpy
Version: 1:1.6.2-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these lines ***

numpy fails to import lapack library:

$ python -c "import numpy"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/pymodules/python2.7/numpy/__init__.py", line 137, in <module>
    import add_newdocs
  File "/usr/lib/pymodules/python2.7/numpy/add_newdocs.py", line 9, in <module>
    from numpy.lib import add_newdoc
  File "/usr/lib/pymodules/python2.7/numpy/lib/__init__.py", line 13, in
<module>
    from polynomial import *
  File "/usr/lib/pymodules/python2.7/numpy/lib/polynomial.py", line 17, in
<module>
    from numpy.linalg import eigvals, lstsq
  File "/usr/lib/pymodules/python2.7/numpy/linalg/__init__.py", line 48, in
<module>
    from linalg import *
  File "/usr/lib/pymodules/python2.7/numpy/linalg/linalg.py", line 23, in
<module>
    from numpy.linalg import lapack_lite
ImportError: liblapack.so.3gf: cannot open shared object file: No such file or
directory

It seems to be related to lib{atlas/lapack/blas}3gf removal.

$ ls -lh /usr/lib/lapack/
total 8.0M
lrwxrwxrwx 1 root root   16 juin   5 12:22 liblapack.so.3 -> liblapack.so.3.0
-rw-r--r-- 1 root root 8.0M juin   5 12:22 liblapack.so.3.0
$ ldd /usr/lib/pymodules/python2.7/numpy/linalg/lapack_lite.so
        linux-gate.so.1 =>  (0xb773d000)
        liblapack.so.3gf => not found
        libblas.so.3gf => not found
        libgfortran.so.3 => /usr/lib/i386-linux-gnu/libgfortran.so.3
(0xb7626000)
        libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb7600000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb75e3000)
        libquadmath.so.0 => /usr/lib/i386-linux-gnu/libquadmath.so.0
(0xb756c000)
        libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb740f000)
        /lib/ld-linux.so.2 (0xb773e000)



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 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-numpy depends on:
ii  libatlas3-base [liblapack.so.3gf]  3.8.4-4
ii  libatlas3gf-base                   3.8.4-4
ii  libblas3 [libblas3gf]              1.2.20110419-3
ii  libblas3gf                         1.2.20110419-3
ii  libc6                              2.13-33
ii  libgcc1                            1:4.7.0-11
ii  libgfortran3                       4.7.0-11
ii  liblapack3 [liblapack3gf]          3.4.1-1
ii  liblapack3gf                       3.4.1-1
ii  libquadmath0                       4.7.0-11
ii  python                             2.7.3~rc2-1
ii  python-support                     1.0.14

python-numpy recommends no packages.

Versions of packages python-numpy suggests:
ii  gcc               4:4.7.0-6
pn  gfortran          <none>
pn  python-dev        <none>
pn  python-nose       <none>
pn  python-numpy-dbg  <none>
pn  python-numpy-doc  <none>

-- no debconf information





More information about the Python-modules-team mailing list