Source: getfem Version: 5.4.2+dfsg1-4 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240728 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[5]: Entering directory '/<<PKGBUILDDIR>>/interface/src/python' > cp ./getfem_python.c getfem_python_c.c > ../../../bin/extract_doc ./.. python-com > getfem.py || ( rm getfem.py ; > /bin/false ) > touch _getfem.cpython-312-x86_64-linux-gnu.so && rm > _getfem.cpython-312-x86_64-linux-gnu.so > ARCHFLAGS="" CC="gcc" CFLAGS="-Wall -g -O2 > -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. > -fstack-protector-strong -fstack-clash-protection -Wformat > -Werror=format-security -fcf-protection -O3 -fPIC" /usr/bin/python3 setup.py > -v build --build-temp . --build-base . --build-lib . --force > getfem_python_c.c:142:5: error: initialization of ‘PyAsyncMethods *’ from > incompatible pointer type ‘int (*)(PyGetfemObject *, PyGetfemObject *)’ > [-Wincompatible-pointer-types] > 142 | GetfemObject_compare, /* tp_compare, necessary for > dictionary*/ > | ^~~~~~~~~~~~~~~~~~~~ > getfem_python_c.c:142:5: note: (near initialization for > ‘PyGetfemObject_Type.tp_as_async’) > getfem_python_c.c: In function ‘PyObject_to_gfi_array’: > getfem_python_c.c:38:30: warning: initialization discards ‘const’ qualifier > from pointer target type [-Wdiscarded-qualifiers] > 38 | #define PyString_AsString(o) PyUnicode_AsUTF8(o) > | ^~~~~~~~~~~~~~~~ > getfem_python_c.c:345:15: note: in expansion of macro ‘PyString_AsString’ > 345 | char *s = PyString_AsString(o); > | ^~~~~~~~~~~~~~~~~ > getfem_python_c.c:476:17: warning: comparison of integer expressions of > different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare] > 476 | for (i=0; i < t->dim.dim_len; ++i) > | ^ > getfem_python_c.c:493:17: warning: comparison of integer expressions of > different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare] > 493 | for (i=0; i < TGFISTORE(cell,len); ++i) { > | ^ > getfem_python_c.c: In function ‘PyGetfemObject_FromObjId’: > getfem_python_c.c:535:5: warning: ‘PyEval_CallObjectWithKeywords’ is > deprecated [-Wdeprecated-declarations] > 535 | o = PyEval_CallObject(python_factory, arg); > | ^ > In file included from /usr/include/python3.12/Python.h:95, > from getfem_python_c.c:27: > /usr/include/python3.12/ceval.h:27:43: note: declared here > 27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) > PyEval_CallObjectWithKeywords( > | > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > getfem_python_c.c: In function ‘build_gfi_array_list’: > getfem_python_c.c:554:19: warning: assignment discards ‘const’ qualifier from > pointer target type [-Wdiscarded-qualifiers] > 554 | *pfunction_name = PyString_AsString(PyTuple_GET_ITEM(tuple,0)); > | ^ > getfem_python_c.c: In function ‘gfi_array_to_PyObject’: > getfem_python_c.c:580:18: warning: comparison of integer expressions of > different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare] > 580 | for(i=0; i < t->dim.dim_len; i++) > | ^ > getfem_python_c.c:599:19: warning: comparison of integer expressions of > different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare] > 599 | for(i=0; i< t->dim.dim_len; i++) > | ^ > getfem_python_c.c:612:19: warning: comparison of integer expressions of > different signedness: ‘int’ and ‘u_int’ {aka ‘unsigned int’} [-Wsign-compare] > 612 | for(i=0; i< t->dim.dim_len; i++) > | ^ > error: command '/usr/bin/gcc' failed with exit code 1 > make[5]: *** [Makefile:677: _getfem.cpython-312-x86_64-linux-gnu.so] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/07/28/getfem_5.4.2+dfsg1-4_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240728;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240728&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.