[Python-modules-team] Bug#681270: causes FTBFS of pymvpa2 on s390x: TypeError: Improper input parameters in leastsq call

Yaroslav Halchenko debian at onerussian.com
Thu Jul 12 18:46:08 UTC 2012


and keeping things going forward -- building current head of scipy

at once gcc warnings  already become informative 
(once again diff from s390) and might be actually pointing to the issue we are enjoing

6509a6510,6526
> In file included from scipy/optimize/_minpackmodule.c:7:0:
> scipy/optimize/__minpack.h: In function ‘minpack_hybrd’:
> scipy/optimize/__minpack.h:291:3: warning: passing argument 2 of ‘hybrd_’ from incompatible pointer type [enabled by default]
> scipy/optimize/__minpack.h:51:13: note: expected ‘int *’ but argument is of type ‘npy_intp *’
> scipy/optimize/__minpack.h:291:3: warning: passing argument 19 of ‘hybrd_’ from incompatible pointer type [enabled by default]
> scipy/optimize/__minpack.h:51:13: note: expected ‘int *’ but argument is of type ‘npy_intp *’
> scipy/optimize/__minpack.h: In function ‘minpack_hybrj’:
> scipy/optimize/__minpack.h:391:3: warning: passing argument 2 of ‘hybrj_’ from incompatible pointer type [enabled by default]
> scipy/optimize/__minpack.h:52:13: note: expected ‘int *’ but argument is of type ‘npy_intp *’
> scipy/optimize/__minpack.h:391:3: warning: passing argument 17 of ‘hybrj_’ from incompatible pointer type [enabled by default]
> scipy/optimize/__minpack.h:52:13: note: expected ‘int *’ but argument is of type ‘npy_intp *’
> scipy/optimize/__minpack.h: In function ‘minpack_lmdif’:
> scipy/optimize/__minpack.h:489:3: warning: passing argument 3 of ‘lmdif_’ from incompatible pointer type [enabled by default]
> scipy/optimize/__minpack.h:53:13: note: expected ‘int *’ but argument is of type ‘npy_intp *’
> scipy/optimize/__minpack.h: In function ‘minpack_lmder’:
> scipy/optimize/__minpack.h:585:3: warning: passing argument 3 of ‘lmder_’ from incompatible pointer type [enabled by default]
> scipy/optimize/__minpack.h:54:13: note: expected ‘int *’ but argument is of type ‘npy_intp *’
6888a6906,6907
> scipy/spatial/ckdtree.c: In function ‘__pyx_pf_5scipy_7spatial_7ckdtree_7cKDTree_2__dealloc__’:
> scipy/spatial/ckdtree.c:3737:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]


On Thu, 12 Jul 2012, Denis Laxalde wrote:

> tags 681270 -moreinfo
> thanks

> Yaroslav Halchenko wrote:
> >BTW -- there is a bulk of possibly related unittests failures on s390x (if only
> >someone was brave enough to take care about
> >http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=678546), e.g.  (a piece
> >of diff from output on s390)...

> Ok, scipy is indeed broken on this architecture... Enabling the
> tests as suggested would make it FTBFS but I agree that it would be
> a good thing in general.
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        





More information about the Python-modules-team mailing list