• Bug#1105337: glhack: FTBFS with make --shuffle=reverse: make[3]: *** [M

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:16 2025
    Source: glhack
    Version: 1.2-8
    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[5]: Entering directory '/build/reproducible-path/glhack-1.2/src' make[5]: '../include/date.h' is up to date.
    make[5]: Leaving directory '/build/reproducible-path/glhack-1.2/src' Makefile:293: update target 'dlb_main.o' due to: target does not exist
    cc -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/glhack-1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -
    Wdate-time -D_FORTIFY_SOURCE=2 -O -I../include -c dlb_main.c
    Makefile:290: update target 'dlb' due to: target does not exist
    cc -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/glhack-1.2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -
    Wdate-time -D_FORTIFY_SOURCE=2 -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o
    make[4]: Leaving directory '/build/reproducible-path/glhack-1.2/util'
    ( cd dat ; ../util/dlb cf nhdat help hh cmdhelp history opthelp wizhelp dungeon asmodeus.lev baalz.lev bigrm-?.lev castle.lev fakewiz?.lev juiblex.lev knox.lev medusa-?.lev minend-?.lev minefill.lev minetn-?.lev oracle.lev orcus.lev sanctum.lev soko?-?.
    lev tower?.lev valley.lev wizard?.lev astral.lev air.lev earth.lev fire.lev water.lev ???-goal.lev ???-fil?.lev ???-loca.lev ???-strt.lev data oracles options quest.dat rumors )
    Can't open dungeon
    make[3]: *** [Makefile:183: dlb] Error 1 shuffle=reverse


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