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/
signature.asc
Description: PGP signature

