Source: srpc
Version: 0.10.3-2
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=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[6]: Entering directory 
> '/build/reproducible-path/srpc-0.10.3/test/build.cmake'
> CMakeFiles/check.dir/build.make:70: update target 'CMakeFiles/check' due to: 
> target does not exist
> /usr/bin/ctest
> Test project /build/reproducible-path/srpc-0.10.3/test/build.cmake
> Connected to MAKE jobserver
>     Start 1: unittest
> 1/2 Test #1: unittest .........................***Failed    0.05 sec
> Running main() from ./googletest/src/gtest_main.cc
> [==========] Running 6 tests from 6 test suites.
> [----------] Global test environment set-up.
> [----------] 1 test from SRPC
> [ RUN      ] SRPC.unittest
> [       OK ] SRPC.unittest (11 ms)
> [----------] 1 test from SRPC (11 ms total)
> 
> [----------] 1 test from SRPCHttp
> [ RUN      ] SRPCHttp.unittest
> [       OK ] SRPCHttp.unittest (2 ms)
> [----------] 1 test from SRPCHttp (2 ms total)
> 
> [----------] 1 test from BRPC
> [ RUN      ] BRPC.unittest
> [       OK ] BRPC.unittest (0 ms)
> [----------] 1 test from BRPC (0 ms total)
> 
> [----------] 1 test from Thrift
> [ RUN      ] Thrift.unittest
> ./test/unittest.cc:149: Failure
> Expected equality of these values:
>   ctx->get_status_code()
>     Which is: 100
>   RPCStatusOK
>     Which is: 1
> 
> [  FAILED  ] Thrift.unittest (0 ms)
> [----------] 1 test from Thrift (0 ms total)
> 
> [----------] 1 test from ThriftHttp
> [ RUN      ] ThriftHttp.unittest
> [       OK ] ThriftHttp.unittest (0 ms)
> [----------] 1 test from ThriftHttp (0 ms total)
> 
> [----------] 1 test from SRPC_COMPRESS
> [ RUN      ] SRPC_COMPRESS.unittest
> [       OK ] SRPC_COMPRESS.unittest (1 ms)
> [----------] 1 test from SRPC_COMPRESS (1 ms total)
> 
> [----------] Global test environment tear-down
> [==========] 6 tests from 6 test suites ran. (16 ms total)
> [  PASSED  ] 5 tests.
> [  FAILED  ] 1 test, listed below:
> [  FAILED  ] Thrift.unittest
> 
>  1 FAILED TEST
> 
>     Start 2: var_unittest
> 2/2 Test #2: var_unittest .....................   Passed    1.03 sec
> 
> 50% tests passed, 1 tests failed out of 2
> 
> Total Test time (real) =   1.08 sec
> 
> The following tests FAILED:
>         1 - unittest (Failed)
> Errors while running CTest
> make[6]: *** [CMakeFiles/check.dir/build.make:70: CMakeFiles/check] Error 8 
> shuffle=3729714875
> make[6]: Leaving directory 
> '/build/reproducible-path/srpc-0.10.3/test/build.cmake'
> make[5]: *** [CMakeFiles/Makefile2:91: CMakeFiles/check.dir/all] Error 2 
> shuffle=3729714875
> make[5]: Leaving directory 
> '/build/reproducible-path/srpc-0.10.3/test/build.cmake'
> make[4]: *** [CMakeFiles/Makefile2:98: CMakeFiles/check.dir/rule] Error 2 
> shuffle=3729714875
> make[4]: Leaving directory 
> '/build/reproducible-path/srpc-0.10.3/test/build.cmake'
> make[3]: *** [Makefile:134: check] Error 2 shuffle=3729714875
> make[3]: Leaving directory 
> '/build/reproducible-path/srpc-0.10.3/test/build.cmake'
> make[2]: *** [GNUmakefile:25: check] Error 2 shuffle=3729714875
> make[2]: Leaving directory '/build/reproducible-path/srpc-0.10.3/test'
>       rm -fr -- /tmp/dh-xdg-rundir-bMsK5Cab
> dh_auto_test: error: cd test && make -j8 check ARGS\+=--verbose ARGS\+=-j8 
> VERBOSE=1 returned exit code 2


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/random/srpc_0.10.3-2_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 via email to