[DRE-maint] Bug#1035389: ruby-aws-sdk-core: The VERSION file is not packaged

vincent vincent at delftsolutions.nl
Tue May 2 16:55:22 BST 2023


Package: ruby-aws-sdk-core
Version: 3.104.3-3+deb11u1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Our build pipeline uses Debian Bullseye, which received a point release (11.7) including an update to your package.
This update now renders this package unusable.
After installing the package ("apt install ruby-aws-sdk-core"), when one tries to require aws-sdk-core or run the file directly on debian by running:
"ruby /usr/lib/ruby/vendor_ruby/aws-sdk-core.rb", you get the error:

Traceback (most recent call last):
        2: from /usr/lib/ruby/vendor_ruby/aws-sdk-core.rb:93:in `<main>'
        1: from /usr/lib/ruby/vendor_ruby/aws-sdk-core.rb:95:in `<module:Aws>'
/usr/lib/ruby/vendor_ruby/aws-sdk-core.rb:95:in `read': No such file or directory @ rb_sysopen - /usr/lib/ruby/VERSION (Errno::ENOENT)

This was most likely caused by dropping the fix-version.patch file, now the following line is executed and generates the aforementioned error:
"CORE_GEM_VERSION = File.read(File.expand_path('../../VERSION', __FILE__)).strip"

I expect the gem to not throw an error when requiring it.
This can be achieved by correctly packaging the VERSION file that exists in the repository.

-- System Information:
Debian Release: 11.7
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-20-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages ruby-aws-sdk-core depends on:
ii  ruby                  1:2.7+2
ii  ruby-aws-eventstream  1.1.0-1
ii  ruby-aws-partitions   1.354.0-2
ii  ruby-aws-sigv4        1.1.0-3
ii  ruby-jmespath         1.4.0-2

ruby-aws-sdk-core recommends no packages.

ruby-aws-sdk-core suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list