Source: device-tree-compiler Version: 1.7.0-2 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20241222 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 > -Wall -g -Os -fPIC -Werror -Wall -Wpointer-arith -Wcast-qual -Wnested-externs > -Wsign-compare -Wstrict-prototypes -Wmissing-prototypes -Wredundant-decls > -Wshadow -g -O2 -Werror=implicit-function-declaration > -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong > -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection > -Wno-error -I/usr/include/valgrind -Wdate-time -D_FORTIFY_SOURCE=2 -I libfdt > -I . -fPIC -DPY_SSIZE_T_CLEAN -I/<<PKGBUILDDIR>>/./libfdt > -I/usr/include/python3.12 -c /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c -o > build/temp.linux-x86_64-cpython-312/<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.o > In file included from /usr/include/python3.12/Python.h:91, > from /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:203: > /usr/include/python3.12/modsupport.h:37:24: warning: redundant redeclaration > of ‘_Py_BuildValue_SizeT’ [-Wredundant-decls] > 37 | PyAPI_FUNC(PyObject *) _Py_BuildValue_SizeT(const char *, ...); > | ^~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/modsupport.h:20:41: note: previous declaration of > ‘_Py_BuildValue_SizeT’ with type ‘PyObject *(const char *, ...)’ {aka ‘struct > _object *(const char *, ...)’} > 20 | #define Py_BuildValue _Py_BuildValue_SizeT > | ^~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/modsupport.h:36:24: note: in expansion of macro > ‘Py_BuildValue’ > 36 | PyAPI_FUNC(PyObject *) Py_BuildValue(const char *, ...); > | ^~~~~~~~~~~~~ > In file included from /usr/include/python3.12/Python.h:100: > /usr/include/python3.12/abstract.h:198:24: warning: redundant redeclaration > of ‘_PyObject_CallFunction_SizeT’ [-Wredundant-decls] > 198 | PyAPI_FUNC(PyObject *) _PyObject_CallFunction_SizeT(PyObject > *callable, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/abstract.h:139:33: note: previous declaration of > ‘_PyObject_CallFunction_SizeT’ with type ‘PyObject *(PyObject *, const char > *, ...)’ {aka ‘struct _object *(struct _object *, const char *, ...)’} > 139 | # define PyObject_CallFunction _PyObject_CallFunction_SizeT > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/abstract.h:182:24: note: in expansion of macro > ‘PyObject_CallFunction’ > 182 | PyAPI_FUNC(PyObject *) PyObject_CallFunction(PyObject *callable, > | ^~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/abstract.h:202:24: warning: redundant redeclaration > of ‘_PyObject_CallMethod_SizeT’ [-Wredundant-decls] > 202 | PyAPI_FUNC(PyObject *) _PyObject_CallMethod_SizeT(PyObject *obj, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/abstract.h:140:31: note: previous declaration of > ‘_PyObject_CallMethod_SizeT’ with type ‘PyObject *(PyObject *, const char *, > const char *, ...)’ {aka ‘struct _object *(struct _object *, const char *, > const char *, ...)’} > 140 | # define PyObject_CallMethod _PyObject_CallMethod_SizeT > | ^~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/abstract.h:194:24: note: in expansion of macro > ‘PyObject_CallMethod’ > 194 | PyAPI_FUNC(PyObject *) PyObject_CallMethod(PyObject *obj, > | ^~~~~~~~~~~~~~~~~~~ > In file included from /usr/include/python3.12/abstract.h:892: > /usr/include/python3.12/cpython/abstract.h:116:24: warning: redundant > redeclaration of ‘_PyObject_CallMethodId_SizeT’ [-Wredundant-decls] > 116 | PyAPI_FUNC(PyObject *) _PyObject_CallMethodId_SizeT(PyObject *obj, > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/cpython/abstract.h:8:34: note: previous declaration > of ‘_PyObject_CallMethodId_SizeT’ with type ‘PyObject *(PyObject *, > _Py_Identifier *, const char *, ...)’ {aka ‘struct _object *(struct _object > *, _Py_Identifier *, const char *, ...)’} > 8 | # define _PyObject_CallMethodId _PyObject_CallMethodId_SizeT > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/include/python3.12/cpython/abstract.h:112:24: note: in expansion of > macro ‘_PyObject_CallMethodId’ > 112 | PyAPI_FUNC(PyObject *) _PyObject_CallMethodId(PyObject *obj, > | ^~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘SWIG_FromCharPtrAndSize’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3457:36: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3457 | SWIG_InternalNewPointerObj((char *)(carray), > pchar_descriptor, 0) : SWIG_Py_Void(); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1170:89: note: in definition of > macro ‘SWIG_InternalNewPointerObj’ > 1170 | #define SWIG_InternalNewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘SWIG_AsCharPtrAndSize’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3644:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3644 | cstr = (char *)SWIG_PyUnicode_AsUTF8AndSize(obj, &len, &bytes); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_new_fdt_header’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3247:28: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3247 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1167:89: note: in definition of > macro ‘SWIG_NewPointerObj’ > 1167 | #define SWIG_NewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:4303:34: note: in expansion of > macro ‘SWIG_as_voidptr’ > 4303 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), > SWIGTYPE_p_fdt_header, SWIG_POINTER_NEW | 0 ); > | ^~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_new_fdt_reserve_entry’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3247:28: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3247 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1167:89: note: in definition of > macro ‘SWIG_NewPointerObj’ > 1167 | #define SWIG_NewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:4471:34: note: in expansion of > macro ‘SWIG_as_voidptr’ > 4471 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), > SWIGTYPE_p_fdt_reserve_entry, SWIG_POINTER_NEW | 0 ); > | ^~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_new_fdt_node_header’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3247:28: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3247 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1167:89: note: in definition of > macro ‘SWIG_NewPointerObj’ > 1167 | #define SWIG_NewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:4597:34: note: in expansion of > macro ‘SWIG_as_voidptr’ > 4597 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), > SWIGTYPE_p_fdt_node_header, SWIG_POINTER_NEW | 0 ); > | ^~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_new_fdt_property’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3247:28: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3247 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1167:89: note: in definition of > macro ‘SWIG_NewPointerObj’ > 1167 | #define SWIG_NewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:4831:34: note: in expansion of > macro ‘SWIG_as_voidptr’ > 4831 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), > SWIGTYPE_p_fdt_property, SWIG_POINTER_NEW | 0 ); > | ^~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_offset_ptr_w’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3247:28: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3247 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1167:89: note: in definition of > macro ‘SWIG_NewPointerObj’ > 1167 | #define SWIG_NewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:5376:34: note: in expansion of > macro ‘SWIG_as_voidptr’ > 5376 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), > SWIGTYPE_p_void, 0 | 0 ); > | ^~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_next_node’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:5599:17: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 5599 | resultobj = SWIG_Python_AppendOutput(resultobj, val); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_get_string’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6192:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 6192 | result = (char *)fdt_get_string((void const *)arg1,arg2,arg3); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_string’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6232:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 6232 | result = (char *)fdt_string((void const *)arg1,arg2); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_get_mem_rsv’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6406:19: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 6406 | resultobj = SWIG_Python_AppendOutput(resultobj, val); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6415:19: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 6415 | resultobj = SWIG_Python_AppendOutput(resultobj, val); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_get_name’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6536:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 6536 | result = (char *)fdt_get_name((void const *)arg1,arg2,arg3); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_get_property_by_offset’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6648:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 6648 | result = (struct fdt_property *)fdt_get_property_by_offset((void > const *)arg1,arg2,arg3); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6657:19: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 6657 | resultobj = SWIG_Python_AppendOutput(resultobj, buff); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_get_property_by_offset_w’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6711:19: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 6711 | resultobj = SWIG_Python_AppendOutput(resultobj, buff); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_get_property’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6765:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 6765 | result = (struct fdt_property *)fdt_get_property((void const > *)arg1,arg2,(char const *)arg3,arg4); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6774:19: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 6774 | resultobj = SWIG_Python_AppendOutput(resultobj, buff); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_get_property_w’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6839:19: error: too few arguments > to function ‘SWIG_Python_AppendOutput’ > 6839 | resultobj = SWIG_Python_AppendOutput(resultobj, buff); > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1259:1: note: declared here > 1259 | SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int > is_void) { > | ^~~~~~~~~~~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_getprop’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6895:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 6895 | result = (void *)fdt_getprop((void const *)arg1,arg2,(char const > *)arg3,arg4); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_getprop_w’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3247:28: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 3247 | #define SWIG_as_voidptr(a) (void *)((const void *)(a)) > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:1167:89: note: in definition of > macro ‘SWIG_NewPointerObj’ > 1167 | #define SWIG_NewPointerObj(ptr, type, flags) > SWIG_Python_NewPointerObj(NULL, ptr, type, flags) > | > ^~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:6962:34: note: in expansion of > macro ‘SWIG_as_voidptr’ > 6962 | resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), > SWIGTYPE_p_void, 0 | 0 ); > | ^~~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_get_alias’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:7038:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 7038 | result = (char *)fdt_get_alias((void const *)arg1,(char const > *)arg2); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_stringlist_get’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:7547:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 7547 | result = (char *)fdt_stringlist_get((void const *)arg1,arg2,(char > const *)arg3,arg4,arg5); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function > ‘_wrap_fdt_overlay_target_offset’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:9304:86: warning: to be safe all > intermediate pointers in cast from ‘char **’ to ‘const char **’ must be > ‘const’ qualified [-Wcast-qual] > 9304 | result = (int)fdt_overlay_target_offset((void const *)arg1,(void > const *)arg2,arg3,(char const **)arg4); > | > ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: In function ‘_wrap_fdt_strerror’: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:9328:12: warning: cast discards > ‘const’ qualifier from pointer target type [-Wcast-qual] > 9328 | result = (char *)fdt_strerror(arg1); > | ^ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c: At top level: > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:3240:24: warning: no previous > prototype for ‘PyInit__libfdt’ [-Wmissing-prototypes] > 3240 | # define SWIG_init PyInit__libfdt > | ^~~~~~~~~~~~~~ > /<<PKGBUILDDIR>>/./pylibfdt/libfdt_wrap.c:9926:1: note: in expansion of macro > ‘SWIG_init’ > 9926 | SWIG_init(void) { > | ^~~~~~~~~ > error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 > make[3]: *** [pylibfdt/Makefile.pylibfdt:20: pylibfdt/_libfdt.so] Error 1 The full build log is available from: http://qa-logs.debian.net/2024/12/22/device-tree-compiler_1.7.0-2_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20241222;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20241222&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.