Package: python-numpy
Version: 1:1.3.0-2
Severity: serious
Hi,
while building the new version of gdal, that package FTBFS with this
error:
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
In file included from /usr/include/python2.5/numpy/npy_endian.h:22,
from /usr/include/python2.5/numpy/ndarrayobject.h:26,
from /usr/include/python2.5/numpy/arrayobject.h:14,
from extensions/gdal_array.h:25,
from extensions/_gdal_array.cpp:33:
/usr/include/python2.5/numpy/npy_cpu.h:49:6: error: #error Unknown CPU, please report this to numpy maintainers with information about your platform (OS, CPU and compiler)
In file included from /usr/include/python2.5/numpy/ndarrayobject.h:26,
from /usr/include/python2.5/numpy/arrayobject.h:14,
from extensions/gdal_array.h:25,
from extensions/_gdal_array.cpp:33:
/usr/include/python2.5/numpy/npy_endian.h:33:10: error: #error Unknown CPU: can not set endianness
This directly hints to the suspection that the new version of
python-numpy caused that, so filing the bug against this package.
The detailed build log is available at
https://buildd.debian.org/fetch.cgi?&pkg=gdal&ver=1.5.4-4.1&arch=alpha&stamp=1251632892&file=log
Cheers,
Andi