[SciPy-user] bdist_rpm build error in scipy_core from CVS
Fernando Perez
Fernando.Perez at colorado.edu
Fri Jan 28 19:42:19 EST 2005
Fernando Perez wrote:
> Well, with the attached patch against current CVS (updated minutes ago), I get
> a successful build for the overall rpm with:
>
> root at planck[scipy]# python setup.py bdist_rpm
I should note, however, that I can't get scipy_core to build at all with
current CVS (even without my patch). Something was broken in the scipy_core
build, here's what I get:
[...]
build/src/scipy_base/_nc_compiled_base.c: At top level:
build/src/scipy_base/_nc_compiled_base.c:636: error: syntax error before '*' token
build/src/scipy_base/_nc_compiled_base.c: In function `build_output':
build/src/scipy_base/_nc_compiled_base.c:641: error: `nout' undeclared (first
use in thisfunction)
build/src/scipy_base/_nc_compiled_base.c:641: error: `outarr' undeclared
(first use in this function)
build/src/scipy_base/_nc_compiled_base.c:641: warning: return makes pointer
from integer without a cast
build/src/scipy_base/_nc_compiled_base.c: In function `map_PyFunc':
build/src/scipy_base/_nc_compiled_base.c:653: error: `PyArrayObject'
undeclared (first use in this function)
build/src/scipy_base/_nc_compiled_base.c:653: error: `inputarrays' undeclared
(first use in this function)
build/src/scipy_base/_nc_compiled_base.c:653: error: `outputarrays' undeclared
(first usein this function)
build/src/scipy_base/_nc_compiled_base.c:664: error: syntax error before ')' token
error: Command "gcc -pthread -fno-strict-aliasing -DNDEBUG -O2 -g -pipe -m32
-march=i386 -mtune=pentium4 -D_GNU_SOURCE -fPIC -O2 -g -pipe -m32 -march=i386
-mtune=pentium4 -fPIC -DNUMERIC -DNUMERIC_VERSION="\"23.7\"" -Iscipy_base
-I/usr/include/python2.3 -I/usr/include/python2.3 -c
build/src/scipy_base/_nc_compiled_base.c -o
build/temp.linux-i686-2.3/build/src/scipy_base/_nc_compiled_base.o" failed
with exit status 1
error: Bad exit status from /var/tmp/rpm-tmp.5211 (%build)
Is this related to the problems Todd was discussing this morning? If the
scipy_core build is fixed, it seems that with my patch we could have an easy
way to build rpms for all of scipy in a few lines, without needing
scipy_distutils installed. But I don't know how to fix the current breakage.
Cheers,
f
More information about the SciPy-User
mailing list