==> Synchronizing chroot copy [/home/alhp/workspace/chroot/root] -> [build_9f3e8026-4ae9-4988-af29-7c4e69a7bc53]...done ==> Making package: ruby-stackprof 0.2.26-3.1 (Wed Nov 20 19:25:08 2024) ==> Retrieving sources... -> Downloading ruby-stackprof-0.2.26.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 70064 0 70064 0 0 142k 0 --:--:-- --:--:-- --:--:-- 142k ==> Validating source files with sha512sums... ruby-stackprof-0.2.26.tar.gz ... Passed ==> Validating source files with b2sums... ruby-stackprof-0.2.26.tar.gz ... Passed ==> Making package: ruby-stackprof 0.2.26-3.1 (Wed Nov 20 19:25:10 2024) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... warning: dependency cycle detected: warning: rubygems will be installed before its ruby dependency Package (3) New Version Net Change extra/libyaml 0.2.5-3 0.18 MiB extra/rubygems 3.5.16-1 2.69 MiB extra/ruby 3.3.5-2 16.13 MiB Total Installed Size: 19.01 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing libyaml... installing rubygems... installing ruby... Optional dependencies for ruby tk: for Ruby/TK ruby-docs: Documentation for Ruby ruby-default-gems: Default gems which are part of Ruby StdLib ruby-bundled-gems: Bundled gems which are part of Ruby StdLib ruby-stdlib: Full Ruby StdLib including default gems, bundled gems and tools :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Package (7) New Version Net Change extra/ruby-erb 4.0.4-6 0.10 MiB extra/ruby-rake 13.1.0-1 0.26 MiB extra/ruby-bundler 2.5.16-1 1.59 MiB extra/ruby-minitest 5.22.3-2 0.69 MiB extra/ruby-mocha 2.3.0-2 1.59 MiB extra/ruby-rake-compiler 1.2.7-2 0.23 MiB extra/ruby-rdoc 6.6.3.1-1 2.84 MiB Total Installed Size: 7.30 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... :: Processing package changes... installing ruby-erb... installing ruby-rdoc... installing ruby-bundler... installing ruby-minitest... installing ruby-mocha... installing ruby-rake... installing ruby-rake-compiler... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Found ruby-stackprof-0.2.26.tar.gz ==> WARNING: Skipping all source file integrity checks. ==> Extracting sources... -> Extracting ruby-stackprof-0.2.26.tar.gz with bsdtar ==> Starting prepare()... ==> Starting build()... WARNING: open-ended dependency on rake-compiler (>= 0.9, development) is not recommended if rake-compiler is semantically versioned, use: add_development_dependency "rake-compiler", "~> 0.9" WARNING: open-ended dependency on minitest (>= 5.0, development) is not recommended if minitest is semantically versioned, use: add_development_dependency "minitest", "~> 5.0" WARNING: See https://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: stackprof Version: 0.2.26 File: stackprof-0.2.26.gem /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/.github/workflows/ci.yml /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/.gitignore /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/CHANGELOG.md /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/Gemfile /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/LICENSE /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/README.md /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/Rakefile /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/bin/stackprof /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/bin/stackprof-flamegraph.pl /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/bin/stackprof-gprof2dot.py /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof/extconf.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof/stackprof.c /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof/autorun.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof/flamegraph/flamegraph.js /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof/flamegraph/viewer.html /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof/middleware.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof/report.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/lib/stackprof/truffleruby.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/sample.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/stackprof.gemspec /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/test/fixtures/profile.dump /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/test/fixtures/profile.json /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/test/test_middleware.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/test/test_report.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/test/test_stackprof.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/test/test_truffleruby.rb /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/FlameGraph/README /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/FlameGraph/flamegraph.pl /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/gprof2dot/gprof2dot.py /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/gprof2dot/hotshotmain.py /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/bin/stackprof /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/bin/stackprof-flamegraph.pl /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/bin/stackprof-gprof2dot.py /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof/extconf.rb Building native extensions. This could take a while... current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof ["/usr/bin/ruby", "extconf.rb"] checking for rb_postponed_job_register_one()... yes checking for rb_profile_frames()... yes checking for rb_tracepoint_new()... yes checking for RUBY_INTERNAL_EVENT_NEWOBJ... yes creating Makefile current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1054-3akpkk", "sitelibdir=./.gem.20241120-1054-3akpkk", "clean"] current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1054-3akpkk", "sitelibdir=./.gem.20241120-1054-3akpkk"] compiling stackprof.c stackprof.c: In function ‘stackprof_signal_handler’: stackprof.c:786:9: warning: ‘rb_postponed_job_register_one’ is deprecated: use rb_postponed_job_preregister and rb_postponed_job_trigger [-Wdeprecated-declarations] 786 | rb_postponed_job_register_one(0, stackprof_job_record_gc, (void*)0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from stackprof.c:11: /usr/include/ruby-3.3.0/ruby/debug.h:770:5: note: declared here 770 | int rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func, void *data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackprof.c:789:13: warning: ‘rb_postponed_job_register_one’ is deprecated: use rb_postponed_job_preregister and rb_postponed_job_trigger [-Wdeprecated-declarations] 789 | rb_postponed_job_register_one(0, stackprof_job_sample_and_record, (void*)0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.3.0/ruby/debug.h:770:5: note: declared here 770 | int rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func, void *data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ stackprof.c:795:13: warning: ‘rb_postponed_job_register_one’ is deprecated: use rb_postponed_job_preregister and rb_postponed_job_trigger [-Wdeprecated-declarations] 795 | rb_postponed_job_register_one(0, stackprof_job_record_buffer, (void*)0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/ruby-3.3.0/ruby/debug.h:770:5: note: declared here 770 | int rb_postponed_job_register_one(unsigned int flags, rb_postponed_job_func_t func, void *data); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ linking shared-object stackprof/stackprof.so current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1054-3akpkk", "sitelibdir=./.gem.20241120-1054-3akpkk", "install"] /usr/bin/install -c -m 0755 stackprof.so ./.gem.20241120-1054-3akpkk/stackprof current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof ["make", "DESTDIR=", "sitearchdir=./.gem.20241120-1054-3akpkk", "sitelibdir=./.gem.20241120-1054-3akpkk", "clean"] current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof /usr/bin/ruby extconf.rb current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof make DESTDIR\= sitearchdir\=./.gem.20241120-1054-3akpkk sitelibdir\=./.gem.20241120-1054-3akpkk clean current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof make DESTDIR\= sitearchdir\=./.gem.20241120-1054-3akpkk sitelibdir\=./.gem.20241120-1054-3akpkk current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof make DESTDIR\= sitearchdir\=./.gem.20241120-1054-3akpkk sitelibdir\=./.gem.20241120-1054-3akpkk install current directory: /startdir/src/stackprof-0.2.26/tmp_install/usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/ext/stackprof make DESTDIR\= sitearchdir\=./.gem.20241120-1054-3akpkk sitelibdir\=./.gem.20241120-1054-3akpkk clean /startdir/src/stackprof-0.2.26/tmp_install/usr/bin/stackprof /startdir/src/stackprof-0.2.26/tmp_install/usr/bin/stackprof-flamegraph.pl /startdir/src/stackprof-0.2.26/tmp_install/usr/bin/stackprof-gprof2dot.py Successfully installed stackprof-0.2.26 Parsing documentation for stackprof-0.2.26 Parsing sources... 10% [ 1/10] ext/stackprof/Makefile 20% [ 2/10] ext/stackprof/extconf.rb 30% [ 3/10] ext/stackprof/stackprof.c 40% [ 4/10] lib/stackprof.rb 50% [ 5/10] lib/stackprof/autorun.rb 60% [ 6/10] lib/stackprof/flamegraph/flamegraph.js 70% [ 7/10] lib/stackprof/flamegraph/viewer.html 80% [ 8/10] lib/stackprof/middleware.rb 90% [ 9/10] lib/stackprof/report.rb 100% [10/10] lib/stackprof/truffleruby.rb Installing ri documentation for stackprof-0.2.26 Done installing documentation for stackprof after 0 seconds 1 gem installed removed 'tmp_install//usr/lib/ruby/gems/3.3.0/cache/stackprof-0.2.26.gem' removed directory 'tmp_install//usr/lib/ruby/gems/3.3.0/cache/' removed 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/FlameGraph/README' removed 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/FlameGraph/flamegraph.pl' removed directory 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/FlameGraph' removed 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/gprof2dot/gprof2dot.py' removed 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/gprof2dot/hotshotmain.py' removed directory 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/gprof2dot' removed directory 'tmp_install//usr/lib/ruby/gems/3.3.0/gems/stackprof-0.2.26/vendor/' removed 'tmp_install//usr/lib/ruby/gems/3.3.0/doc/stackprof-0.2.26/ri/ext/stackprof/page-Makefile.ri' removed directory 'tmp_install//usr/lib/ruby/gems/3.3.0/doc/stackprof-0.2.26/ri/ext/stackprof' removed directory 'tmp_install//usr/lib/ruby/gems/3.3.0/doc/stackprof-0.2.26/ri/ext/' ==> Starting check()... Run options: --seed 37074 # Running: ......F........................ Finished in 0.258106s, 120.1058 runs/s, 519.1668 assertions/s. 1) Failure: StackProfTest#test_raw [test/test_stackprof.rb:169]: Expected 0 to be > 0. 31 runs, 134 assertions, 1 failures, 0 errors, 0 skips rake aborted! Command failed with status (1) Tasks: TOP => test (See full trace by running task with --trace) ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Build failed, check /home/alhp/workspace/chroot/build_9f3e8026-4ae9-4988-af29-7c4e69a7bc53/build