Bug 1969253

Summary: term_display and term_mandel: cannot load such file -- sync (LoadError)
Product: [Fedora] Fedora Reporter: Otto Liljalaakso <otto.liljalaakso>
Component: rubygem-term-ansicolorAssignee: Otto Liljalaakso <otto.liljalaakso>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: jan.klepek, otto.liljalaakso, tdawson, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
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:41 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: 1969567    
Bug Blocks:    

Description Otto Liljalaakso 2021-06-08 05:09:22 UTC
Description of problem:

rubygem-term-ansicolor executables term_display and term_mandel print the following error when they are run:

><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>: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/xt.rb:1: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/term-ansicolor-1.7.1/bin/term_display:6:in `<top (required)>'
>	from /usr/bin/term_display:23:in `load'
>	from /usr/bin/term_display:23:in `<main>'

Version-Release number of selected component (if applicable):
1.7.1 (also happens on 1.4.0)

How reproducible:
Always

Steps to Reproduce:
1. run term_display or term_mandel

Actual results:
Error 'cannot load such file -- sync' is printed

Expected results:
No errors, the executable is run successfully

Additional info:
The executables seem to be examples or auxliary tools at best. If making them work turns out to be difficult, they could perhaps moved to the doc package or even dropped completely.

Comment 1 Vít Ondruch 2021-06-08 09:05:20 UTC
This must be issue since Ruby 2.7:

https://github.com/ruby/ruby/commit/37c083942509dd7e0d8b7ccd3575936a2017c400

And it seems that recent `tins` has the dependency:

https://github.com/flori/tins/commit/479bd0aac4dd3b5fa7102e937e3d7d3f39f3273d

So this should be probably moved elsewhere, although this will possibly need new package ....

Comment 2 Otto Liljalaakso 2021-06-08 16:30:23 UTC
Thank you for the analysis. I filed a bug 1969567 for rubygem-tins.

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

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

Comment 5 Fedora Update System 2021-07-23 01:13:27 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 6 Fedora Update System 2021-07-23 01:26:05 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 7 Fedora Update System 2021-08-01 04:04:41 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 8 Fedora Update System 2021-08-01 04:04:49 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.