Your message dated Sun, 22 Jul 2012 04:17:22 +0000 with message-id <e1ssnbe-0005n5...@franck.debian.org> and subject line Bug#681270: fixed in python-scipy 0.10.1+dfsg1-4 has caused the Debian Bug report #681270, regarding causes FTBFS of pymvpa2 on s390x: TypeError: Improper input parameters in leastsq call 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 ow...@bugs.debian.org immediately.) -- 681270: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681270 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
--- Begin Message ---Package: python-scipy Version: 0.10.1+dfsg1-3 Severity: serious Justification: fails to build from source (but built successfully in the past) Please see attached a somewhat minimalistic code to reproduce the problem. it fails only on s390x -- fine on s390 and any other architecture/port where pymvpa2 was just built. Traceback (most recent call last): File "scipy-fx-failure2.py", line 65, in <module> 1.47441522, 1.78073152, 2.08704783, 2.39336413, 2.69968044])) File "scipy-fx-failure2.py", line 52, in least_sq_fit return leastsq(efx, params) File "/usr/lib/python2.7/dist-packages/scipy/optimize/minpack.py", line 324, in leastsq raise errors[info][1](errors[info][0]) TypeError: Improper input parameters. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental'), (100, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-2-amd64 (SMP w/2 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 ii libatlas3-base [liblapack.so.3gf] 3.8.4-7 ii libatlas3gf-base 3.8.4-7 ii libblas3 [libblas3gf] 1.2.20110419-5 ii libblas3gf 1.2.20110419-5 ii libc6 2.13-33 ii libgcc1 1:4.7.1-2 ii libgfortran3 4.7.1-2 ii liblapack3 [liblapack3gf] 3.4.1-4 ii liblapack3gf 3.4.1-4 ii libquadmath0 4.7.1-2 ii libstdc++6 4.7.1-2 ii libumfpack5.4.0 1:3.4.0-2 ii python 2.7.3~rc2-1 ii python-numpy [python-numpy-abi9] 1:1.6.2-1 ii python2.6 2.6.8-0.2 ii python2.7 2.7.3~rc2-2.1 Versions of packages python-scipy recommends: ii g++ [c++-compiler] 4:4.7.1-1 ii g++-4.4 [c++-compiler] 4.4.7-1 iu g++-4.6 [c++-compiler] 4.6.3-8 ii g++-4.7 [c++-compiler] 4.7.1-2 ii python-dev 2.7.3~rc2-1 ii python-imaging 1.1.7-4 Versions of packages python-scipy suggests: ii python [python-profiler] 2.7.3~rc2-1 -- no debconf information# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- # vi: set ft=python sts=4 ts=4 sw=4 et: ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## # # See COPYING file distributed along with the PyMVPA package for the # copyright and license terms. # ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ### ## """Misc. functions (in the mathematical sense)""" __docformat__ = 'restructuredtext' import numpy as np from numpy import array from scipy.optimize import leastsq def dual_gaussian(x, amp1=1.0, mean1=0.0, std1=1.0, amp2=1.0, mean2=0.0, std2=1.0): from scipy.stats import norm print x if std1 <= 0 or std2 <= 0: return np.nan return (amp1 * norm.pdf(x, mean1, std1)) + (amp2 * norm.pdf(x, mean2, std2)) def least_sq_fit(fx, params, y, x=None, **kwargs): y = np.asanyarray(y) if len(y.shape) > 1: nsamp, ylen = y.shape else: nsamp, ylen = (1, len(y)) # contruct matching x-values if necessary if x is None: x = np.arange(ylen) # transform x and y into 1d arrays if nsamp > 1: x = np.array([x] * nsamp).ravel() y = y.ravel() # define error function def efx(p): print "EFX: ", p err = y - fx(x, *p, **kwargs) return err # do fit return leastsq(efx, params) if __name__ == '__main__': print least_sq_fit(dual_gaussian, (1000, 0.5, 0.1, 1000, 0.8, 0.05), array([[ 1, 0, 0, 0, 5, 2, 6, 9, 6, 12, 14, 9, 12, 7, 7, 5, 2, 2, 0, 1], [ 1, 0, 0, 0, 5, 2, 6, 9, 6, 12, 14, 9, 12, 7, 7, 5, 2, 2, 0, 1]]), array([-3.12032937, -2.81401307, -2.50769676, -2.20138046, -1.89506415, -1.58874784, -1.28243154, -0.97611523, -0.66979893, -0.36348262, -0.05716631, 0.24914999, 0.5554663 , 0.8617826 , 1.16809891, 1.47441522, 1.78073152, 2.08704783, 2.39336413, 2.69968044]))
--- End Message ---
--- Begin Message ---Source: python-scipy Source-Version: 0.10.1+dfsg1-4 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. 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 681...@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Varun Hiremath <va...@debian.org> (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 ftpmas...@debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 21 Jul 2012 17:23:02 -0400 Source: python-scipy Binary: python-scipy python3-scipy python-scipy-dbg python3-scipy-dbg Architecture: source amd64 Version: 0.10.1+dfsg1-4 Distribution: unstable Urgency: low Maintainer: Debian Python Modules Team <python-modules-t...@lists.alioth.debian.org> Changed-By: Varun Hiremath <va...@debian.org> Description: python-scipy - scientific tools for Python python-scipy-dbg - scientific tools for Python - debugging symbols python3-scipy - scientific tools for Python 3 python3-scipy-dbg - scientific tools for Python 3 - debugging symbols Closes: 681270 682030 Changes: python-scipy (0.10.1+dfsg1-4) unstable; urgency=low . [ Julian Taylor ] * use dh_numpy3 - build depend on python3-numpy >= 1:1.6.2~rc1-1~ * debian/rules: remove reference to pyshared . [ Varun Hiremath ] * debian/patches: - add dtype.diff (Closes: #682030) - add up_minpack_ints.diff, thanks to Yaroslav Halchenko (Closes: #681270) Checksums-Sha1: abe10eddf1383545d311fcc3ffa85de2b80324e1 2641 python-scipy_0.10.1+dfsg1-4.dsc 08cca9b58ccecc6d753e725686094fca256f4100 13652 python-scipy_0.10.1+dfsg1-4.debian.tar.gz e67b2794f792d792d3892a1721e2b18a15616b18 12202152 python-scipy_0.10.1+dfsg1-4_amd64.deb a92dd1580174552e9c4b3797a67bd1eb8f08c71a 7118334 python3-scipy_0.10.1+dfsg1-4_amd64.deb 3da4b6485f85277a58ba7761d9bc8ce3bc26f391 29377734 python-scipy-dbg_0.10.1+dfsg1-4_amd64.deb 7de7d861be7519bd6cdbcd1379931f0fcea0febb 14671086 python3-scipy-dbg_0.10.1+dfsg1-4_amd64.deb Checksums-Sha256: 6e9fe6ca37862314feac4e4a18bfc0f9c613fffdc3ae9202c225093af4c2296f 2641 python-scipy_0.10.1+dfsg1-4.dsc 4517fae8f58efae0f74082ce4c0408f98ca2b96a6805ec319631a7fe6e45cff5 13652 python-scipy_0.10.1+dfsg1-4.debian.tar.gz 611a995c7b4c7e18ce5ca4680fb203fda0933610d833c457c4d9f9b3d01e4e17 12202152 python-scipy_0.10.1+dfsg1-4_amd64.deb d829d5753d9d4351f3ea60d1c4a402e14691b91a360dd518a8b8376266eb7937 7118334 python3-scipy_0.10.1+dfsg1-4_amd64.deb 3b0034e58176c0476f7590e036c0ec46fc980c3d267ab7d906938983e4f1692a 29377734 python-scipy-dbg_0.10.1+dfsg1-4_amd64.deb b86e339d69be2e6a2114920eeefbe5dedbbc89691cd85cdbfe6b7248e81a309b 14671086 python3-scipy-dbg_0.10.1+dfsg1-4_amd64.deb Files: 096ecbe1675717fd2161c680f8d76f2a 2641 python extra python-scipy_0.10.1+dfsg1-4.dsc 9abf78534517f31910690af15cc0b6a4 13652 python extra python-scipy_0.10.1+dfsg1-4.debian.tar.gz edb5ae0b6a922f763c6e0df2568ef2e8 12202152 python extra python-scipy_0.10.1+dfsg1-4_amd64.deb dee0b8f36783e058e0164eb688b878bb 7118334 python extra python3-scipy_0.10.1+dfsg1-4_amd64.deb 841ae4da141e460b38e6be0ce4171459 29377734 debug extra python-scipy-dbg_0.10.1+dfsg1-4_amd64.deb 5afa949614500c3e1f95f5f0faa28b3e 14671086 debug extra python3-scipy-dbg_0.10.1+dfsg1-4_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBCgAGBQJQC3uXAAoJEHA3PPEpDbnOJxcQAJhdCIkc4yj8jRmxZAVPChSz LD+cYAwiMxVaZ/92RIFvrfnfmdiQAFQ9GWUmfmOkrpC5a4jqf1YDGUgWkhcmJNQl VMQAh8yzSWNiSGkxQJlVG6+WGDbNLlyTMMKFIt1/csa5ZYPHA4qsufuwiiVaaybZ dCCZr1QnuiDF/myrnhQ77yklsLatqL7toAQqBdntd26ApYtmYtGDhNLIJpCKPrGh /2XYito6yYeJlMTqm5c8T4xUUPBr0u0I+hX7HkHfP7JjT9qCkpTkyourdI3QvGuh r84qK2YHm/XR5dhVz8C2Qbdnb24n1fjgyCwNIDJLEWUnXciV9Y2Mk7mBvNUZy1uy 9z+z6J4+MMQgbFG/R384wn/yfLLUtRU8nVKqQtt9ShIw6XJmOYnxuEh5UiJJhKHR 28qqKeggAGZmM86AF9sFqff2/bjrCCQj6WJtebCHI8BEVWExAPeJ56TSMkhP1aCc 07VocL3FF6IiOhlFafA3VZQ0N3PoWLZQNiER197Wt2mXy/YP1f0Bc4dG/mmpUrDr U8LTlnyc+n13GLNmzCgnMYZcJffzBHTpS84VFLsEFewxPSRstNUzrrCrHiImDqP5 zeS6iYtaZ0z3N7eWo82P3kSBtLabZ3j35biFldrFLx0jjHbMJ41qGRTQ/2/+YiR5 sFk2Kkc/mgLNgoPCpC00 =Sdp4 -----END PGP SIGNATURE-----
--- End Message ---