[SciPy-dev] FTBFS on Debian

Ondrej Certik ondrej@certik...
Mon Apr 14 04:58:41 CDT 2008


Hi,

for some reason, the scipy package 0.6.0 stopped building on Debian,
both i386 and amd64:

build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/fortranobject.o:
In function `PyFortranObject_New':
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:41:
undefined reference to `_PyObject_New'
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:42:
undefined reference to `PyDict_New'
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:66:
undefined reference to `PyDict_SetItemString'
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/fortranobject.o:
In function `F2PyDict_SetItemString':
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:21:
undefined reference to `PyErr_Occurred'
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:22:
undefined reference to `PyErr_Print'
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:23:
undefined reference to `PyErr_Clear'
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/fortranobject.o:
In function `fortran_dealloc':
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:91:
undefined reference to `PyObject_Free'
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:91:
undefined reference to `PyObject_Free'
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/fortranobject.o:
In function `F2PyDict_SetItemString':
/tmp/buildd/python-scipy-0.6.0/build/src.linux-x86_64-2.4/fortranobject.c:27:
undefined reference to `PyDict_SetItemString'
/usr/lib/libgfortranbegin.a(fmain.o): In function `main':
(.text+0x28): undefined reference to `MAIN__'
collect2: ld returned 1 exit status
error: Command "/usr/bin/gfortran -Wall
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/scipy/fftpack/_fftpackmodule.o
build/temp.linux-x86_64-2.4/scipy/fftpack/src/zfft.o
build/temp.linux-x86_64-2.4/scipy/fftpack/src/drfft.o
build/temp.linux-x86_64-2.4/scipy/fftpack/src/zrfft.o
build/temp.linux-x86_64-2.4/scipy/fftpack/src/zfftnd.o
build/temp.linux-x86_64-2.4/build/src.linux-x86_64-2.4/fortranobject.o
-L/usr/lib -Lbuild/temp.linux-x86_64-2.4 -ldfftpack -lfftw3 -lgfortran
-o build/lib.linux-x86_64-2.4/scipy/fftpack/_fftpack.so" failed with
exit status 1
make: *** [install] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules binary gave error
exit status 2
pbuilder: Failed autobuilding of package
 -> Aborting with an error
 -> unmounting dev/pts filesystem
 -> unmounting proc filesystem
 -> cleaning the build env
    -> removing directory /var/cache/pbuilder/build//30719 and its
subdirectories


Any ideas what went wrong?

Ondrej


More information about the Scipy-dev mailing list