[DRE-maint] Bug#1042415: ruby-aws-partitions: Package missing partitions.json
Andreas Beckmann
anbe at debian.org
Fri Apr 19 09:11:03 BST 2024
Followup-For: Bug #1042415
Control: found -1 1.653.0-2
I was looking into backporting the trivial fix to stable, but upon
verification I ran into another missing file (partitions-metadata.json),
which is also reproducible on sid:
# irb
irb(main):001:0> require 'aws-partitions'
irb(main):002:1* Aws::Partitions.each do |partition|
irb(main):003:1* puts partition.name
irb(main):004:0> end
/usr/share/rubygems-integration/all/gems/aws-partitions-1.653.0/lib/aws-partitions.rb:235:in `read': No such file or directory @ rb_sysopen - /usr/share/rubygems-integration/all/gems/aws-partitions-1.653.0/partitions-metadata.json (Errno::ENOENT)
from /usr/share/rubygems-integration/all/gems/aws-partitions-1.653.0/lib/aws-partitions.rb:235:in `default_metadata'
from /usr/share/rubygems-integration/all/gems/aws-partitions-1.653.0/lib/aws-partitions.rb:215:in `default_partition_list'
from /usr/share/rubygems-integration/all/gems/aws-partitions-1.653.0/lib/aws-partitions.rb:137:in `each'
from (irb):2:in `<main>'
from /usr/lib/ruby/gems/3.1.0/gems/irb-1.4.1/exe/irb:11:in `<top (required)>'
from /usr/bin/irb:25:in `load'
from /usr/bin/irb:25:in `<main>'
irb(main):005:0>
Please add a (superficial) autopkgtest to at least catch these kind of
unusability.
And backport the fixes to bookworm.
Andreas
More information about the Pkg-ruby-extras-maintainers
mailing list