Bug 1969567

Summary: require "tins" failure: cannot load such file -- sync
Product: [Fedora] Fedora Reporter: Otto Liljalaakso <otto.liljalaakso>
Component: rubygem-tinsAssignee: Troy Dawson <tdawson>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 34CC: axilleas, jan.klepek, tdawson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-01 04:04:43 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: 1978395    
Bug Blocks: 1969253    

Description Otto Liljalaakso 2021-06-08 16:27:21 UTC
Description of problem:
tins cannot be required, attempting to do so produces the following error:

<internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- sync (LoadError)
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /usr/share/gems/gems/tins-1.0.0/lib/tins/dslkit.rb:3:in `<top (required)>'
	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/tins-1.0.0/lib/tins.rb:50:in `<module:Tins>'
	from /usr/share/gems/gems/tins-1.0.0/lib/tins.rb:1:in `<top (required)>'
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `require'
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:160:in `rescue in require'
	from <internal:/usr/share/rubygems/rubygems/core_ext/kernel_require.rb>:149:in `require'
	from -e:1:in `<main>'


Version-Release number of selected component (if applicable):
1.0.0

How reproducible:
Always

Steps to Reproduce:
1. Run the following command: $ ruby -e "require 'tins'"

Actual results:
Error as given in the description

Expected results:
Completes successfully

Additional info:
bug 1969253 is caused by this

Comment 1 Otto Liljalaakso 2021-06-08 16:29:34 UTC
I think the solution is to add rubygem-sync to Fedora, then update rubygem-tins to latest version (bug 1078788). 

More details here: https://bugzilla.redhat.com/show_bug.cgi?id=1969253#c1

Comment 2 Fedora Update System 2021-07-22 18:38:09 UTC
FEDORA-2021-7315275292 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-7315275292

Comment 3 Fedora Update System 2021-07-22 18:40:29 UTC
FEDORA-2021-226fc3740f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-226fc3740f

Comment 4 Troy Dawson 2021-07-22 19:14:49 UTC
I don't understand why this has been assigned to me.  I've never touched rubygem-tins, yet somehow I am the main (and only) admin for it.
I'm trying to cut down on my rubygems in Fedora, so if someone wants this package just ask.  Otherwise I will orphan it in a few weeks.

Comment 5 Otto Liljalaakso 2021-07-22 19:30:42 UTC
You can hand rubygem-tins over to me.
It is part of dependency chain of one of my packages.

Comment 6 Troy Dawson 2021-07-22 22:03:40 UTC
Done, thank you.

Comment 7 Fedora Update System 2021-07-23 01:13:29 UTC
FEDORA-2021-7315275292 has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-7315275292 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-7315275292

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2021-07-23 01:26:07 UTC
FEDORA-2021-226fc3740f has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --advisory=FEDORA-2021-226fc3740f \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-226fc3740f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2021-08-01 04:04:43 UTC
FEDORA-2021-226fc3740f has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2021-08-01 04:04:51 UTC
FEDORA-2021-7315275292 has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.