Package: src:reprozip Version: 1.3-2 Severity: important Tags: sid trixie User: [email protected] Usertags: ftbfs-gcc-14
[This bug is targeted to the upcoming trixie release] Please keep this issue open in the bug tracker for the package it was filed for. If a fix in another package is required, please file a bug for the other package (or clone), and add a block in this package. Please keep the issue open until the package can be built in a follow-up test rebuild. The package fails to build in a test rebuild on at least amd64 with gcc-14/g++-14, but succeeds to build with gcc-13/g++-13. The severity of this report will be raised before the trixie release. The full build log can be found at: http://qa-logs.debian.net/2024/07/01/reprozip_1.3-2_unstable_gccexp.log The last lines of the build log are at the end of this report. To build with GCC 14, either set CC=gcc-14 CXX=g++-14 explicitly, or install the gcc, g++, gfortran, ... packages from experimental. apt-get -t=experimental install g++ Common build failures are new warnings resulting in build failures with -Werror turned on, or new/dropped symbols in Debian symbols files. For other C/C++ related build failures see the porting guide at http://gcc.gnu.org/gcc-14/porting_to.html [...] copying reprozip/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprozip/build/reprozip creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprozip/build/reprozip/tracer copying reprozip/tracer/trace.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprozip/build/reprozip/tracer copying reprozip/tracer/linux_pkgs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprozip/build/reprozip/tracer copying reprozip/tracer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_reprozip/build/reprozip/tracer running build_ext building 'reprozip._pytracer' extension creating build creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/native x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c native/database.c -o build/temp.linux-x86_64-cpython-311/native/database.o x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c native/ptrace_utils.c -o build/temp.linux-x86_64-cpython-311/native/ptrace_utils.o x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c native/pylog.c -o build/temp.linux-x86_64-cpython-311/native/pylog.o x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c native/pytracer.c -o build/temp.linux-x86_64-cpython-311/native/pytracer.o x86_64-linux-gnu-gcc -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -Werror=implicit-function-declaration -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.11 -c native/syscalls.c -o build/temp.linux-x86_64-cpython-311/native/syscalls.o native/syscalls.c: In function ‘handle_socket’: native/syscalls.c:864:22: error: passing argument 2 of ‘strncpy’ from incompatible pointer type [-Wincompatible-pointer-types] 864 | strncpy(buf, &address_->sun_path, 108); | ^~~~~~~~~~~~~~~~~~~ | | | char (*)[108] In file included from /usr/include/features.h:502, from /usr/include/errno.h:25, from native/syscalls.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘char (*)[108]’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3.11 setup.py build I: pybuild base:311: /usr/bin/python3 setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/main.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/traceutils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/utils.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/common.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/pack.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/filters.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip copying reprozip/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip/tracer copying reprozip/tracer/trace.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip/tracer copying reprozip/tracer/linux_pkgs.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip/tracer copying reprozip/tracer/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_reprozip/build/reprozip/tracer running build_ext building 'reprozip._pytracer' extension creating build/temp.linux-x86_64-cpython-312 creating build/temp.linux-x86_64-cpython-312/native x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c native/database.c -o build/temp.linux-x86_64-cpython-312/native/database.o x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c native/ptrace_utils.c -o build/temp.linux-x86_64-cpython-312/native/ptrace_utils.o x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c native/pylog.c -o build/temp.linux-x86_64-cpython-312/native/pylog.o x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c native/pytracer.c -o build/temp.linux-x86_64-cpython-312/native/pytracer.o x86_64-linux-gnu-gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O2 -Wall -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.12 -c native/syscalls.c -o build/temp.linux-x86_64-cpython-312/native/syscalls.o native/syscalls.c: In function ‘handle_socket’: native/syscalls.c:864:22: error: passing argument 2 of ‘strncpy’ from incompatible pointer type [-Wincompatible-pointer-types] 864 | strncpy(buf, &address_->sun_path, 108); | ^~~~~~~~~~~~~~~~~~~ | | | char (*)[108] In file included from /usr/include/features.h:502, from /usr/include/errno.h:25, from native/syscalls.c:1: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:92:1: note: expected ‘const char *’ but argument is of type ‘char (*)[108]’ 92 | __NTH (strncpy (char *__restrict __dest, const char *__restrict __src, | ^~~~~ error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1 E: pybuild pybuild:389: build: plugin distutils failed with: exit code=1: /usr/bin/python3 setup.py build dh_auto_build: error: pybuild --build -i python{version} -p "3.11 3.12" returned exit code 13 make: *** [debian/rules:13: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 -- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
