Am Donnerstag, dem 04.02.2021 um 20:56 +0530 schrieb Ritesh Raj Sarraf: > > During a rebuild of the package on Bullseye, the package fails in one of > the tests. Below is the failure snippet. The same is also seen in the > Reproducible Builds reports. > > ``` > [ 194s] > ------------------------------------------------------------------------------- > [ 194s] 107 tests, 152 assertions, 0 failures, 1 errors, 0 pendings, 0 > omissions, 0 notifications > [ 194s] 99.0654% passed > [ 194s] > ------------------------------------------------------------------------------- > [ 194s] 23.20 tests/s, 32.95 assertions/s > [ 194s] rake aborted! > [ 194s] Command failed with status (1): [ruby -w -I"test" > "/usr/share/rubygems-integration/all/gems/rake-13.0.1/lib/rake/rake_test_loader.rb" > "test/block_test.rb" "test/dyna_symbol_key_test.rb" "test/parser_test.rb" > "test/safe_op_test.rb" "test/trace_test.rb" "test/test_core_ext_helper.rb" > "test/test_helper.rb" -v] > [ 194s] /usr/share/rubygems-integration/all/gems/rake-13.0.1/exe/rake:27:in > `<top (required)>' > [ 194s] Tasks: TOP => default > [ 194s] (See full trace by running task with --trace) > [ 194s] ERROR: Test "ruby2.7" failed. Exiting. > [ 194s] dh_auto_install: error: dh_ruby --install > /usr/src/packages/BUILD/debian/ruby-power-assert returned exit code 1 > [ 194s] make: *** [debian/rules:6: binary] Error 25 > [ 194s] dpkg-buildpackage: error: debian/rules binary subprocess returned > exit status 2 > ```
Can you please provide the log file? The error mentioned in the subject actually doesn't appear in the log snippet. Reading the subject it might be a LANG-related issue and maybe we need to set the environment to C.UTF-8 for the tests. Can you check if setting ENV['LANG'] = 'C.UTF-8' in debian/ruby-tests.rake fixes the issue? Regards, Daniel -- Regards, Daniel Leidert <dleid...@debian.org> | https://www.wgdd.de/ GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78 If you like my work consider sponsoring me via https://www.patreon.com/join/dleidert
signature.asc
Description: This is a digitally signed message part