Source: binutils-gold
Version: 2.44-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[5]: Entering directory 
> '/build/reproducible-path/binutils-gold-2.44/builddir-hurd-i386/libctf'
> Makefile:1866: update target 'development.exp' due to: target does not exist
> /usr/bin/grep -E "(development|experimental)=" 
> ../../libctf/../bfd/development.sh  \
>   | mawk -F= '{ print "set " $1 " " $2 }' > development.exp
> echo "set have_tcl_try true" >> development.exp
> Makefile:1383: update target 'site.exp' due to: target does not exist
> echo 'Making a new site.exp file ...'
> Making a new site.exp file ...
> echo '## these variables are automatically generated by make ##' >site.tmp
> echo '# Do not edit here.  If you wish to override these values' >>site.tmp
> echo '# edit the last section' >>site.tmp
> echo 'set srcdir "../../libctf"' >>site.tmp
> echo "set objdir `pwd`" >>site.tmp
> echo 'set build_alias "x86_64-linux-gnu"' >>site.tmp
> echo 'set build_triplet x86_64-pc-linux-gnu' >>site.tmp
> echo 'set host_alias "x86_64-linux-gnu"' >>site.tmp
> echo 'set host_triplet x86_64-pc-linux-gnu' >>site.tmp
> echo 'set target_alias "i686-gnu"' >>site.tmp
> echo 'set target_triplet i686-pc-gnu' >>site.tmp
> list='development.exp'; for f in $list; do \
>   echo "## Begin content included from file $f.  Do not modify. ##" \
>    && cat `test -f "$f" || echo '../../libctf/'`$f \
>    && echo "## End content included from file $f. ##" \
>    || exit 1; \
>  done >> site.tmp
> echo "## End of auto-generated content; you can edit from here. ##" >> 
> site.tmp
> if test -f site.exp; then \
>    sed -e '1,/^## End of auto-generated content.*##/d' site.exp >> site.tmp; \
>  fi
> rm -f site.bak
> test ! -f site.exp || mv site.exp site.bak
> mv site.tmp site.exp
> Makefile:1847: update target 'check-DEJAGNU' due to: target is .PHONY
> srcroot=`cd ../../libctf && pwd`; export srcroot; \
> r=`pwd`; export r; \
> LC_ALL=C; export LC_ALL; \
> EXPECT=expect; export EXPECT; \
> if [ "x86_64-pc-linux-gnu" = "i686-pc-gnu" ] ; then \
>   TEST_CROSS=no; \
> else \
>   TEST_CROSS=yes; \
> fi; \
> runtest=runtest; \
> if /bin/bash -c "$runtest --version" > /dev/null 2>&1; then \
>   $runtest --tool libctf --srcdir ${srcroot}/testsuite \
>       CC="x86_64-linux-gnu-gcc" CC_FOR_TARGET="i686-gnu-cc" 
> TEST_CROSS="${TEST_CROSS}" \
>       CFLAGS="-g -O2     -I../../libctf/../include -I../../libctf -I. 
> -I./../bfd " \
>       
> LIBS="-L/build/reproducible-path/binutils-gold-2.44/builddir-hurd-i386/libctf/../libiberty/pic
>  -liberty  -lz " ; \
> else echo "WARNING: could not find \`runtest'" 1>&2; :;\
> fi
> WARNING: Couldn't find tool init file
> Test run by sbuild on Thu May  1 12:44:30 2025
> Target is i686-pc-gnu
> Host   is x86_64-pc-linux-gnu
> 
>               === libctf tests ===
> 
> Schedule of variations:
>     unix
> 
> Running target unix
> Using /usr/share/dejagnu/baseboards/unix.exp as board description file for 
> target.
> Using /usr/share/dejagnu/config/unix.exp as generic interface file for target.
> Using 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/config/default.exp
>  as tool-and-target-specific interface file.
> WARNING: Assuming target board is the local machine (which is probably wrong).
> You may need to set your DEJAGNU environment variable.
> Running 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-lookup/lookup.exp
>  ...
> Running 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-regression/libctf-repeat-cu.exp
>  ...
> Running 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-regression/regression.exp
>  ...
> Running 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/writable.exp
>  ...
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/ctf-compressed.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/ctf-nonroot-linking.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/error-propagation.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/libctf-bitfield-name-lookup.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/libctf-errors.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-enum.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-enumerator.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-member-encoded.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-member-offset.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-set-array.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-struct.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/parent-child-dtd-union.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/pptrtab-writable-page-deep-lookup.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/pptrtab.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/reserialize-strtab-corruption.c
>  failed
> ERROR: compilation of lookup program 
> /build/reproducible-path/binutils-gold-2.44/libctf/testsuite/libctf-writable/symtypetab-nonlinker-writeout.c
>  failed
> 
>               === libctf Summary ===
> 
> # of unresolved testcases     16
> # of unsupported tests                3
> make[5]: *** [Makefile:1847: check-DEJAGNU] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/binutils-gold_2.44-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