Source: libvigraimpex
Version: 1.7.0+dfsg-4
Severity: serious
Justification: FTBFS

VIGRA fails to build from source when built with numpy 1.4.1:

[…]
| [ 51%] Building CXX object 
vigranumpy/src/core/CMakeFiles/vigranumpy_core.dir/vigranumpycore.cxx.o
| cd /tmp/buildd/libvigraimpex-1.7.0+dfsg/obj.python2.6/vigranumpy/src/core && 
/usr/lib/ccache/c++   -Dvigranumpy_core_EXPORTS -DHasHDF5 -g -O2  -O3 -DNDEBUG -fPIC 
-I/tmp/buildd/libvigraimpex-1.7.0+dfsg/include 
-I/tmp/buildd/libvigraimpex-1.7.0+dfsg/obj.python2.6/include -I/usr/include/python2.6 
-I/usr/lib/pymodules/python2.6/numpy/core/include   -o 
CMakeFiles/vigranumpy_core.dir/vigranumpycore.cxx.o -c 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx
| In file included from /usr/include/python2.6/Python.h:8,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:39:
| /usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE" redefined
| In file included from 
/usr/include/c++/4.4/i486-linux-gnu/bits/os_defines.h:39,
|                  from 
/usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h:243,
|                  from /usr/include/c++/4.4/iostream:39,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:38:
| /usr/include/features.h:158:1: warning: this is the location of the previous 
definition
| In file included from /usr/include/python2.6/Python.h:8,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:39:
| /usr/include/python2.6/pyconfig.h:1040:1: warning: "_XOPEN_SOURCE" redefined
| In file included from 
/usr/include/c++/4.4/i486-linux-gnu/bits/os_defines.h:39,
|                  from 
/usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h:243,
|                  from /usr/include/c++/4.4/iostream:39,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:38:
| /usr/include/features.h:160:1: warning: this is the location of the previous 
definition
| In file included from /usr/include/python2.6/numpy/ndarrayobject.h:18,
|                  from /usr/include/python2.6/numpy/arrayobject.h:14,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:50,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:41:
| /usr/include/python2.6/numpy/numpyconfig.h:4:26: error: _numpyconfig.h: No 
such file or directory
| In file included from /usr/include/python2.6/numpy/ndarrayobject.h:68,
|                  from /usr/include/python2.6/numpy/arrayobject.h:14,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:50,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:41:
| /usr/include/python2.6/numpy/npy_common.h:840: error: 'npy_int64' does not 
name a type
| /usr/include/python2.6/numpy/npy_common.h:841: error: 'npy_int64' does not 
name a type
| In file included from /usr/include/python2.6/numpy/ndarrayobject.h:1238,
|                  from /usr/include/python2.6/numpy/arrayobject.h:14,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:50,
|                  from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:41:
| /usr/include/python2.6/numpy/__multiarray_api.h: In function 'int 
_import_array()':
| /usr/include/python2.6/numpy/__multiarray_api.h:1202: error: 
'NPY_ABI_VERSION' was not declared in this scope
| /usr/include/python2.6/numpy/__multiarray_api.h:1208: error: 
'NPY_API_VERSION' was not declared in this scope
| In file included from 
/tmp/buildd/libvigraimpex-1.7.0+dfsg/vigranumpy/src/core/vigranumpycore.cxx:41:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:547: 
error: 'NPY_INT16' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<short 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:547: 
error: 'NPY_INT16' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<short 
int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:547: 
error: 'NPY_INT16' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:548: 
error: 'NPY_UINT16' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<short unsigned 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:548: 
error: 'NPY_UINT16' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<short unsigned 
int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:548: 
error: 'NPY_UINT16' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:551: 
error: 'NPY_INT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<long 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:551: 
error: 'NPY_INT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<long 
int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:551: 
error: 'NPY_INT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:552: 
error: 'NPY_UINT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<long unsigned 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:552: 
error: 'NPY_UINT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<long unsigned 
int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:552: 
error: 'NPY_UINT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:559: 
error: 'NPY_INT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool 
vigra::NumpyArrayValuetypeTraits<int>::isValuetypeCompatible(const 
PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:559: 
error: 'NPY_INT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* 
vigra::NumpyArrayValuetypeTraits<int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:559: 
error: 'NPY_INT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:560: 
error: 'NPY_UINT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<unsigned 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:560: 
error: 'NPY_UINT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<unsigned 
int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:560: 
error: 'NPY_UINT32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:571: 
error: 'NPY_INT64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<long long 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:571: 
error: 'NPY_INT64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<long long 
int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:571: 
error: 'NPY_INT64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:572: 
error: 'NPY_UINT64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static bool vigra::NumpyArrayValuetypeTraits<long long unsigned 
int>::isValuetypeCompatible(const PyArrayObject*)':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:572: 
error: 'NPY_UINT64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: In static 
member function 'static PyObject* vigra::NumpyArrayValuetypeTraits<long long 
unsigned int>::typeObject()':
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:572: 
error: 'NPY_UINT64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx: At global 
scope:
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:576: 
error: 'npy_float32' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:576: 
error: template argument 1 is invalid
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:577: 
error: 'npy_float64' was not declared in this scope
| /tmp/buildd/libvigraimpex-1.7.0+dfsg/include/vigra/numpy_array.hxx:577: 
error: template argument 1 is invalid

--
Jakub Wilk

Attachment: signature.asc
Description: Digital signature

Reply via email to