Package: src:qi Version: 20111113-1 Severity: serious Justification: fails to build from source (but built successfully in the past)
Hi! I've been doing a full rebuild of the Debian archive, building all source packages targeting armel and armhf using arm64 hardware. We are planning in future to move all of our 32-bit armel/armhf builds to using arm64 machines, so this rebuild is to identify packages that might have problems with this configuration. qi now fails to compile for armel: gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -mar ch=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="mjolnir" -DBUILD_VERSION="debian_20111113-1" -DBUILD_DATE="2018-12-29T18:58: 05+00:00" -DQI_CPU="s3c2442" -o src/memory-test.o src/memory-test.c In file included from src/memory-test.c:1: include/qi.h:104:29: error: duplicate 'const' declaration specifier [-Werror=duplicate-decl-specifier] const struct board_variant const * (*get_board_variant)(void); ^~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:69: src/memory-test.o] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>' Looks like newer compilers are now finding more warnings, and -Werror makes this a failure. Full log online at https://www.einval.com/debian/arm/rebuild-logs/armel/FAIL/qi_20111113-1_armel.log -- System Information: Debian Release: 9.6 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-debug'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)