• Bug#1105518: partconf: FTBFS with make --shuffle=reverse: make[2]: ***

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:20:09 2025
    XPost: linux.debian.bugs.dist

    Source: partconf
    Version: 1.52
    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[2]: Entering directory '/build/reproducible-path/partconf-1.52' <builtin>: update target 'mountpoint.o' due to: target does not exist
    cc -W -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mountpoint.o mountpoint.c
    <builtin>: update target 'mountpoint' due to: target does not exist
    cc -Wl,-z,relro mountpoint.o -ldebian-installer -o mountpoint
    <builtin>: update target 'xasprintf.o' due to: target does not exist
    cc -W -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -c -o xasprintf.o xasprintf.c
    <builtin>: update target 'mkfstab.o' due to: target does not exist
    cc -W -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -c -o mkfstab.o mkfstab.c mkfstab.c: In function ‘mapdevfs’:
    mkfstab.c:255:19: warning: the comparison will always evaluate as ‘true’ for the address of ‘device’ will never be NULL [-Waddress]
    255 | if(device != NULL && strlen(device) > 0) {
    | ^~
    mkfstab.c:245:14: note: ‘device’ declared here
    245 | char device[PATH_MAX] = "";
    | ^~~~~~
    <builtin>: update target 'mkfstab' due to: target does not exist
    cc -Wl,-z,relro mkfstab.o xasprintf.o -ldebian-installer -o mkfstab <builtin>: update target 'util.o' due to: target does not exist
    cc -W -Wall -Os -Wdate-time -D_FORTIFY_SOURCE=2 -c -o util.o util.c Makefile:12: update target 'find-partitions' due to: target does not exist
    cc -W -Wall -Os -o find-partitions -DFIND_PARTS_MAIN find-parts.c util.o xasprintf.o -lparted
    Makefile:37: update target 'clean' due to: target is .PHONY
    rm -f find-partitions mkfstab mountpoint \
    test-mkfstab *.o
    Makefile:26: update target 'small' due to: target is .PHONY
    strip --remove-section=.comment --remove-section=.note find-partitions
    strip: 'find-partitions': No such file
    make[2]: *** [Makefile:26: small] Error 1 shuffle=reverse


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