• Bug#1105327: gretl: FTBFS with make --shuffle=reverse: tar: /build/repr

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:10 2025
    Source: gretl
    Version: 2025a-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/gretl-2025a'
    make[2]: *** No rule to make target 'install'. Stop.
    make[2]: Leaving directory '/build/reproducible-path/gretl-2025a'
    make[1]: [debian/rules:106: install-work] Error 2 (ignored) shuffle=reverse (cd /build/reproducible-path/gretl-2025a/debian/gretl/usr/share/gretl; \
    ln -svf ../common-licenses/GPL COPYING)
    /bin/sh: 1: cd: can't cd to /build/reproducible-path/gretl-2025a/debian/gretl/usr/share/gretl
    'COPYING' -> '../common-licenses/GPL'
    cp -vax pixmaps/gretl.xpm debian/gretl/usr/share/pixmaps
    'pixmaps/gretl.xpm' -> 'debian/gretl/usr/share/pixmaps/gretl.xpm' dh_movefiles --sourcedir=debian/gretl -plibgretl1-dev
    dh_movefiles: warning: debian/gretl/usr/include/ not found (supposed to put it in libgretl1-dev)
    dh_movefiles: warning: debian/gretl/usr/lib/pkgconfig/gretl.pc not found (supposed to put it in libgretl1-dev)
    tar: /build/reproducible-path/gretl-2025a/debian/movelist: Cannot stat: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: This does not look like a tar archive
    tar: Exiting with failure status due to previous errors
    dh_movefiles: error: (cd debian/gretl >/dev/null ; tar --create --files-from=/build/reproducible-path/gretl-2025a/debian/movelist --file -) | (cd debian/libgretl1-dev >/dev/null ;tar xpf -) returned exit code 2
    make[1]: *** [debian/rules:109: install-work] Error 255 shuffle=reverse


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