• Bug#1104421: nvi: FTBFS with GNUMAKEFLAGS=--shuffle=reverse

    From Lucas Nussbaum@21:1/5 to All on Tue Apr 29 22:40:01 2025
    Source: nvi
    Version: 1.81.6-23
    Severity: minor
    Tags: patch

    Hi,

    GNU Make now has a --shuffle option that simulates non-deterministic
    ordering of dependencies. 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/

    nvi fails to build with GNUMAKEFLAGS=--shuffle=reverse.

    This patch fixes it.

    --- nvi-1.81.6.orig/dist/Makefile.in
    +++ nvi-1.81.6/dist/Makefile.in
    @@ -1686,7 +1686,7 @@ perl.c: $(visrcdir)/perl_api/perl.xs $(v
    perlxsi.c:
    perl -MExtUtils::Embed -e xsinit -- -std VI

    -install-exec-local:
    +install-exec-local: install-binPROGRAMS
    cd $(DESTDIR)$(bindir) && $(rm) -f `echo ex | sed '$(transform)'`
    cd $(DESTDIR)$(bindir) && $(rm) -f `echo view | sed '$(transform)'`
    cd $(DESTDIR)$(bindir) && $(ln) \

    This should really be applied to Makefile.am (and then propagate to Makefile.in).

    Lucas

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