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

Bug#1105718: unhtml: FTBFS with make --shuffle=random: dh_auto_test: error: make -j1 check returned exit code 2



Source: unhtml
Version: 2.3.9-6
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=random.
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/unhtml-2.3.9/tests'
> Makefile:24: update target 'test1' due to: target does not exist
> echo "   running test1 ..."
>    running test1 ...
> ../unhtml test1.html > tmp1
> ( diff -q tmp1 test1.out && echo test1 >> results )
> Makefile:49: update target 'clean' due to: target does not exist
> rm -f core *.o unhtml results
> rm -f tmp1 tmp2 tmp3 tmp4 tmp5
> Makefile:39: update target 'test4' due to: target does not exist
> echo "   running test4 ..."
>    running test4 ...
> ../unhtml test4.html > tmp4
> ( diff -q tmp4 test4.out && echo test4 >> results )
> Makefile:29: update target 'test2' due to: target does not exist
> echo "   running test2 ..."
>    running test2 ...
> ../unhtml test2.html > tmp2
> ( diff -q tmp2 test2.out && echo test2 >> results )
> Makefile:44: update target 'test5' due to: target does not exist
> echo "   running test5 ..."
>    running test5 ...
> ../unhtml test5.html > tmp5
> ( diff -q tmp5 test5.out && echo test5 >> results )
> Makefile:34: update target 'test3' due to: target does not exist
> echo "   running test3 ..."
>    running test3 ...
> ../unhtml test3.html > tmp3
> ( diff -q tmp3 test3.out && echo test3 >> results )
> Makefile:14: update target 'check' due to: target does not exist
> ( val=`diff -q expected.results results` ; \
>   if [ "$val" ] ; \
>   then \
>      echo "one or more tests failed" ; \
>      exit 1 ; \
>   else  \
>      echo "all tests passed" ; \
>   fi ; )
> one or more tests failed
> make[2]: *** [Makefile:14: check] Error 1 shuffle=3686269946
> make[2]: Leaving directory '/build/reproducible-path/unhtml-2.3.9/tests'
> make[1]: *** [Makefile:31: check] Error 2 shuffle=3686269946
> make[1]: Leaving directory '/build/reproducible-path/unhtml-2.3.9'
> dh_auto_test: error: make -j1 check returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/random/unhtml_2.3.9-6_unstable_random.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: