[SciPy-Dev] Cannot build scipy from trunk

Charles R Harris charlesr.harris@gmail....
Tue Jan 31 14:02:21 CST 2012


On Tue, Jan 31, 2012 at 12:16 PM, Nils Wagner
<nwagner@iam.uni-stuttgart.de>wrote:

>
> scipy/special/_cephesmodule.c: In function
> ‘scipy_special_raise_warning’:
> scipy/special/_cephesmodule.c:1055:5: error: expected ‘=’,
> ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
> scipy/special/_cephesmodule.c:1062:5: error: ‘__save__’
> undeclared (first use in this function)
> scipy/special/_cephesmodule.c:1062:5: note: each
> undeclared identifier is reported only once for each
> function it appears in
> scipy/special/_cephesmodule.c:1063:5: error: expected ‘;’
> before ‘PyErr_WarnEx’
> scipy/special/_cephesmodule.c:1065:1: error: expected ‘;’
> before ‘}’ token
> scipy/special/_cephesmodule.c:1076:18: error: invalid
> storage class for function ‘errprint_func’
> scipy/special/_cephesmodule.c:1091:3: error: initializer
> element is not constant
> scipy/special/_cephesmodule.c:1091:3: error: (near
> initialization for ‘methods[0].ml_meth’)
> scipy/special/_cephesmodule.c:1177:1: error: expected
> declaration or statement at end of input
> In file included from
>
> /home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarraytypes.h:1972:0,
>                  from
>
> /home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/ndarrayobject.h:17,
>                  from
>
> /home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/arrayobject.h:14,
>                  from scipy/special/_cephesmodule.c:12:
>
> /home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2:
> warning: #warning "Using deprecated NumPy API, disable it
> by #defining NPY_NO_DEPRECATED_API"
> scipy/special/_cephesmodule.c: In function
> ‘scipy_special_raise_warning’:
> scipy/special/_cephesmodule.c:1055:5: error: expected ‘=’,
> ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘char’
> scipy/special/_cephesmodule.c:1062:5: error: ‘__save__’
> undeclared (first use in this function)
> scipy/special/_cephesmodule.c:1062:5: note: each
> undeclared identifier is reported only once for each
> function it appears in
> scipy/special/_cephesmodule.c:1063:5: error: expected ‘;’
> before ‘PyErr_WarnEx’
> scipy/special/_cephesmodule.c:1065:1: error: expected ‘;’
> before ‘}’ token
> scipy/special/_cephesmodule.c:1076:18: error: invalid
> storage class for function ‘errprint_func’
> scipy/special/_cephesmodule.c:1091:3: error: initializer
> element is not constant
> scipy/special/_cephesmodule.c:1091:3: error: (near
> initialization for ‘methods[0].ml_meth’)
> scipy/special/_cephesmodule.c:1177:1: error: expected
> declaration or statement at end of input
> error: Command "/usr/bin/gcc -fno-strict-aliasing -DNDEBUG
> -fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2
> -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fPIC
> -I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include
> -I/home/nwagner/local/lib64/python2.6/site-packages/numpy/core/include
> -I/usr/include/python2.6 -c scipy/special/_cephesmodule.c
> -o
> build/temp.linux-x86_64-2.6/scipy/special/_cephesmodule.o"
> failed with exit status 1
> ___


Known. Scipy need a couple of semicolons:
https://github.com/scipy/scipy/pull/143

We make back this change out before release, but it serves to find the
location of these glitches.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20120131/b6d0d54b/attachment.html 


More information about the SciPy-Dev mailing list