tags 544291 +confirmed
thanks

Dear Andreas,

On Sun, Aug 30, 2009 at 02:08:22PM +0200, Andreas Barth wrote:
> 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.
> 

Thanks for notifying us of this. I am well aware of what is causing
the problem, and know how to fix it. However, I wanted the opinion of
the Debian Python team for a more elegant fix, before going ahead and
fixing this problem. Please give me a couple of days, within which I
can get this issue sorted out.

Thanks.

Kumar
-- 
Kumar Appaiah

Attachment: signature.asc
Description: Digital signature

Reply via email to