Package: src:libselinux Version: 3.11-2 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202608/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:libselinux, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] selinuxswig.i:18: Warning 127: %typedef directive is deprecated, use plain typedef instead selinuxswig.i:19: Warning 127: %typedef directive is deprecated, use plain typedef instead ../include/selinux/avc.h:422: Warning 302: Redefinition of identifier 'avc_cache_stats' as avc_cache_stats(struct avc_cache_stats *) ignored, ../include/selinux/avc.h:402: Warning 302: previous definition of 'avc_cache_stats'. ../include/selinux/selinux.h:154: Warning 451: Setting a const char * variable may leak memory. ../include/selinux/selinux.h:376: Warning 451: Setting a const char * variable may leak memory. creating build/temp.linux-x86_64-cpython-313 x86_64-linux-gnu-gcc -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-semantic-interposition -Wall -Wextra -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../include -D_GNU_SOURCE -DNO_ANDROID_BACKEND -DUSE_PCRE2 -DPCRE2_CODE_UNIT_WIDTH=8 -DHAVE_STRLCPY -DHAVE_REALLOCARRAY -Wno-error -Wno-deprecated-declarations -Wno-missing-prototypes -Wno-missing-declarations -fPIC -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE64_SOURCE -fPIC -I../include -I/usr/include/python3.13 -c selinuxswig_python_wrap.c -o build/temp.linux-x86_64-cpython-313/selinuxswig_python_wrap.o selinuxswig_python_wrap.c: In function â_wrap_get_ordered_context_listâ: selinuxswig_python_wrap.c:6646:34: error: implicit declaration of function âPyString_FromStringâ; did you mean âPyLong_FromStringâ? [-Wimplicit-function-declaration] 6646 | PyList_SetItem(plist, i, PyString_FromString((*arg3)[i])); | ^~~~~~~~~~~~~~~~~~~ | PyLong_FromString selinuxswig_python_wrap.c:6646:34: error: passing argument 3 of âPyList_SetItemâ makes pointer from integer without a cast [-Wint-conversion] 6646 | PyList_SetItem(plist, i, PyString_FromString((*arg3)[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int In file included from /usr/include/python3.13/Python.h:90, from selinuxswig_python_wrap.c:206: /usr/include/python3.13/listobject.h:35:56: note: expected âPyObject *â {aka âstruct _object *â} but argument is of type âintâ 35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ selinuxswig_python_wrap.c: In function â_wrap_get_ordered_context_list_with_levelâ: selinuxswig_python_wrap.c:6724:34: error: passing argument 3 of âPyList_SetItemâ makes pointer from integer without a cast [-Wint-conversion] 6724 | PyList_SetItem(plist, i, PyString_FromString((*arg4)[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/python3.13/listobject.h:35:56: note: expected âPyObject *â {aka âstruct _object *â} but argument is of type âintâ 35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ selinuxswig_python_wrap.c: In function â_wrap_security_compute_userâ: selinuxswig_python_wrap.c:11512:34: error: passing argument 3 of âPyList_SetItemâ makes pointer from integer without a cast [-Wint-conversion] 11512 | PyList_SetItem(plist, i, PyString_FromString((*arg3)[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/python3.13/listobject.h:35:56: note: expected âPyObject *â {aka âstruct _object *â} but argument is of type âintâ 35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ selinuxswig_python_wrap.c: In function â_wrap_security_compute_user_rawâ: selinuxswig_python_wrap.c:11583:34: error: passing argument 3 of âPyList_SetItemâ makes pointer from integer without a cast [-Wint-conversion] 11583 | PyList_SetItem(plist, i, PyString_FromString((*arg3)[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/python3.13/listobject.h:35:56: note: expected âPyObject *â {aka âstruct _object *â} but argument is of type âintâ 35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ selinuxswig_python_wrap.c: In function â_wrap_security_get_boolean_namesâ: selinuxswig_python_wrap.c:12487:31: error: passing argument 3 of âPyList_SetItemâ makes pointer from integer without a cast [-Wint-conversion] 12487 | PyList_SetItem(list, i, PyString_FromString((*arg1)[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | int /usr/include/python3.13/listobject.h:35:56: note: expected âPyObject *â {aka âstruct _object *â} but argument is of type âintâ 35 | PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); | ^~~~~~~~~~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 TIP pass --env-dir and --sdist-extract-dir to keep the build environment and sources, then see https://build.pypa.io/en/stable/how-to/troubleshooting.html#debug-a-failed-build for help debugging a failed build ERROR Backend subprocess exited when trying to invoke build_wheel make[3]: *** [Makefile:154: pywrap] Error 1 make[3]: Leaving directory '/<<PKGBUILDDIR>>/src' make[2]: *** [Makefile:62: pywrap] Error 2 make[2]: Leaving directory '/<<PKGBUILDDIR>>' make[1]: *** [debian/rules:49: build-python-3.13] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:37: binary] Error 2 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

