Bug 2229653

Summary: hivex-1.3.23-11.fc39 FTBFS: ruby/tests/tc_010_load.rb:20:in `<top (required)>': uninitialized constant MiniTest (NameError)
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: hivexAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: rjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/hivex
Whiteboard:
Fixed In Version: hivex-1.3.23-12.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-08-07 14:11:56 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:    
Bug Blocks: 2168842    

Description Petr Pisar 2023-08-07 08:36:22 UTC
hivex-1.3.23-11.fc39 fails to build in Fedora 39 because ruby tests fail:

FAIL: run-ruby-tests
============================================================================
Testsuite summary for hivex 1.3.23
============================================================================
# TOTAL: 1
# PASS:  0
# SKIP:  0
# XFAIL: 0
# FAIL:  1
# XPASS: 0
# ERROR: 0
============================================================================
See ruby/test-suite.log
============================================================================
[...]
FAIL: run-ruby-tests
====================
rake test TEST=./tests/tc_010_load.rb
/builddir/build/BUILD/hivex-1.3.23/ruby/tests/tc_010_load.rb:20:in `<top (required)>': uninitialized constant MiniTest (NameError)
class TestLoad < MiniTest::Unit::TestCase
                               ^^^^^^^^^^
Did you mean?  Minitest
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /usr/share/gems/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:21:in `block in <main>'
	from /usr/share/gems/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `select'
	from /usr/share/gems/gems/rake-13.0.6/lib/rake/rake_test_loader.rb:6:in `<main>'
rake aborted!
Command failed with status (1)
/usr/share/gems/gems/rake-13.0.6/exe/rake:27:in `<top (required)>'
Tasks: TOP => test
(See full trace by running task with --trace)
FAIL run-ruby-tests (exit status: 1)

A difference between passing and failing build roots is at <https://koschei.fedoraproject.org/build/15925943>. An upgrade of rubygem-minitest from 5.18.1-201.fc39 to 5.19.0-200.fc39 is suspicious.

Comment 1 Fedora Update System 2023-08-07 10:13:39 UTC
FEDORA-2023-f6591eb452 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-f6591eb452

Comment 2 Fedora Update System 2023-08-07 14:11:56 UTC
FEDORA-2023-f6591eb452 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.