Source: mathomatic
Version: 16.0.5-5
Severity: minor
Tags: trixie sid ftbfs
User: lu...@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[2]: Entering directory '/build/reproducible-path/mathomatic-16.0.5'
> makefile:235: update target 'matho-rmath-install' due to: target does not 
> exist
> install  -d 
> /build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/share/mathomatic
> install  -d 
> /build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/share/mathomatic/m4
> echo '#!/bin/sh' 
> >/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo '# Shell script to run Mathomatic with the GNU m4 preprocessor.' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo '# This allows entry of many standard math functions.' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo '#' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo '# Usage: matho [ input_files ]' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo 'if ! m4  --version >/dev/null' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo 'then' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo '  echo The m4  package is not installed.  GNU m4 is required to run m4 
> Mathomatic.' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo '  exit 1' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo 'fi' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> echo 'm4  -eP -- /usr/share/mathomatic/m4/functions.m4 "$@" - | mathomatic 
> -ru -s-1' 
> >>/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> chmod 0755 
> /build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin/matho
> install   m4/rmath 
> /build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/bin
> install  -m 0644  rmath.1 
> /build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/share/man/man1
> install: cannot create regular file 
> '/build/reproducible-path/mathomatic-16.0.5/debian/mathomatic/usr/share/man/man1':
>  No such file or directory
> make[2]: *** [makefile:252: matho-rmath-install] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/mathomatic_16.0.5-5_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 via email to