Followup-For: Bug #917650 Hi,
qi also FTBFS in stretch and jessie with different errors, just tested on abel.d.o. I think the will show up on sid as well once compilation proceeds a bit further. The minimal fix would probably be dropping -Werror (and getting a NULL definition), without cosmetic fixes (debhelper, standards-version), and to rebuild the fixed package for stretch ~deb9u1 and jessie ~deb8u1. stretch: dh binary dh: Compatibility levels before 9 are deprecated (level 8 in use) dh_testdir dh_update_autotools_config dh_auto_configure dh_auto_configure: Compatibility levels before 9 are deprecated (level 8 in use) debian/rules override_dh_auto_build make[1]: Entering directory '/home/anbe/qi/qi-20111113' /usr/bin/make CPU=s3c2442 CROSS_COMPILE="" BUILD_BRANCH=debian BUILD_HEAD=20111113-1.1 make[2]: Entering directory '/home/anbe/qi/qi-20111113' gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/cpu/s3c2442/start.o src/cpu/s3c2442/start.S gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/cpu/s3c2442/lowlevel_init.o src/cpu/s3c2442/lowlevel_init.S gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/utils-phase2.o src/utils-phase2.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/memory-test.o src/memory-test.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/crc32.o src/crc32.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/blink_led.o src/blink_led.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/ctype.o src/ctype.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T06:59:40+00:00" -DQI_CPU="s3c2442" -o src/phase2.o src/phase2.c src/phase2.c: In function 'do_params': src/phase2.c:242:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation] if (this_kernel->commandline_append) ^~ src/phase2.c:245:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if' if (commandline_rootfs_append[0]) ^~ In file included from src/phase2.c:29:0: src/phase2.c: At top level: include/image.h:367:13: error: inline function 'image_print_contents_noindent' declared but never defined [-Werror] inline void image_print_contents_noindent (image_header_t *hdr); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/image.h:366:13: error: inline function 'image_print_contents' declared but never defined [-Werror] inline void image_print_contents (image_header_t *hdr); ^~~~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors Makefile:69: recipe for target 'src/phase2.o' failed make[2]: *** [src/phase2.o] Error 1 make[2]: Leaving directory '/home/anbe/qi/qi-20111113' debian/rules:8: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/home/anbe/qi/qi-20111113' debian/rules:6: recipe for target 'binary' failed jessie: dh binary dh_testdir dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/home/anbe/qi/qi-20111113' /usr/bin/make CPU=s3c2442 CROSS_COMPILE="" BUILD_BRANCH=debian BUILD_HEAD=20111113-1.1 make[2]: Entering directory '/home/anbe/qi/qi-20111113' gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/cpu/s3c2442/start.o src/cpu/s3c2442/start.S gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/cpu/s3c2442/lowlevel_init.o src/cpu/s3c2442/lowlevel_init.S gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/utils-phase2.o src/utils-phase2.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/memory-test.o src/memory-test.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/crc32.o src/crc32.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/blink_led.o src/blink_led.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/ctype.o src/ctype.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/phase2.o src/phase2.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/utils.o src/utils.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/drivers/i2c-bitbang.o src/drivers/i2c-bitbang.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/drivers/glamo-init.o src/drivers/glamo-init.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/drivers/glamo-mmc.o src/drivers/glamo-mmc.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/fs/ext2.o src/fs/ext2.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/fs/dev.o src/fs/dev.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/cpu/s3c2442/serial-s3c24xx.o src/cpu/s3c2442/serial-s3c24xx.c gcc -Wall -Werror -I include -g -c -Os -fno-strict-aliasing -mlong-calls -fno-common -ffixed-r8 -msoft-float -fno-builtin -ffreestanding -march=armv4t -mno-thumb-interwork -Wstrict-prototypes -DBUILD_HOST="abel" -DBUILD_VERSION="debian_20111113-1.1" -DBUILD_DATE="2019-01-12T07:06:27+0000" -DQI_CPU="s3c2442" -o src/cpu/s3c2442/start_qi.o src/cpu/s3c2442/start_qi.c src/cpu/s3c2442/start_qi.c:39:4: error: 'NULL' undeclared here (not in a function) NULL /* always last */ ^ Makefile:69: recipe for target 'src/cpu/s3c2442/start_qi.o' failed make[2]: *** [src/cpu/s3c2442/start_qi.o] Error 1 make[2]: Leaving directory '/home/anbe/qi/qi-20111113' debian/rules:8: recipe for target 'override_dh_auto_build' failed make[1]: *** [override_dh_auto_build] Error 2 make[1]: Leaving directory '/home/anbe/qi/qi-20111113' debian/rules:6: recipe for target 'binary' failed Andreas