[Python-modules-team] Bug#593662: python-numpy: dangling symlinks

Ian Zimmerman itz at buug.org
Fri Aug 20 05:07:32 UTC 2010


Package: python-numpy
Version: 1:1.4.1-4
Severity: minor


>From the debian changelog:

python-numpy (1:1.4.1-3) unstable; urgency=low

  * debian/rules
    - use the python-support specific directory (/usr/lib/pymodules) for the
      symlinks /usr/include/python*/numpy; this correctly installs the header
      files (mainly _numpyconfig.h) used by depending packages; Closes: #589592

Nice and easy solution, but it introduces dangling symlinks for each
python version not installed:

 [10]matica:~# symlink_check -m M,L,D,R / /usr/local /var
   D:/usr/include/python2.5/numpy -> ../../lib/pymodules/python2.5/numpy/core/include/numpy
   D:/usr/include/python2.5_d/numpy -> ../../lib/pymodules/python2.5/numpy/core/include/numpy
 [11]matica:~# dpkg --list 'python2.[0-9]'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                 Version              Description
+++-====================-====================-========================================================
un  python2.4            <none>               (no description available)
un  python2.5            <none>               (no description available)
ii  python2.6            2.6.6~rc1-1          An interactive high-level object-oriented language (vers


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.34.4-core2-ii (SMP w/2 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 [liblapack.s 3.6.0-24   Automatically Tuned Linear Algebra
ii  libatlas3gf-sse2 [liblapack.s 3.6.0-24   Automatically Tuned Linear Algebra
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.4.4-8  GCC support library
ii  libgfortran3                  4.4.4-8    Runtime library for GNU Fortran ap
ii  python                        2.6.5-11   interactive high-level object-orie
ii  python-support                1.0.9      automated rebuilding support for P

python-numpy recommends no packages.

Versions of packages python-numpy suggests:
pn  gfortran                      <none>     (no description available)
ii  python-dev                    2.6.5-11   header files and a static library 
pn  python-nose                   <none>     (no description available)
pn  python-numpy-dbg              <none>     (no description available)
pn  python-numpy-doc              <none>     (no description available)

-- no debconf information





More information about the Python-modules-team mailing list