[DRE-maint] Bug#1027345: ruby-terrapin: FTBFS: ERROR: Test "ruby3.1" failed: ArgumentError:

Lucas Nussbaum lucas at debian.org
Fri Dec 30 16:24:38 GMT 2022


Source: ruby-terrapin
Version: 0.6.0-4
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221230 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>       ArgumentError:
>         wrong number of arguments (given 4, expected 3)
>       # /usr/share/rubygems-integration/all/gems/mocha-1.16.1/lib/mocha/mock.rb:319:in `new'
>       # /usr/share/rubygems-integration/all/gems/mocha-1.16.1/lib/mocha/mock.rb:319:in `handle_method_call'
>       # /usr/share/rubygems-integration/all/gems/mocha-1.16.1/lib/mocha/stubbed_method.rb:60:in `block in define_new_method'
>       # ./lib/terrapin/command_line.rb:42:in `block in best_runner'
>       # ./lib/terrapin/command_line.rb:41:in `each'
>       # ./lib/terrapin/command_line.rb:41:in `detect'
>       # ./lib/terrapin/command_line.rb:41:in `best_runner'
>       # ./lib/terrapin/command_line.rb:23:in `runner'
>       # ./lib/terrapin/command_line.rb:55:in `initialize'
>       # ./spec/terrapin/runners_spec.rb:24:in `new'
>       # ./spec/terrapin/runners_spec.rb:24:in `block (2 levels) in <top (required)>'
> 
> Deprecation Warnings:
> 
> Using `should` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /<<PKGBUILDDIR>>/spec/terrapin/command_line/runners/backticks_runner_spec.rb:19:in `block (2 levels) in <top (required)>'.
> 
> 
> If you need more of the backtrace for any of these deprecations to
> identify where to make the necessary changes, you can configure
> `config.raise_errors_for_deprecations!`, and it will turn the
> deprecation warnings into errors, giving you the full backtrace.
> 
> 1 deprecation warning total
> 
> Finished in 1.42 seconds (files took 0.40114 seconds to load)
> 67 examples, 30 failures
> 
> Failed examples:
> 
> rspec ./spec/terrapin/command_line_spec.rb:14 # Terrapin::CommandLine specifies the $PATH where the command can be found on unix
> rspec ./spec/terrapin/command_line_spec.rb:20 # Terrapin::CommandLine specifies the %PATH% where the command can be found on windows
> rspec ./spec/terrapin/command_line_spec.rb:27 # Terrapin::CommandLine specifies more than one path where the command can be found
> rspec ./spec/terrapin/command_line_spec.rb:57 # Terrapin::CommandLine can interpolate quoted variables into the command line's parameters
> rspec ./spec/terrapin/command_line_spec.rb:66 # Terrapin::CommandLine does not over-interpolate in a command line
> rspec ./spec/terrapin/command_line_spec.rb:75 # Terrapin::CommandLine interpolates when running a command
> rspec ./spec/terrapin/command_line_spec.rb:80 # Terrapin::CommandLine interpolates any Array arguments when running a command
> rspec ./spec/terrapin/command_line_spec.rb:85 # Terrapin::CommandLine quotes command line options differently if we're on windows
> rspec ./spec/terrapin/command_line_spec.rb:94 # Terrapin::CommandLine can quote and interpolate dangerous variables
> rspec ./spec/terrapin/command_line_spec.rb:102 # Terrapin::CommandLine cannot recursively introduce a place where user-supplied commands can run
> rspec ./spec/terrapin/command_line_spec.rb:107 # Terrapin::CommandLine can quote and interpolate dangerous variables even on windows
> rspec ./spec/terrapin/command_line_spec.rb:116 # Terrapin::CommandLine quotes blank values into the command line's parameters
> rspec ./spec/terrapin/command_line_spec.rb:129 # Terrapin::CommandLine handles symbols in user supplied values
> rspec ./spec/terrapin/command_line_spec.rb:135 # Terrapin::CommandLine can redirect stderr to the bit bucket if requested
> rspec ./spec/terrapin/command_line_spec.rb:143 # Terrapin::CommandLine can redirect stderr to the bit bucket on windows
> rspec ./spec/terrapin/command_line_spec.rb:163 # Terrapin::CommandLine colorizes the output to a tty
> rspec ./spec/terrapin/command_line_spec.rb:169 # Terrapin::CommandLine can still take something that does not respond to tty as a logger
> rspec ./spec/terrapin/command_line_spec.rb:178 # Terrapin::CommandLine logs the command to a supplied logger
> rspec ./spec/terrapin/errors_spec.rb:4 # When an error happens raises a CommandLineError if the result code command isn't expected
> rspec ./spec/terrapin/errors_spec.rb:12 # When an error happens does not raise if the result code is expected, even if nonzero
> rspec ./spec/terrapin/errors_spec.rb:20 # When an error happens adds command output to exception message if the result code is nonzero
> rspec ./spec/terrapin/errors_spec.rb:35 # When an error happens passes the error message to the exception when command is not found
> rspec ./spec/terrapin/errors_spec.rb:54 # When an error happens does not blow up if running the command errored before execution
> rspec ./spec/terrapin/os_detector_spec.rb:4 # Terrapin::OSDetector detects that the system is unix
> rspec ./spec/terrapin/os_detector_spec.rb:9 # Terrapin::OSDetector detects that the system is windows
> rspec ./spec/terrapin/os_detector_spec.rb:14 # Terrapin::OSDetector detects that the system is windows (mingw)
> rspec ./spec/terrapin/os_detector_spec.rb:19 # Terrapin::OSDetector detects that the current Ruby is on Java
> rspec ./spec/terrapin/runners_spec.rb:4 # When picking a Runner uses the BackticksRunner by default
> rspec ./spec/terrapin/runners_spec.rb:13 # When picking a Runner uses the ProcessRunner on 1.9 and it's available
> rspec ./spec/terrapin/runners_spec.rb:21 # When picking a Runner uses the PosixRunner if the PosixRunner is available
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2022/12/30/ruby-terrapin_0.6.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20221230;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20221230&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

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 mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-ruby-extras-maintainers mailing list