Bug#672952: FTBFS: compile errors
LaMont Jones
lamont at debian.org
Mon May 14 21:53:55 UTC 2012
Package: dolfin
Version: 1.0.0-5
--
cd /build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig && /usr/bin/g++ -D_cpp_EXPORTS -DBOOST_UBLAS_NDEBUG -DHAS_SLEPC -DHAS_PETSC -DHAS_UMFPACK -DHAS_CHOLMOD -DHAS_SCOTCH -DHAS_ZLIB -DHAS_MPI -DMPICH_IGNORE_CXX_SEEK -DHAS_OPENMP -DDOLFIN_VERSION=\"1.0.0\" -g -O2 -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fopenmp -O2 -g -fPIC -I/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0 -I/usr/include/libxml2 -I/usr/lib/slepcdir/3.2 -I/usr/lib/slepcdir/3.2/linux-gnu-c-opt/include -I/usr/lib/slepcdir/3.2/include -I/usr/lib/petscdir/3.2/include -I/usr/lib/petscdir/3.2/linux-gnu-c-opt/include -I/usr/include/spooles -I/usr/include/scotch -I/usr/include/suitesparse -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/python3.2 -I/usr/lib/pymodules/python2.7/numpy/core/include -o CMakeFiles/_cpp.dir/dolfinPYTHON_wrap.cxx.o -c
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx: In function 'void handle_dolfin_exceptions()':
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx:4110:21: error: 'PyExc_StandardError' was not declared in this scope
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx: In function 'bool Py_convert_int(PyObject*, int&)':
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx:4141:55: error: 'PyInt_AS_LONG' was not declared in this scope
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx: In function 'bool Py_convert_uint(PyObject*, unsigned int&)':
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx:4279:50: error: 'PyInt_AS_LONG' was not declared in this scope
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx:4281:55: error: 'PyInt_AS_LONG' was not declared in this scope
In file included from /build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu/dolfin/swig/dolfinPYTHON_wrap.cxx:4743:0:
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/dolfin/swig/Indices.i: In constructor 'SliceIndices::SliceIndices(PyObject*, unsigned int)':
/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/dolfin/swig/Indices.i:107:97: error: cannot convert 'PySliceObject*' to 'PyObject* {aka _object*}' for argument '1' to 'int PySlice_GetIndicesEx(PyObject*, Py_ssize_t, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*, Py_ssize_t*)'
make[3]: *** [dolfin/swig/CMakeFiles/_cpp.dir/dolfinPYTHON_wrap.cxx.o] Error 1
make[2]: *** [dolfin/swig/CMakeFiles/_cpp.dir/all] Error 2
make[3]: Leaving directory `/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu'
make[2]: Leaving directory `/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu'
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
make[1]: Leaving directory `/build/buildd-dolfin_1.0.0-5-ia64-LDjTpK/dolfin-1.0.0/obj-ia64-linux-gnu'
More information about the debian-science-maintainers
mailing list