[DRE-maint] Bug#1054732: rake-compiler: FTBFS: ERROR: Test "ruby3.1" failed: Failure/Error: expect(cc.find("3.1.0", "x86_64-linux-musl")).to be_nil

Lucas Nussbaum lucas at debian.org
Fri Oct 27 20:18:50 BST 2023

Source: rake-compiler
Version: 1.2.5-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20231027 ftbfs-trixie


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

Relevant part (hopefully):
>      Failure/Error: expect(cc.find("3.1.0", "x86_64-linux-musl")).to be_nil
>        expected: nil
>             got: "/path/to/bbb/rbconfig.rb"
>      # ./spec/lib/rake/compiler_config_spec.rb:52: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/lib/rake/extensiontask_spec.rb:11:in `block (4 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 0.18386 seconds (files took 0.31007 seconds to load)
> 109 examples, 1 failure, 4 pending
> Failed examples:
> rspec ./spec/lib/rake/compiler_config_spec.rb:42 # Rake::CompilerConfig does not match the other way around
> /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:

All bugs filed during this archive rebuild are listed at:

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