FS#72279 - [r10k] 3.11.0-1 missing dependency on ruby-jwt

Attached to Project: Community Packages
Opened by Hailey Somerville (hailey) - Wednesday, 29 September 2021, 04:48 GMT
Last edited by Tim (bastelfreak) - Wednesday, 29 September 2021, 18:02 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Tim (bastelfreak)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

r10k 3.11.0-1 is missing a dependency on the ruby-jwt package and crashes immediately:

λ r10k --help
/usr/lib/ruby/3.0.0/rubygems/specification.rb:1404:in `rescue in block in activate_dependencies': Could not find 'jwt' (>= 2.2.3) among 108 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/hailey/.gem/ruby/3.0.0:/usr/lib/ruby/gems/3.0.0' at: /usr/lib/ruby/gems/3.0.0/specifications/r10k-3.11.0.gemspec, execute `gem env` for more information
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1401:in `block in activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1390:in `each'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1390:in `activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1372:in `activate'
from /usr/lib/ruby/3.0.0/rubygems.rb:302:in `block in activate_bin_path'
from /usr/lib/ruby/3.0.0/rubygems.rb:301:in `synchronize'
from /usr/lib/ruby/3.0.0/rubygems.rb:301:in `activate_bin_path'
from /usr/bin/r10k:23:in `<main>'
/usr/lib/ruby/3.0.0/rubygems/dependency.rb:311:in `to_specs': Could not find 'jwt' (>= 2.2.3) among 108 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/home/hailey/.gem/ruby/3.0.0:/usr/lib/ruby/gems/3.0.0' , execute `gem env` for more information
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1402:in `block in activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1390:in `each'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1390:in `activate_dependencies'
from /usr/lib/ruby/3.0.0/rubygems/specification.rb:1372:in `activate'
from /usr/lib/ruby/3.0.0/rubygems.rb:302:in `block in activate_bin_path'
from /usr/lib/ruby/3.0.0/rubygems.rb:301:in `synchronize'
from /usr/lib/ruby/3.0.0/rubygems.rb:301:in `activate_bin_path'
from /usr/bin/r10k:23:in `<main>'

Installing the ruby-jwt package manually resolves this problem and r10k works as expected.
This task depends upon

Closed by  Tim (bastelfreak)
Wednesday, 29 September 2021, 18:02 GMT
Reason for closing:  Fixed
Comment by Tim (bastelfreak) - Wednesday, 29 September 2021, 18:02 GMT
ah ups, forgot to add the dependency. I pushed an update for r10k. thanks for reporting!

Loading...