Source: ruby-tty-command Version: 0.9.0-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-tty-command 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): > ArgumentError: > wrong number of arguments (given 1, expected 0) > # ./lib/tty/command/cmd.rb:66:in `update' > # ./lib/tty/command.rb:177:in `command' > # ./lib/tty/command.rb:103:in `run' > # ./lib/tty/command.rb:159:in `ruby' > # ./spec/unit/ruby_spec.rb:7:in `block (2 levels) in <top (required)>' > > Top 2 slowest examples (0.06033 seconds, 28.6% of total time): > TTY::Command::Printers::Pretty prints output on error when > only_output_on_error is true > 0.04233 seconds ./spec/unit/printers/pretty_spec.rb:144 > TTY::Command :pty logs phased output in pseudo terminal mode > 0.018 seconds ./spec/unit/pty_spec.rb:30 > > Top 2 slowest example groups: > TTY::Command::Printers::Null > 0.00645 seconds average (0.01934 seconds / 3 examples) > ./spec/unit/printers/null_spec.rb:3 > TTY::Command :pty > 0.00634 seconds average (0.01902 seconds / 3 examples) > ./spec/unit/pty_spec.rb:3 > > Finished in 0.21107 seconds (files took 0.50957 seconds to load) > 116 examples, 39 failures > > Failed examples: > > rspec ./spec/unit/pty_spec.rb:30 # TTY::Command :pty logs phased output in > pseudo terminal mode > rspec ./spec/unit/pty_spec.rb:4 # TTY::Command :pty executes command in > pseudo terminal mode as global option > rspec ./spec/unit/pty_spec.rb:17 # TTY::Command :pty executes command in > pseudo terminal mode as command option > rspec ./spec/unit/printers/pretty_spec.rb:120 # > TTY::Command::Printers::Pretty prints output on error & raises ExitError when > only_output_on_error is true > rspec ./spec/unit/printers/pretty_spec.rb:144 # > TTY::Command::Printers::Pretty prints output on error when > only_output_on_error is true > rspec ./spec/unit/printers/pretty_spec.rb:97 # TTY::Command::Printers::Pretty > doesn't print output on success when only_output_on_error is true > rspec ./spec/unit/redirect_spec.rb:92 # TTY::Command redirect redirects > multiple fds to a file > rspec ./spec/unit/redirect_spec.rb:24 # TTY::Command redirect redirects > :stdout -> :stderr > rspec ./spec/unit/redirect_spec.rb:44 # TTY::Command redirect redirects > STDOUT -> :err > rspec ./spec/unit/redirect_spec.rb:4 # TTY::Command redirect accepts standard > shell redirects > rspec ./spec/unit/redirect_spec.rb:54 # TTY::Command redirect redirects > STDOUT -> '/dev/null > rspec ./spec/unit/redirect_spec.rb:63 # TTY::Command redirect redirects to a > file > rspec ./spec/unit/redirect_spec.rb:34 # TTY::Command redirect redirects 1 -> 2 > rspec ./spec/unit/redirect_spec.rb:75 # TTY::Command redirect redirects to a > file as an array value > rspec ./spec/unit/redirect_spec.rb:14 # TTY::Command redirect redirects :out > -> :err > rspec ./spec/unit/printers/quiet_spec.rb:37 # TTY::Command::Printers::Quiet > doesn't print output on success when only_output_on_error is true > rspec ./spec/unit/printers/quiet_spec.rb:54 # TTY::Command::Printers::Quiet > prints output on error when only_output_on_error is true > rspec ./spec/unit/timeout_spec.rb:14 # TTY::Command#run times out an infite > process with constant output > rspec ./spec/unit/timeout_spec.rb:24 # TTY::Command#run times out an infinite > process with constant input data > rspec ./spec/unit/timeout_spec.rb:4 # TTY::Command#run times out infinite > process without input or output > rspec ./spec/unit/output_spec.rb:6 # TTY::Command :output runs command and > prints to a file > rspec ./spec/unit/dry_run_spec.rb:35 # TTY::Command dry run doesn't collect > printout to stdin or stderr > rspec ./spec/unit/dry_run_spec.rb:11 # TTY::Command dry run runs command in > dry run mode > rspec ./spec/unit/dry_run_spec.rb:23 # TTY::Command dry run allows to run > command in dry mode > rspec ./spec/unit/input_spec.rb:4 # TTY::Command input reads user input data > rspec ./spec/unit/binmode_spec.rb:4 # TTY::Command#run encodes output as > unicode by default > rspec ./spec/unit/binmode_spec.rb:22 # TTY::Command#run encodes all commands > output as binary > rspec ./spec/unit/binmode_spec.rb:13 # TTY::Command#run encodes output as > binary > rspec ./spec/unit/run_spec.rb:64 # TTY::Command#run runs command successfully > with logging without uuid set locally > rspec ./spec/unit/run_spec.rb:138 # TTY::Command#run logs phased output in > one line > rspec ./spec/unit/run_spec.rb:48 # TTY::Command#run runs command successfully > with logging without uuid set globally > rspec ./spec/unit/run_spec.rb:99 # TTY::Command#run raises ExitError on > command failure > rspec ./spec/unit/run_spec.rb:30 # TTY::Command#run runs command successfully > with logging without color > rspec ./spec/unit/run_spec.rb:114 # TTY::Command#run streams output data > rspec ./spec/unit/run_spec.rb:12 # TTY::Command#run runs command successfully > with logging > rspec ./spec/unit/run_spec.rb:2 # TTY::Command#run runs command and prints to > stdout > rspec ./spec/unit/run_spec.rb:80 # TTY::Command#run runs command and fails > with logging > rspec ./spec/unit/run_spec.rb:128 # TTY::Command#run preserves ANSI codes > rspec ./spec/unit/ruby_spec.rb:4 # TTY::Command#ruby runs ruby with a single > string argument > > Randomized with seed 5975 > > /usr/bin/ruby3.0 > -I/usr/share/rubygems-integration/all/gems/rspec-support-3.9.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/lib > /usr/share/rubygems-integration/all/gems/rspec-core-3.9.2/exe/rspec > --pattern ./spec/\*\*/\*_spec.rb --format documentation failed > ERROR: Test "ruby3.0" failed: The full build log is available at https://people.debian.org/~kanashiro/ruby3.0/round2/builds/3/ruby-tty-command/ruby-tty-command_0.9.0-2+rebuild1633397540_amd64.build.txt
signature.asc
Description: PGP signature