Your message dated Sun, 07 Aug 2005 00:02:09 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#302598: fixed in python-scipy 0.3.2-7
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 1 Apr 2005 18:15:15 +0000
>From [EMAIL PROTECTED] Fri Apr 01 10:15:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from gluck.debian.org [192.25.206.10] 
        by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DHQfr-00086l-00; Fri, 01 Apr 2005 10:15:15 -0800
Received: from d040155.adsl.hansenet.de (localhost.localdomain) [80.171.40.155] 
        by gluck.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1DHQfq-00086y-00; Fri, 01 Apr 2005 11:15:14 -0700
Received: from aj by localhost.localdomain with local (Exim 4.50)
        id 1DHQcq-0003aD-0C; Fri, 01 Apr 2005 20:12:08 +0200
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
From: Andreas Jochens <[EMAIL PROTECTED]>
Subject: python-scipy: FTBFS (amd64/gcc-4.0): invalid storage class for 
function 'calc_lwrk1'
Message-Id: <[EMAIL PROTECTED]>
Date: Fri, 01 Apr 2005 20:12:08 +0200
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: python-scipy
Version: 0.3.2-6
Severity: normal
Tags: patch

When building 'python-scipy' on amd64/unstable with gcc-4.0,
I get the following error:

compiling C sources
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Ibuild/src 
-I/usr/include/python2.2 -c build/src/Lib/interpolate/dfitpackmodule.c -o 
build/temp.linux-x86_64-2.2/dfitpackmodule.o
build/src/Lib/interpolate/dfitpackmodule.c: In function 
'f2py_rout_dfitpack_surfit_smth':
build/src/Lib/interpolate/dfitpackmodule.c:2446: error: invalid storage class 
for function 'calc_lwrk1'
build/src/Lib/interpolate/dfitpackmodule.c:2458: error: invalid storage class 
for function 'calc_lwrk2'
build/src/Lib/interpolate/dfitpackmodule.c: In function 
'f2py_rout_dfitpack_surfit_lsq':
build/src/Lib/interpolate/dfitpackmodule.c:2882: error: invalid storage class 
for function 'calc_lwrk1'
build/src/Lib/interpolate/dfitpackmodule.c:2894: error: invalid storage class 
for function 'calc_lwrk2'
build/src/Lib/interpolate/dfitpackmodule.c: In function 
'f2py_rout_dfitpack_surfit_smth':
build/src/Lib/interpolate/dfitpackmodule.c:2446: error: invalid storage class 
for function 'calc_lwrk1'
build/src/Lib/interpolate/dfitpackmodule.c:2458: error: invalid storage class 
for function 'calc_lwrk2'
build/src/Lib/interpolate/dfitpackmodule.c: In function 
'f2py_rout_dfitpack_surfit_lsq':
build/src/Lib/interpolate/dfitpackmodule.c:2882: error: invalid storage class 
for function 'calc_lwrk1'
build/src/Lib/interpolate/dfitpackmodule.c:2894: error: invalid storage class 
for function 'calc_lwrk2'
error: Command "gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -Ibuild/src 
-I/usr/include/python2.2 -c build/src/Lib/interpolate/dfitpackmodule.c -o 
build/temp.linux-x86_64-2.2/dfitpackmodule.o" failed with exit status 1
make: *** [install] Error 1

With the attached patch 'python-scipy' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/python-scipy-0.3.2/debian/patches/amd64.dpatch 
./debian/patches/amd64.dpatch
--- ../tmp-orig/python-scipy-0.3.2/debian/patches/amd64.dpatch  2005-04-01 
19:45:30.302005946 +0200
+++ ./debian/patches/amd64.dpatch       2005-04-01 19:45:09.243954222 +0200
@@ -34,3 +34,41 @@
  static long ignlgi,curntg,k,s1,s2,z;
  static long qqssd,qrgnin;
  /*
+--- Lib/interpolate/fitpack.pyf.orig   2003-12-04 11:00:00.000000000 +0100
++++ Lib/interpolate/fitpack.pyf        2005-04-01 19:44:36.174154640 +0200
+@@ -238,7 +238,7 @@
+        !  nx,tx,ny,ty,c,fp,ier = 
surfit_smth(x,y,z,[w,xb,xe,yb,ye,kx,ky,s,eps,lwrk2])
+ 
+        usercode '''
+-       static int calc_lwrk1(void) {
++       int calc_lwrk1(void) {
+          int u = nxest-kx-1;
+          int v = nyest-ky-1;
+          int km = MAX(kx,ky)+1;
+@@ -250,7 +250,7 @@
+          else {b1=by;b2=by+u-kx;}
+          return u*v*(2+b1+b2)+2*(u+v+km*(m+ne)+ne-kx-ky)+b2+1;
+        }
+-       static int calc_lwrk2(void) {
++       int calc_lwrk2(void) {
+          int u = nxest-kx-1;
+          int v = nyest-ky-1;
+          int bx = kx*v+ky+1;
+@@ -305,7 +305,7 @@
+        ! tx,ty,c,fp,ier = 
surfit_lsq(x,y,z,tx,ty,[w,xb,xe,yb,ye,kx,ky,eps,lwrk2])
+ 
+        usercode '''
+-       static int calc_lwrk1(void) {
++       int calc_lwrk1(void) {
+          int u = nxest-kx-1;
+          int v = nyest-ky-1;
+          int km = MAX(kx,ky)+1;
+@@ -317,7 +317,7 @@
+          else {b1=by;b2=by+u-kx;}
+          return u*v*(2+b1+b2)+2*(u+v+km*(m+ne)+ne-kx-ky)+b2+1;
+        }
+-       static int calc_lwrk2(void) {
++       int calc_lwrk2(void) {
+          int u = nxest-kx-1;
+          int v = nyest-ky-1;
+          int bx = kx*v+ky+1;

---------------------------------------
Received: (at 302598-close) by bugs.debian.org; 7 Aug 2005 07:15:32 +0000
>From [EMAIL PROTECTED] Sun Aug 07 00:15:32 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1E1fAf-0004YC-00; Sun, 07 Aug 2005 00:02:09 -0700
From: =?utf-8?q?Jos=C3=A9_Fonseca?= <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#302598: fixed in python-scipy 0.3.2-7
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 07 Aug 2005 00:02:09 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: python-scipy
Source-Version: 0.3.2-7

We believe that the bug you reported is fixed in the latest version of
python-scipy, which is due to be installed in the Debian FTP archive:

python-scipy_0.3.2-7.diff.gz
  to pool/main/p/python-scipy/python-scipy_0.3.2-7.diff.gz
python-scipy_0.3.2-7.dsc
  to pool/main/p/python-scipy/python-scipy_0.3.2-7.dsc
python-scipy_0.3.2-7_all.deb
  to pool/main/p/python-scipy/python-scipy_0.3.2-7_all.deb
python2.3-scipy_0.3.2-7_i386.deb
  to pool/main/p/python-scipy/python2.3-scipy_0.3.2-7_i386.deb
python2.4-scipy_0.3.2-7_i386.deb
  to pool/main/p/python-scipy/python2.4-scipy_0.3.2-7_i386.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.
José Fonseca <[EMAIL PROTECTED]> (supplier of updated python-scipy 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.7
Date: Sun, 31 Jul 2005 11:11:42 +0100
Source: python-scipy
Binary: python-scipy python2.3-scipy python2.4-scipy
Architecture: source i386 all
Version: 0.3.2-7
Distribution: unstable
Urgency: low
Maintainer: José Fonseca <[EMAIL PROTECTED]>
Changed-By: José Fonseca <[EMAIL PROTECTED]>
Description: 
 python-scipy - scientific tools for Python
 python2.3-scipy - scientific tools for Python 2.3
 python2.4-scipy - scientific tools for Python 2.4
Closes: 302598 320441
Changes: 
 python-scipy (0.3.2-7) unstable; urgency=low
 .
   * Depend on libwxgtk2.4-1-python due to new C++ ABI.
   * Do not depend on obsolete blas-dev (Closes: #320441)
   * Drop the python2.2 version due to python2.2-numeric removal.
   * Applied Andreas Jochens' patch fixing gcc4.0 storage class
     error (Closes: #302598)
Files: 
 3a6e1a86566aea3d32e2b5813b5763ef 1313 python extra python-scipy_0.3.2-7.dsc
 264ebb5f001574048f63490571c4afc5 5799 python extra python-scipy_0.3.2-7.diff.gz
 364ef0d721d920b75b05fcaa912376bf 4608 python extra python-scipy_0.3.2-7_all.deb
 baea04e1c8b9f78e9f925d761453a18b 3042916 python extra 
python2.3-scipy_0.3.2-7_i386.deb
 39bf5b8fc371fc9be290c2aa247687a3 3042976 python extra 
python2.4-scipy_0.3.2-7_i386.deb

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

iQEVAwUBQvWt+l6T+PKoJ87eAQKa+Qf/WTPw8dXZaorFGpnANrqNYZLqWh8AWNZg
e6rOtVnxDT4wNNDCMTqFXBXryrsQyn8PuirxuEp5Lx+cIHARAETszBJ+6csJfYh7
jqtFA10IloiHt7C3ITm1FgtS1MbAPKCRT/9uPjwEoLjcNKGdf0jZXsAmez5RF66a
DRf01FYSo82CyRX9OmxXXTwuYYZRUVxhAwgYjs9iE/T6uzvQakNHaQcm08DmhEXK
PkbbgcmKnh7wMfunjwJ0qIhPVDI097u8GiPHQ5fDSlLX32Nj2PQ+yJHU4RMZ/gep
lJNIsq7SejZYk5Dgv7sAlKexi859B23rpPvblclkj9V80JCl5rde+w==
=t9f2
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to