Source: simavr
Version: 1.6+dfsg-3
Severity: minor
Tags: trixie sid ftbfs
User: lu...@debian.org
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):
> cc -MMD -Wdate-time -D_FORTIFY_SOURCE=2 --std=gnu99 -Wall -I../include 
> -I../simavr/sim -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/simavr-1.6+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection  -O2 -Wall -Wextra 
> -Wno-unused-parameter -Wno-unused-result -Wno-missing-field-initializers 
> -Wno-sign-compare -g 
> -Wl,-rpath-link,/build/reproducible-path/simavr-1.6+dfsg/tests/../simavr/obj-x86_64-linux-gnu
>  -o obj-x86_64-linux-gnu/test_atmega48_enabled_timer.tst tests.c 
> test_atmega48_enabled_timer.c -Wl,-z,relro -Wl,-z,now 
> -L/build/reproducible-path/simavr-1.6+dfsg/tests/../simavr/obj-x86_64-linux-gnu
>  -lsimavr
> tests.c:254:1: fatal error: opening dependency file 
> obj-x86_64-linux-gnu/test_atmega644_adc_test.d: No such file or directory
>   254 | }
>       | ^
> compilation terminated.
> tests.c:254:1: fatal error: opening dependency file 
> obj-x86_64-linux-gnu/test_atmega88_example.d: No such file or directory
>   254 | }
>       | ^
> compilation terminated.
> ../..//Makefile.common:173: update target 'obj-x86_64-linux-gnu/uart_udp.o' 
> due to: target does not exist
> cc -Wdate-time -D_FORTIFY_SOURCE=2 --std=gnu99 -Wall -I../..//simavr/sim -g 
> -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/simavr-1.6+dfsg=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection  -O2 -Wall -Wextra 
> -Wno-unused-parameter -Wno-unused-result -Wno-missing-field-initializers 
> -Wno-sign-compare -g -MMD -fPIC \
>       uart_udp.c  -c -o obj-x86_64-linux-gnu/uart_udp.o
> tests.c:254:1: fatal error: opening dependency file 
> obj-x86_64-linux-gnu/test_atmega48_enabled_timer.d: No such file or directory
>   254 | }
>       | ^
> compilation terminated.
> test_atmega644_adc_test.c:15:1: fatal error: opening dependency file 
> obj-x86_64-linux-gnu/test_atmega644_adc_test.d: No such file or directory
>    15 | }
>       | ^
> compilation terminated.
> make[3]: *** [Makefile:47: obj-x86_64-linux-gnu/test_atmega644_adc_test.tst] 
> Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/simavr_1.6+dfsg-3_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