Bug#1105526: nethack: FTBFS with make --shuffle=reverse: make[3]: *** [Makefile:205: dlb] Error 1 shuffle=reverse

Lucas Nussbaum lucas at debian.org
Tue May 13 20:09:29 BST 2025


Source: nethack
Version: 3.6.7-1
Severity: minor
Tags: trixie sid ftbfs
User: lucas at 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/nethack-3.6.7/src'
> make[5]: '../include/date.h' is up to date.
> make[5]: Leaving directory '/build/reproducible-path/nethack-3.6.7/src'
> Makefile:372: update target 'dlb_main.o' due to: target does not exist
> cc -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -I../include -Wall -DGCC_WARN -DNOTPARMDECL -DUSE_XPM -c dlb_main.c
> Makefile:369: update target 'dlb' due to: target does not exist
> cc -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/nethack-3.6.7=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now -o dlb dlb_main.o ../src/dlb.o ../src/alloc.o panic.o 
> make[4]: Leaving directory '/build/reproducible-path/nethack-3.6.7/util'
> ( cd dat ; LC_ALL=C ; ../util/dlb cf nhdat help hh cmdhelp keyhelp history opthelp wizhelp dungeon tribute 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 bogusmon data engrave epitaph oracles options quest.dat rumors )
> Can't open dungeon
> make[3]: *** [Makefile:205: dlb] Error 1 shuffle=reverse


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



More information about the Pkg-games-devel mailing list