[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1105445: lmod: FTBFS with make --shuffle=reverse: make[1]: *** [makefile:432: fish_tab_funcs] Error 1 shuffle=reverse



Source: lmod
Version: 8.7.59-2
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[1]: Entering directory '/build/reproducible-path/lmod-8.7.59'
> makefile:432: update target 'fish_tab_funcs' due to: target does not exist
> install -m 0644 init/fish/module.fish /build/reproducible-path/lmod-8.7.59/debian/tmp/usr/share/lmod/8.7.59/init/fish_tab_completion 2>/dev/null
> makefile:414: update target 'zsh_tab_funcs' due to: target does not exist
> if [ -n "/usr/local/share/zsh/site-functions" ]; then                       \
>   for zdir in `echo "/usr/local/share/zsh/site-functions" | tr ':' ' '`; do  \
>     for i in init/zsh/_ml init/zsh/_module init/ksh_funcs/clearLmod init/ksh_funcs/clearMT init/ksh_funcs/ml init/ksh_funcs/module init/ksh_funcs/settarg; do                                                 \
>       bareN=${i##*/};                                              \
>       fn=${bareN%%.in*};                                           \
>       ext=${bareN#*.};                                             \
>       cp $i /build/reproducible-path/lmod-8.7.59/debian/tmp$zdir/$fn  2> /dev/null;                   \
>               chmod 0644 /build/reproducible-path/lmod-8.7.59/debian/tmp$zdir/$fn 2> /dev/null;           \
>       [ "$ext" = "in" ] && chmod 0755 /build/reproducible-path/lmod-8.7.59/debian/tmp$zdir/$fn;  \
>     done;                                                           \
>   done;                                                             \
>   true;                                                             \
> fi
> make[1]: *** [makefile:432: fish_tab_funcs] Error 1 shuffle=reverse


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


Reply to: