Source: giza
Version: 1.5.0-2
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):
> make[4]: Entering directory '/build/reproducible-path/giza-1.5.0/test/F90'
> Makefile:596: update target 'test-pgaxis.o' due to: target does not exist
> gfortran   -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -c -o 
> test-pgaxis.o test-pgaxis.f90
> Makefile:586: update target 'test-pgaxis' due to: target does not exist
> rm -f test-pgaxis
> /bin/bash ../../libtool  --tag=FC   --mode=link gfortran   -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -no-install 
> -Wl,-z,relro -o test-pgaxis test-pgaxis.o ../../src/libpgplot.la 
> libtool: link: gfortran -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z 
> -Wl,relro -o test-pgaxis test-pgaxis.o  ../../src/.libs/libpgplot.so 
> -Wl,-rpath -Wl,/build/reproducible-path/giza-1.5.0/src/.libs
> Makefile:596: update target 'test-fortran.o' due to: target does not exist
> gfortran   -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -c -o 
> test-fortran.o test-fortran.f90
> Makefile:582: update target 'test-fortran' due to: target does not exist
> rm -f test-fortran
> /bin/bash ../../libtool  --tag=FC   --mode=link gfortran   -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -no-install 
> -Wl,-z,relro -o test-fortran test-fortran.o ../../src/libpgplot.la 
> libtool: link: gfortran -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z 
> -Wl,relro -o test-fortran test-fortran.o  ../../src/.libs/libpgplot.so 
> -Wl,-rpath -Wl,/build/reproducible-path/giza-1.5.0/src/.libs
> Makefile:596: update target 'test-2D.o' due to: target does not exist
> gfortran   -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -c -o 
> test-2D.o test-2D.f90
> Makefile:578: update target 'test-2D' due to: target does not exist
> rm -f test-2D
> /bin/bash ../../libtool  --tag=FC   --mode=link gfortran   -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -no-install 
> -Wl,-z,relro -o test-2D test-2D.o ../../src/libpgplot.la 
> libtool: link: gfortran -I../../src -g -O2 
> -ffile-prefix-map=/build/reproducible-path/giza-1.5.0=. 
> -fstack-protector-strong -fstack-clash-protection -fcf-protection -Wl,-z 
> -Wl,relro -o test-2D test-2D.o  ../../src/.libs/libpgplot.so -Wl,-rpath 
> -Wl,/build/reproducible-path/giza-1.5.0/src/.libs
> Makefile:1029: update target 'check_output_files' due to: target does not 
> exist
> echo "Checking for required png files..."
> Checking for required png files...
> for i in giza-test.png giza-test-2D.png; do \
>     if [ ! -s $i ]; then \
>         echo "ERROR: Required file $i does not exist."; \
>         exit 1; \
>     else \
>         echo "$i exists"; \
>     fi; \
> done
> ERROR: Required file giza-test.png does not exist.
> make[4]: *** [Makefile:1030: check_output_files] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/giza_1.5.0-2_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