Bug#672952: FTBFS: compile errors

Johannes Ring johannr at simula.no
Wed May 16 10:04:05 UTC 2012


[Cc'ing debian-python]

Hi LaMont,

Thanks for the report but I'm wondering why python3.2 is installed on
this build machine? From looking at the build log [1], it seems that
it has been pre-installed? Is that intentional? DOLFIN Build-Depends
on python-all-dev (>= 2.6.6-3~) and FWICT only python2.6 and python2.7
should be installed.

@debian-python: Since DOLFIN does not work with Python 3 (yet) maybe a
Build-Conflicts should be added? And what about X-Python-Version? This
is currently set to ">= 2.5". Should it be ">= 2.5, << 3.0" or doesn't
X-Python-Version have any affect on Python 3 versions?

[1] https://buildd.debian.org/status/fetch.php?pkg=dolfin&arch=ia64&ver=1.0.0-5&stamp=1337006055

Thanks,

Johannes

On Mon, May 14, 2012 at 11:53 PM, LaMont Jones <lamont at debian.org> wrote:
> 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'
>
>
>
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers





More information about the debian-science-maintainers mailing list