• Bug#1104430: libcache-memcached-fast-perl: FTBFS with GNUMAKEFLAGS=--sh

    From Lucas Nussbaum@21:1/5 to All on Wed Apr 30 00:20:01 2025
    Source: libcache-memcached-fast-perl
    Version: 0.28-2
    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.



    diff -Nru libcache-memcached-fast-perl-0.28/debian/patches/add-make-deps.patch libcache-memcached-fast-perl-0.28/debian/patches/add-make-deps.patch
    --- libcache-memcached-fast-perl-0.28/debian/patches/add-make-deps.patch 1970-01-01 00:00:00.000000000 +0000
    +++ libcache-memcached-fast-perl-0.28/debian/patches/add-make-deps.patch 2022-10-26 11:52:49.000000000 +0000
    @@ -0,0 +1,11 @@
    +--- libcache-memcached-fast-perl-0.28.orig/src/Makefile.PL
    ++++ libcache-memcached-fast-perl-0.28/src/Makefile.PL
    +@@ -58,6 +58,8 @@ libclient$(LIB_EXT): $(OBJECT)
    + $(AR) cr libclient$(LIB_EXT) $(OBJECT)
    + $(RANLIB) libclient$(LIB_EXT)
    +
    ++$(OBJECT): compute_crc32.h parse_keyword.h
    ++
    + parse_keyword.c parse_keyword.h :: genparser.pl reply.kw
    + $(PERL) genparser.pl reply.kw parse_keyword.c parse_keyword.h
    +
    diff -Nru libcache-memcached-fast-perl-0.28/debian/patches/series libcache-memcached-fast-perl-0.28/debian/patches/series
    --- libcache-memcached-fast-perl-0.28/debian/patches/series 1970-01-01 00:00:00.000000000 +0000
    +++ libcache-memcached-fast-perl-0.28/debian/patches/series 2022-10-26 11:52:49.000000000 +0000
    @@ -0,0 +1 @@
    +add-make-deps.patch

    ---