• Bug#1105304: gearhead: FTBFS with make --shuffle=reverse: cp: cannot st

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:13 2025
    Source: gearhead
    Version: 1.310-3
    Severity: minor
    Tags: trixie sid ftbfs
    User: lucas@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[1]: Entering directory '/build/reproducible-path/gearhead-1.310' debian/rules:99: update target 'binary-common' due to: target does not exist dh_testdir
    dh_testroot
    dh_installchangelogs history.txt
    dh_installdocs -X compiling.txt -X history.txt
    dh_installexamples
    dh_installmenu
    dh_installman
    dh_link
    dh_strip
    dh_compress
    dh_fixperms
    dh_makeshlibs
    dh_installdeb
    dh_shlibdeps
    dh_gencontrol
    dh_md5sums
    dh_builddeb
    dpkg-deb: building package 'gearhead-data' in '../gearhead-data_1.310-3_all.deb'.
    make[1]: Leaving directory '/build/reproducible-path/gearhead-1.310' debian/rules:86: update target 'install-arch' due to: target is .PHONY dh_prep
    dh_testdir
    dh_testroot
    dh_installdirs -a
    dh_installdirs: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~).
    dh_install -a
    dh_install: warning: Use of debian/compat is deprecated and will be removed in debhelper (>= 14~).
    cp debian/build/console/gharena debian/gearhead/usr/games/gearhead
    cp: cannot stat 'debian/build/console/gharena': No such file or directory make: *** [debian/rules:91: install-arch] Error 1 shuffle=reverse


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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)