Source: ruby-stackprof Version: 0.2.15-2 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: debian-r...@lists.debian.org Usertags: ruby3.0
Hi, We are about to enable building against ruby3.0 on unstable. During a test rebuild, ruby-stackprof was found to fail to build in that situation. To reproduce this locally, you need to install ruby-all-dev from experimental on an unstable system or build chroot. Relevant part (hopefully): > /usr/bin/ruby3.0 /usr/bin/gem2deb-test-runner > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Checking Rubygems dependency resolution on ruby3.0 > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-stackprof/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 > ruby3.0 -e gem\ \"stackprof\" > > ┌──────────────────────────────────────────────────────────────────────────────┐ > │ Run tests for ruby3.0 from debian/ruby-tests.rake > │ > └──────────────────────────────────────────────────────────────────────────────┘ > > RUBYLIB=. > GEM_PATH=/<<PKGBUILDDIR>>/debian/ruby-stackprof/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0:/var/lib/gems/3.0.0:/usr/local/lib/ruby/gems/3.0.0:/usr/lib/ruby/gems/3.0.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.0.0:/usr/share/rubygems-integration/3.0.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.0.0 > ruby3.0 -S rake -f debian/ruby-tests.rake > /usr/bin/ruby3.0 -w -I"test" > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/lib/rake/rake_test_loader.rb > "test/test_middleware.rb" "test/test_report.rb" "test/test_stackprof.rb" -v > /<<PKGBUILDDIR>>/test/test_stackprof.rb:181: warning: assigned but unused > variable - raw > Run options: -v --seed 11397 > > # Running: > > StackProfTest#test_raw = 0.00 s = F > StackProfTest#test_info = 0.00 s = . > StackProfTest#test_out_to_path_string = 0.00 s = . > StackProfTest#test_custom = 0.00 s = F > StackProfTest#test_raises_if_metadata_is_not_a_hash = 0.00 s = . > StackProfTest#test_metadata = 0.04 s = . > StackProfTest#test_running = 0.00 s = . > StackProfTest#test_object_allocation = 0.00 s = F > StackProfTest#test_cputime = 0.04 s = F > StackProfTest#test_gc = 0.08 s = . > StackProfTest#test_empty_metadata = 0.03 s = . > StackProfTest#test_object_allocation_interval = 0.00 s = . > StackProfTest#test_recursive_total_samples = 0.00 s = . > StackProfTest#test_start_stop_results = 0.00 s = . > StackProfTest#test_fork = 0.00 s = . > StackProfTest#test_walltime = 0.20 s = F > StackProfTest#test_pathname_out = 0.00 s = . > StackProfTest#test_out = 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_save_custom = 0.00 s = . > StackProf::MiddlewareTest#test_save_default = 0.00 s = . > StackProf::MiddlewareTest#test_enabled_should_use_a_proc_if_passed_and_use_the_request_env > = 0.00 s = . > StackProf::MiddlewareTest#test_metadata = 0.00 s = . > StackProf::MiddlewareTest#test_path_default = 0.00 s = . > ReportDumpTest#test_dump_to_file = 0.02 s = . > ReportDumpTest#test_dump_to_stdout = 0.00 s = . > > Finished in 0.424334s, 65.9858 runs/s, 164.9644 assertions/s. > > 1) Failure: > StackProfTest#test_raw [/<<PKGBUILDDIR>>/test/test_stackprof.rb:108]: > Expected # encoding: ASCII-8BIT > # valid: true > "StackProf.sample" to include "StackProfTest#test_raw". > > 2) Failure: > StackProfTest#test_custom [/<<PKGBUILDDIR>>/test/test_stackprof.rb:93]: > Expected # encoding: ASCII-8BIT > # valid: true > "StackProf.sample" to include "StackProfTest#test_custom". > > 3) Failure: > StackProfTest#test_object_allocation > [/<<PKGBUILDDIR>>/test/test_stackprof.rb:42]: > Expected: 2 > Actual: 4 > > 4) Failure: > StackProfTest#test_cputime [/<<PKGBUILDDIR>>/test/test_stackprof.rb:68]: > Expected # encoding: ASCII-8BIT > # valid: true > "Integer#**" to include "StackProfTest#math". > > 5) Failure: > StackProfTest#test_walltime [/<<PKGBUILDDIR>>/test/test_stackprof.rb:77]: > --- expected > +++ actual > @@ -1 +1,3 @@ > -"StackProfTest#idle" > +# encoding: ASCII-8BIT > +# valid: true > +"IO.select" > > > 28 runs, 70 assertions, 5 failures, 0 errors, 0 skips > rake aborted! > Command failed with status (1): [ruby -w -I"test" > /usr/lib/ruby/gems/3.0.0/gems/rake-13.0.3/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.0" failed. The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-stackprof/ruby-stackprof_0.2.15-2+rebuild1633396249_amd64.build.txt
signature.asc
Description: PGP signature