Bug 1980998

Summary: rubygem-rspec-mocks: FTBFS in testsuite require of rspec/support/spec/library_wide_checks
Product: Red Hat Enterprise Linux 9 Reporter: Florian Weimer <fweimer>
Component: rubygem-rspec-mocksAssignee: Pavel Valena <pvalena>
Status: CLOSED CURRENTRELEASE QA Contact: Dita Stehlikova <dstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: CentOS StreamCC: bstinson, jkejda, jwboyer, vondruch
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-rspec-mocks-3.10.2-1.el9.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-11 14:43:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1982410    
Bug Blocks:    

Description Florian Weimer 2021-07-10 11:59:09 UTC
rubygem-rspec-mocks-3.10.2-1.el9.1 results in the following error:

Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.toTfZH
+ umask 022
+ cd /builddir/build/BUILD
+ cd rspec-mocks-3.10.2
+ LANG=C.UTF-8
+ ruby -rrubygems -Ilib/ -S rspec spec/
Simplecov could not be loaded
An error occurred while loading ./spec/rspec/mocks_spec.rb. - Did you mean?
                    rspec ./spec/rspec/mocks/spy_spec.rb
                    rspec ./spec/rspec/mocks/stash_spec.rb
                    rspec ./spec/rspec/mocks/space_spec.rb
Failure/Error: require 'rspec/support/spec/library_wide_checks'
LoadError:
  cannot load such file -- rake/file_utils
# ./spec/rspec/mocks_spec.rb:1:in `<top (required)>'
Run options: exclude {:ordered_and_vague_counts_unsupported=>true}
Finished in 0.00009 seconds (files took 0.98214 seconds to load)
0 examples, 0 failures, 1 error occurred outside of examples
error: Bad exit status from /var/tmp/rpm-tmp.toTfZH (%check)
    Bad exit status from /var/tmp/rpm-tmp.toTfZH (%check)

Comment 1 Vít Ondruch 2021-07-27 10:39:20 UTC
Related to bug 1982410

Comment 2 Vít Ondruch 2021-08-11 14:43:57 UTC
It builds:

https://kojihub.stream.rdu2.redhat.com/koji/buildinfo?buildID=12986