Bug#672952: FTBFS: compile errors

2012-05-21 Thread Johannes Ring
On Wed, May 16, 2012 at 5:02 PM, Scott Kitterman deb...@kitterman.com wrote:
 On Wednesday, May 16, 2012 12:04:05 PM Johannes Ring wrote:
 [Cc'ing debian-python]
 ...
 @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?

 ...
 X-Python-Version doesn't have any affect on Python 3 versions.  There is a
 separate X-Python3-Version for that.

Thanks Scott, that's what I thought.

 If your build system is trying to build with a Python3 version that happens to
 be present when it's not supported, that's a bug in your package that ought to
 be fixed.

Yes, I agree. I will do a new upload soon that should fix this issue.

Thanks,

Johannes



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#672952: FTBFS: compile errors

2012-05-16 Thread Johannes Ring
[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=dolfinarch=ia64ver=1.0.0-5stamp=1337006055

Thanks,

Johannes

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



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#672952: FTBFS: compile errors

2012-05-16 Thread Scott Kitterman
On Wednesday, May 16, 2012 12:04:05 PM Johannes Ring wrote:
 [Cc'ing debian-python]
...
 @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?
 
...
X-Python-Version doesn't have any affect on Python 3 versions.  There is a 
separate X-Python3-Version for that.

If your build system is trying to build with a Python3 version that happens to 
be present when it's not supported, that's a bug in your package that ought to 
be fixed.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#672952: FTBFS: compile errors

2012-05-14 Thread LaMont Jones
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'



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org