FS#75744 - [ruby] 3.0.4-10 / rubygems => Errors from every pacman -Syu after that

Attached to Project: Community Packages
Opened by Gene (GeneC) - Tuesday, 30 August 2022, 12:13 GMT
Last edited by Andreas Schleifer (Segaja) - Wednesday, 31 August 2022, 19:39 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Andreas Schleifer (Segaja)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
After ruby updated to 3.0.4-10 every invocation of pacman -Syu leads to errors
This happens on every subsequent invocation of pacman -Syu not just when ruby was updated.

Error is:
...
(3/3) Checking which packages need to be rebuilt
<internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- timeout (LoadError)
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/lib/ruby/3.0.0/rubygems/command_manager.rb:107:in `initialize'
from /usr/lib/ruby/3.0.0/rubygems/command_manager.rb:85:in `new'
from /usr/lib/ruby/3.0.0/rubygems/command_manager.rb:85:in `instance'
from /usr/lib/ruby/3.0.0/rubygems/gem_runner.rb:38:in `run'
from /usr/bin/gem:13:in `<main>'

versions:
ruby 3.0.4-10
pacman 6.0.1-7
rubygems 3.3.19-1
This task depends upon

Closed by  Andreas Schleifer (Segaja)
Wednesday, 31 August 2022, 19:39 GMT
Reason for closing:  Fixed
Additional comments about closing:  This was fixed in ruby-3.0.4-11 in [community-testing]
Comment by Toolybird (Toolybird) - Wednesday, 31 August 2022, 07:31 GMT
> (3/3) Checking which packages need to be rebuilt

That line comes from rebuild-detector? I can repro when it's installed. Everything is fine if I remove it... someone who understands ruby needs to chime in here.

Comment by Toolybird (Toolybird) - Wednesday, 31 August 2022, 07:56 GMT
checkrebuild does this:

$ gem environment gemdir
<internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- timeout (LoadError)
from <internal:/usr/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
from /usr/lib/ruby/3.0.0/rubygems/command_manager.rb:107:in `initialize'
from /usr/lib/ruby/3.0.0/rubygems/command_manager.rb:85:in `new'
from /usr/lib/ruby/3.0.0/rubygems/command_manager.rb:85:in `instance'
from /usr/lib/ruby/3.0.0/rubygems/gem_runner.rb:38:in `run'
from /usr/bin/gem:13:in `<main>'
Comment by Gene (GeneC) - Wednesday, 31 August 2022, 10:16 GMT
Thanks for checking. Funnily enough, rebuild-detector was installed in late Feb this year - don't recall doing it. But glad it caught something :)
Comment by Andreas Schleifer (Segaja) - Wednesday, 31 August 2022, 11:06 GMT
I'm already looking into this and hopefully can fix this soon. The `timeout` error I already fixed locally but then I run into other issues... I will keep you all updated.

Loading...