[Python-modules-team] Bug#686353: weave incompatibilities with g++ 4.4

Yaroslav Halchenko debian at onerussian.com
Fri Aug 31 13:47:55 UTC 2012


Package: python-scipy
Version: 0.7.2+dfsg1-1
Severity: important
Tags: patch upstream

While building backport packages of new python-brian release I ran into a known issue:

/usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h: In static member function 'static long int blitz::_bz_abs<long int>::apply(long int)':
/usr/lib/python2.6/dist-packages/scipy/weave/blitz/blitz/mathfunc.h:45: error: 'labs' is not a member of 'std'
...

which was fixed upstream (6e1155ea14e85efdb6c3d944ded3583c12d01778) and
even patched in Ubuntu's elderly version of scipy:
http://projects.scipy.org/scipy/attachment/ticket/739/weave-739.patch

So I would recommend applying this patch in Debian stable squeeze version of
scipy and shipping it via updates.  I am attaching the proposed patch refreshed
for Debian package

-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-scipy depends on:
ii  libamd2.2.0             1:3.4.0-2        approximate minimum degree orderin
ii  libatlas3gf-base [libla 3.8.3-27         Automatically Tuned Linear Algebra
ii  libblas3gf [libblas.so. 1.2-8            Basic Linear Algebra Reference imp
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  libgfortran3            4.4.5-8          Runtime library for GNU Fortran ap
ii  liblapack3gf [liblapack 3.2.1-8          library of linear algebra routines
ii  libstdc++6              4.4.5-8          The GNU Standard C++ Library v3
ii  libumfpack5.4.0         1:3.4.0-2        sparse LU factorization library
ii  python                  2.6.6-3+squeeze7 interactive high-level object-orie
ii  python-central          0.6.16+nmu1      register and build utility for Pyt
ii  python-numpy            1:1.4.1-5        Numerical Python adds a fast array

Versions of packages python-scipy recommends:
ii  g++ [c++-compiler]            4:4.4.5-1  The GNU C++ compiler
ii  g++-4.3 [c++-compiler]        4.3.5-4    The GNU C++ compiler
ii  g++-4.4 [c++-compiler]        4.4.5-8    The GNU C++ compiler

Versions of packages python-scipy suggests:
ii  python-profiler               2.6.6-1    deterministic profiling of any Pyt

-- no debconf information
-------------- next part --------------
An embedded message was scrubbed...
From: Yaroslav Halchenko <debian at onerussian.com>
Subject: no subject
Date: no date
Size: 1022
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20120831/5302663b/attachment-0001.mht>


More information about the Python-modules-team mailing list