Source: mawk
Version: 1.3.4.20250131-1
Severity: minor
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-shuffle

Hi,

GNU Make now has a --shuffle option that simulates non-deterministic ordering
of target prerequisites. See
https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous
work in Debian by Santiago Vila:
https://people.debian.org/~sanvila/make-shuffle/

This package fails to build with make --shuffle=reverse.
This is likely to be caused by a missing dependency in
debian/rules or an upstream Makefile.

More information about this mass bug filing is available at
https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

Relevant part (hopefully):
> make[2]: Entering directory '/build/reproducible-path/mawk-1.3.4.20250131'
> Makefile:127: update target 'makebits.h' due to: target does not exist
> gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> -I. -I. -DHAVE_CONFIG_H -I. -I. -DHAVE_CONFIG_H -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now  -o makebits 
> ./makebits.c
> rm -f makebits.h
> ./makebits > makebits.h
> rm makebits
> Makefile:89: update target 'version.o' due to: target does not exist
> gcc -c -I. -I. -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> version.c
> Makefile:89: update target 'fcall.o' due to: target does not exist
> gcc -c -I. -I. -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> fcall.c
> Makefile:89: update target 'matherr.o' due to: target does not exist
> gcc -c -I. -I. -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> matherr.c
> Makefile:133: update target 'scancode.c' due to: target does not exist
> gcc -g -O2 -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> -I. -I. -DHAVE_CONFIG_H -I. -I. -DHAVE_CONFIG_H -Wdate-time 
> -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now  -o makescan 
> ./makescan.c
> rm -f scancode.c
> ./makescan > scancode.c
> rm makescan
> Makefile:89: update target 'scancode.o' due to: target does not exist
> gcc -c -I. -I. -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> scancode.c
> Makefile:89: update target 'files.o' due to: target does not exist
> gcc -c -I. -I. -DHAVE_CONFIG_H -Wdate-time -D_FORTIFY_SOURCE=2 
> -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=500 -g -O2 
> -ffile-prefix-map=/build/reproducible-path/mawk-1.3.4.20250131=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Werror=implicit-function-declaration 
> files.c
> make[2]: *** No rule to make target 'parse.h', needed by 'fin.o'.  Stop.
> make[2]: Leaving directory '/build/reproducible-path/mawk-1.3.4.20250131'
> dh_auto_build: error: make -j1 mawk returned exit code 2
> make[1]: *** [debian/rules:27: override_dh_auto_build] Error 25 
> shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/mawk_1.3.4.20250131-1_unstable_reverse.log

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

Reply via email to