Bug#1062880: saga: FTBFS: dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j32 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2

Sergio Durigan Junior sergiodj at debian.org
Sat Feb 3 21:18:48 GMT 2024


Source: saga
Version: 9.3.1+dfsg-1
Severity: serious
Tags: sid ftbfs

Hi,

saga FTBFSes on sid.  Here's the relevant build log:

--8<---------------cut here---------------start------------->8---
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/saga_core/saga_api/saga_api_python/CMakeFiles/saga_api_python.dir/saga_apiPYTHON_wrap.cxx: In function ‘PyObject* PyInit__saga_api()’:
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/saga_core/saga_api/saga_api_python/CMakeFiles/saga_api_python.dir/saga_apiPYTHON_wrap.cxx:269918:82: error: lvalue required as unary ‘&’ operand
269918 |   SWIG_Python_SetConstant(d, "M_ALMOST_ZERO",SWIG_NewPointerObj(SWIG_as_voidptr(&0.001),SWIGTYPE_p_long_double, 0 ));
       |                                                                                  ^~~~~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/saga_core/saga_api/saga_api_python/CMakeFiles/saga_api_python.dir/saga_apiPYTHON_wrap.cxx:1136:89: note: in definition of macro ‘SWIG_NewPointerObj’
 1136 | #define SWIG_NewPointerObj(ptr, type, flags)            SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
      |                                                                                         ^~~
/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src/saga_core/saga_api/saga_api_python/CMakeFiles/saga_api_python.dir/saga_apiPYTHON_wrap.cxx:269918:65: note: in expansion of macro ‘SWIG_as_voidptr’
269918 |   SWIG_Python_SetConstant(d, "M_ALMOST_ZERO",SWIG_NewPointerObj(SWIG_as_voidptr(&0.001),SWIGTYPE_p_long_double, 0 ));
       |                                                                 ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/saga-gis/src/tools/imagery/imagery_classification/decision_tree.cpp: In member function ‘int CDecision_Tree::Get_Class(const CSG_String&)’:
/<<PKGBUILDDIR>>/saga-gis/src/tools/imagery/imagery_classification/decision_tree.cpp:290:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
  290 |         for(int i=0, j=1; i<ID.Length(); i++, j*=2)
      |                           ~^~~~~~~~~~~~
--8<---------------cut here---------------end--------------->8---

Thanks,

-- 
Sergio
GPG key ID: 237A 54B1 0287 28BF 00EF  31F4 D0EB 7628 65FC 5E36
Please send encrypted e-mail if possible
https://sergiodj.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20240203/7f1ee993/attachment.sig>


More information about the Pkg-grass-devel mailing list