Source: ruby-stackprof Version: 0.2.17-1 Severity: important Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.1
Hi, We are about to start the ruby3.1 transition in unstable. While trying to rebuild ruby-stackprof with ruby3.1 enabled, the build failed. Relevant part of the build log (hopefully): > /usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Checking Rubygems dependency resolution on ruby3.1 > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-stackprof/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 > ruby3.1 -e gem\ \"stackprof\" > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Run tests for ruby3.1 from debian/ruby-tests.rake > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > RUBYLIB=. > GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-stackprof/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 > ruby3.1 -S rake -f debian/ruby-tests.rake > /usr/bin/ruby3.1 -w -I"test" > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb > "test/test_middleware.rb" "test/test_report.rb" "test/test_stackprof.rb" -v > /<<PKGBUILDDIR>>/test/test_stackprof.rb:208: warning: assigned but unused > variable - raw > Run options: -v --seed 18881 > > # Running: > > StackProfTest#test_min_max_interval = 0.00 s = . > StackProfTest#test_walltime = 0.20 s = . > StackProfTest#test_start_stop_results = 0.00 s = . > StackProfTest#test_cputime = 0.01 s = F > StackProfTest#test_running = 0.00 s = . > StackProfTest#test_info = 0.00 s = . > StackProfTest#test_empty_metadata = 0.01 s = . > StackProfTest#test_metadata = 0.01 s = . > StackProfTest#test_fork = 0.00 s = . > StackProfTest#test_gc = 0.03 s = . > StackProfTest#test_out_to_path_string = 0.00 s = . > StackProfTest#test_raw = 0.00 s = . > StackProfTest#test_pathname_out = 0.00 s = . > StackProfTest#test_recursive_total_samples = 0.00 s = . > StackProfTest#test_object_allocation = 0.00 s = F > StackProfTest#test_custom = 0.00 s = . > StackProfTest#test_object_allocation_interval = 0.00 s = . > StackProfTest#test_out = 0.00 s = . > StackProfTest#test_raises_if_metadata_is_not_a_hash = 0.00 s = . > ReportDumpTest#test_dump_to_file = 0.01 s = . > ReportDumpTest#test_dump_to_stdout = 0.00 s = . > StackProf::MiddlewareTest#test_enabled_should_use_a_proc_if_passed = 0.00 s = > . > StackProf::MiddlewareTest#test_raw = 0.00 s = . > StackProf::MiddlewareTest#test_path_custom = 0.00 s = . > StackProf::MiddlewareTest#test_enabled_should_use_a_proc_if_passed_and_use_the_request_env > = 0.00 s = . > StackProf::MiddlewareTest#test_save_default = 0.00 s = . > StackProf::MiddlewareTest#test_metadata = 0.00 s = . > StackProf::MiddlewareTest#test_path_default = 0.00 s = . > StackProf::MiddlewareTest#test_save_custom = 0.00 s = . > > Finished in 0.282625s, 102.6095 runs/s, 307.8285 assertions/s. > > 1) Failure: > StackProfTest#test_cputime [/<<PKGBUILDDIR>>/test/test_stackprof.rb:83]: > Expected # encoding: ASCII-8BIT > # valid: true > "Integer#times" to include "StackProfTest#math". > > 2) Failure: > StackProfTest#test_object_allocation > [/<<PKGBUILDDIR>>/test/test_stackprof.rb:43]: > Expected: 4 > Actual: 5 > > 29 runs, 87 assertions, 2 failures, 0 errors, 0 skips > rake aborted! > Command failed with status (1): [ruby -w -I"test" > /usr/lib/ruby/gems/3.1.0/gems/rake-13.0.6/lib/rake/rake_test_loader.rb > "test/test_middleware.rb" "test/test_report.rb" "test/test_stackprof.rb" -v] > > Tasks: TOP => default > (See full trace by running task with --trace) > ERROR: Test "ruby3.1" failed. The full build log is available from: https://people.debian.org/~terceiro/ruby3.1/ruby-stackprof_0.2.17-1+rebuild1658134687_amd64.log To reproduce this, you need to install ruby-all-dev >= 1:3.0+2 (in experimental). If you fail to reproduce, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime. A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please marking it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects
signature.asc
Description: PGP signature