Your message dated Thu, 09 May 2013 11:56:06 +0200
with message-id <[email protected]>
and subject line forgot to close
has caused the Debian Bug report #686353,
regarding weave incompatibilities with g++ 4.4
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.)


-- 
686353: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686353
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--- Begin Message ---
Origin: http://projects.scipy.org/scipy/attachment/ticket/739/weave-739.patch
Applied-Upstream: 6e1155ea14e85efdb6c3d944ded3583c12d01778
Last-Update: 2012-08-31

--- a/scipy/weave/blitz/blitz/mathfunc.h
+++ b/scipy/weave/blitz/blitz/mathfunc.h
@@ -12,6 +12,8 @@
  #include <blitz/prettyprint.h>
 #endif
 
+#include <cstdlib>
+
 BZ_NAMESPACE(blitz)
 
 // abs(P_numtype1)    Absolute value
--- a/scipy/weave/blitz/blitz/blitz.h
+++ b/scipy/weave/blitz/blitz/blitz.h
@@ -65,6 +65,8 @@
 
 #define BZ_THROW                     // Needed in <blitz/numinquire.h>
 
+#include <cstdlib>
+
 BZ_NAMESPACE(blitz)
 
 #ifdef BZ_HAVE_STD
--- a/scipy/weave/blitz/blitz/prettyprint.h
+++ b/scipy/weave/blitz/blitz/prettyprint.h
@@ -22,6 +22,8 @@
 #ifndef BZ_PRETTYPRINT_H
 #define BZ_PRETTYPRINT_H
 
+#include <cstdlib>
+
 BZ_NAMESPACE(blitz)
 
 class prettyPrintFormat {

--- End Message ---

--- End Message ---
--- Begin Message ---
Version: 0.8.0+dfsg1-1

--- 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