[DRE-maint] Bug#971116: ruby-rspec-puppet: FTBFS: ERROR: Test "ruby2.7" failed: Failure/Error:

Lucas Nussbaum lucas at debian.org
Sun Sep 27 19:49:21 BST 2020


Source: ruby-rspec-puppet
Version: 2.7.8-3
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200926 ftbfs-bullseye

Hi,

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

Relevant part (hopefully):
> Failure/Error:
>   def get_env(name, mode = default_env)
>     if RSpec::Puppet.rspec_puppet_example?
>       # use the actual platform, not the pretended
>      old_get_env(name, Platform.actual_platform)
>     else
>      old_get_env(name, mode)
>     end
> 
> NameError:
>   undefined local variable or method `default_env' for Puppet::Util:Module
> # ./lib/rspec-puppet/monkey_patches.rb:139:in `get_env'
> # ./lib/rspec-puppet.rb:77:in `block in <top (required)>'
> # ./lib/rspec-puppet.rb:34:in `<top (required)>'
> # ./lib/rspec-puppet/monkey_patches.rb:350:in `require'
> # ./spec/spec_helper.rb:11:in `<top (required)>'
> # ./lib/rspec-puppet/monkey_patches.rb:350:in `require'
> # ./spec/unit/monkey_patches_spec.rb:1:in `<top (required)>'
> 
> Finished in 0.00004 seconds (files took 1.44 seconds to load)
> 0 examples, 0 failures, 87 errors occurred outside of examples
> 
> /usr/bin/ruby2.7 -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 failed
> ERROR: Test "ruby2.7" failed: 

The full build log is available from:
   http://qa-logs.debian.net/2020/09/26/ruby-rspec-puppet_2.7.8-3_unstable.log

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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



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