• Bug#1105570: peg: FTBFS with make --shuffle=reverse: cp: cannot create

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:30:17 2025
    Source: peg
    Version: 0.1.20+really0.1.18-1
    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/peg-0.1.20+really0.1.18'
    Makefile:35: update target 'debian/peg//usr/share/man/man1/peg.1' due to: target does not exist
    cp -p src/peg.1 debian/peg//usr/share/man/man1/peg.1
    Makefile:32: update target 'debian/peg//usr/share/man/man1' due to: target does not exist
    mkdir -p debian/peg//usr/share/man/man1
    Makefile:28: update target 'debian/peg//usr/bin/leg' due to: target does not exist
    mkdir -p debian/peg//usr/bin
    Makefile:28: update target 'debian/peg//usr/bin/peg' due to: target does not exist
    mkdir -p debian/peg//usr/bin
    cp: cannot create regular file 'debian/peg//usr/share/man/man1/peg.1': No such file or directory
    make[2]: *** [Makefile:35: debian/peg//usr/share/man/man1/peg.1] Error 1 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/peg_0.1.20+really0.1.18-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

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