• Bug#1105376: groonga: FTBFS with make --shuffle=reverse: make[7]: *** N

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:10 2025
    Source: groonga
    Version: 15.0.4+dfsg-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[6]: Entering directory '/build/reproducible-path/groonga-15.0.4+dfsg/doc/locale/en'
    Makefile:5640: update target 'all-recursive' due to: target is .PHONY
    fail=; \
    if (target_option=k; case ${target_option-} in ?) ;; *) echo "am__make_running_with_option: internal error: invalid" "target option '${target_option-}' specified" >&2; exit 1;; esac; has_opt=no; sane_makeflags=$MAKEFLAGS; if { if test -z '6'; then
    false; elif test -n 'x86_64-pc-linux-gnu'; then true; elif test -n '4.4.1' && test -n '/build/reproducible-path/groonga-15.0.4+dfsg/doc/locale/en'; then true; else false; fi; }; then sane_makeflags=$MFLAGS; else case $MAKEFLAGS in *\\[\ \ ]*) bs=\\; sane_
    makeflags=`printf '%s\n' "$MAKEFLAGS" | sed "s/$bs$bs[$bs $bs ]*//g"`;; esac; fi; skip_next=no; strip_trailopt () { flg=`printf '%s\n' "$flg" | sed "s/$1.*$//"`; }; for flg in $sane_makeflags; do test $skip_next = yes && { skip_next=no; continue; }; case
    $flg in *=*|--*) continue;; -*I) strip_trailopt 'I'; skip_next=yes;; -*I?*) strip_trailopt 'I';; -*O) strip_trailopt 'O'; skip_next=yes;; -*O?*) strip_trailopt 'O';; -*l) strip_trailopt 'l'; skip_next=yes;; -*l?*) strip_trailopt 'l';; -[dEDm]) skip_next=
    yes;; -[JT]) skip_next=yes;; esac; case $flg in *$target_option*) has_opt=yes; break;; esac; done; test $has_opt = yes); then \
    failcom='fail=yes'; \
    else \
    failcom='exit 1'; \
    fi; \
    dot_seen=no; \
    target=`echo all-recursive | sed s/-recursive//`; \
    case "all-recursive" in \
    distclean-* | maintainer-clean-*) list='LC_MESSAGES' ;; \
    *) list='LC_MESSAGES' ;; \
    esac; \
    for subdir in $list; do \
    echo "Making $target in $subdir"; \
    if test "$subdir" = "."; then \
    dot_seen=yes; \
    local_target="$target-am"; \
    else \
    local_target="$target"; \
    fi; \
    (CDPATH="${ZSH_VERSION+.}:" && cd $subdir && make $local_target) \
    || eval $failcom; \
    done; \
    if test "$dot_seen" = "no"; then \
    make "$target-am" || exit 1; \
    fi; test -z "$fail"
    Making all in LC_MESSAGES
    make[7]: Entering directory '/build/reproducible-path/groonga-15.0.4+dfsg/doc/locale/en/LC_MESSAGES'
    make[7]: *** No rule to make target 'tutorial/search.edit', needed by 'mo-build-stamp'. Stop.
    make[7]: Leaving directory '/build/reproducible-path/groonga-15.0.4+dfsg/doc/locale/en/LC_MESSAGES'
    make[6]: *** [Makefile:5640: all-recursive] Error 1 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/groonga_15.0.4+dfsg-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)
  • From Kentaro HAYASHI@21:1/5 to All on Sat May 31 15:50:01 2025
    It seems that this issue was caused by the following rules:

    .po should be needed by mo-build-stamp.

    Regards,

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