Source: facter
Version: 3.11.0-4
Severity: serious
Justification: will break on every ruby interpreter transition

facter does not have any dependency on ruby, so it can't specify which
ruby it works with. In this case, in testing `ruby` is ruby 2.5, but the
facter package from ustable only provides the library for ruby 2.7.

So when trying to migrate ruby-defaults to testing removing ruby2.5 and
making ruby2.7 the default, the autopkgtest of facter fail because it
tries to run `ruby` (2.5) but the package built on unstable does not
provide the library for ruby2.5 anymore.

The failures look like this:

autopkgtest [02:13:05]: test ruby: [-----------------------
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': 
libfacter was not found. Please make sure it was installed to the expected 
location. (LoadError)
cannot load such file -- libfacter.so
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
        from /usr/lib/ruby/vendor_ruby/facter.rb:30:in `<module:Facter>'
        from /usr/lib/ruby/vendor_ruby/facter.rb:1:in `<top (required)>'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
        from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in 
`require'
        from 
/tmp/autopkgtest-lxc.9xj2vp51/downtmp/build.d5Z/src/debian/tests/ruby:3:in 
`<main>'
autopkgtest [02:13:05]: test ruby: -----------------------]
autopkgtest [02:13:05]: test ruby:  - - - - - - - - - - results - - - - - - - - 
- -
ruby                 FAIL non-zero exit status 1


autopkgtest [02:13:43]: test puppet: [-----------------------
libfacter was not found. Please make sure it was installed to the expected 
location.
cannot load such file -- libfacter.so
autopkgtest [02:13:44]: test puppet: -----------------------]
autopkgtest [02:13:44]: test puppet:  - - - - - - - - - - results - - - - - - - 
- - -
puppet               FAIL non-zero exit status 1

Attachment: signature.asc
Description: PGP signature

Reply via email to