• Bug#1104756: swirc: FTBFS with GNUMAKEFLAGS=--shuffle=reverse

    From Lucas Nussbaum@21:1/5 to All on Mon May 5 21:10:01 2025
    Source: swirc
    Version: 3.5.4-1
    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/

    This package fails to build with GNUMAKEFLAGS=--shuffle=reverse.

    This patch fixes it.

    --- swirc-3.5.4.orig/Makefile
    +++ swirc-3.5.4/Makefile
    @@ -22,6 +22,8 @@ main: $(TGTS)

    include tests/recompile.mk

    +$(OBJS): $(SRC_DIR)include/swircpaths.h
    +
    check: $(SRC_DIR)include/swircpaths.h $(OBJS)
    $(RM) $(RECOMPILE)
    $(Q) strip --strip-symbol=main $(SRC_DIR)main.o

    Best,

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Markus Uhlin@21:1/5 to All on Sat May 10 04:00:02 2025
    Fixed in the next upstream release.

    Best regards
    Markus

    Den 2025-05-05 kl. 21:05, skrev Lucas Nussbaum:
    Source: swirc
    Version: 3.5.4-1
    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/

    This package fails to build with GNUMAKEFLAGS=--shuffle=reverse.

    This patch fixes it.

    --- swirc-3.5.4.orig/Makefile
    +++ swirc-3.5.4/Makefile
    @@ -22,6 +22,8 @@ main: $(TGTS)

    include tests/recompile.mk

    +$(OBJS): $(SRC_DIR)include/swircpaths.h
    +
    check: $(SRC_DIR)include/swircpaths.h $(OBJS)
    $(RM) $(RECOMPILE)
    $(Q) strip --strip-symbol=main $(SRC_DIR)main.o

    Best,

    Lucas

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