Source: slack
Version: 1:0.15.2-11
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/slack-0.15.2/test'
> Makefile:17: update target 
> '/build/reproducible-path/slack-0.15.2/test/tmp/roles.conf' due to: 
> /build/reproducible-path/slack-0.15.2/test/tmp
> ./gen_config_file roles.conf.template 
> /build/reproducible-path/slack-0.15.2/test/tmp/roles.conf
> Makefile:20: update target 'clean' due to: target does not exist
> rm -f /build/reproducible-path/slack-0.15.2/test/tmp/slack.conf 
> /build/reproducible-path/slack-0.15.2/test/tmp/roles.conf
> rm -rf /build/reproducible-path/slack-0.15.2/test/tmp
> Makefile:28: update target 'test' due to: target does not exist
> perl -MTest::Harness -e 'runtests(<*.t>)'
> Could not open config file 
> '/build/reproducible-path/slack-0.15.2/test/tmp/slack.conf': No such file or 
> directory at ../src/Slack.pm line 108.
>       Slack::read_config("file", 
> "/build/reproducible-path/slack-0.15.2/test/tmp/slack.conf") called at 
> 01_module.t line 26
> # Looks like your test exited with 2 just after 3.
> 01_module.t ........ 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 37/40 subtests 
> FATAL[slack-getroles]: Could not open 
> '/build/reproducible-path/slack-0.15.2/test/tmp/roles.conf' for reading: No 
> such file or directory
> 
> #   Failed test 'test config'
> #   at 02_getroles.t line 12.
> #     Structures begin differing at:
> #          $got->[0] = Does not exist
> #     $expected->[0] = 'role1'
> FATAL[slack-getroles]: Could not open 
> '/build/reproducible-path/slack-0.15.2/test/tmp/roles.conf' for reading: No 
> such file or directory
> 
> #   Failed test 'hostname override'
> #   at 02_getroles.t line 18.
> #     Structures begin differing at:
> #          $got->[0] = Does not exist
> #     $expected->[0] = 'examplerole'
> rsync: [sender] link_stat 
> "/build/reproducible-path/slack-0.15.2/test/tmp/roles.conf" failed: No such 
> file or directory (2)
> rsync error: some files/attrs were not transferred (see previous errors) 
> (code 23) at main.c(1338) [sender=3.4.1]
> FATAL[slack-getroles]: 'rsync --links --times 
> /build/reproducible-path/slack-0.15.2/test/tmp/roles.conf 
> /build/reproducible-path/slack-0.15.2/test/tmp/cache/_role_list' exited 23 at 
> ../src/slack-getroles line 158.
> 
> #   Failed test 'test remote config'
> #   at 02_getroles.t line 36.
> #     Structures begin differing at:
> #          $got->[0] = Does not exist
> #     $expected->[0] = 'role1'
> 
> #   Failed test 'remote config synced'
> #   at 02_getroles.t line 37.
> unlink: No such file or directory at 02_getroles.t line 38.
> # Looks like your test exited with 2 just after 6.
> 02_getroles.t ...... 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 4/6 subtests 
> 
> #   Failed test 'role1 sync return'
> #   at 03_sync.t line 26.
> 
> #   Failed test 'role1 cache dir created'
> #   at 03_sync.t line 28.
> Can't stat /build/reproducible-path/slack-0.15.2/test/tmp/cache/roles/role1: 
> No such file or directory
>  at 03_sync.t line 34.
> # Looks like your test exited with 2 just after 2.
> 03_sync.t .......... 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 18/18 subtests 
> Couldn't sync role1 for testing at 04_stage.t line 34.
> # Looks like your test exited with 2 before it could output anything.
> 04_stage.t ......... 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 15/15 subtests 
> Couldn't set up stage (needed to test runscript properly) at 05_runscript.t 
> line 32.
> # Looks like your test exited with 2 before it could output anything.
> 05_runscript.t ..... 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 18/18 subtests 
> Couldn't sync roles for testing at 06_installfiles.t line 19.
> # Looks like your test exited with 2 before it could output anything.
> 06_installfiles.t .. 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 13/13 subtests 
> 
> #   Failed test 'slack return'
> #   at 07_frontend.t line 27.
> Can't stat /build/reproducible-path/slack-0.15.2/test/tmp/root: No such file 
> or directory
>  at 07_frontend.t line 55.
> # Looks like your test exited with 2 just after 1.
> 07_frontend.t ...... 
> Dubious, test returned 2 (wstat 512, 0x200)
> Failed 13/13 subtests 
> 08_diff.t .......... ok
> 
> Test Summary Report
> -------------------
> 01_module.t      (Wstat: 512 (exited 2) Tests: 3 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 40 tests but ran 3.
> 02_getroles.t    (Wstat: 512 (exited 2) Tests: 6 Failed: 4)
>   Failed tests:  1-2, 5-6
>   Non-zero exit status: 2
> 03_sync.t        (Wstat: 512 (exited 2) Tests: 2 Failed: 2)
>   Failed tests:  1-2
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 18 tests but ran 2.
> 04_stage.t       (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 15 tests but ran 0.
> 05_runscript.t   (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 18 tests but ran 0.
> 06_installfiles.t (Wstat: 512 (exited 2) Tests: 0 Failed: 0)
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 13 tests but ran 0.
> 07_frontend.t    (Wstat: 512 (exited 2) Tests: 1 Failed: 1)
>   Failed test:  1
>   Non-zero exit status: 2
>   Parse errors: Bad plan.  You planned 13 tests but ran 1.
> Files=8, Tests=46,  3 wallclock secs ( 0.05 usr  0.01 sys +  2.01 cusr  0.32 
> csys =  2.39 CPU)
> Result: FAIL
> Failed 7/8 test programs. 7/46 subtests failed.
> make[2]: *** [Makefile:28: test] Error 255 shuffle=reverse
> make[2]: Leaving directory '/build/reproducible-path/slack-0.15.2/test'
> make[1]: *** [Makefile:15: test] Error 2 shuffle=reverse
> make[1]: Leaving directory '/build/reproducible-path/slack-0.15.2'
> dh_auto_test: error: make -j1 test returned exit code 2


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