[DRE-maint] Bug#888165: ruby-puppet-syntax: FTBFS on ruby2.5: OpenSSL::ASN1::ASN1Error: oid exists

Chris West (Faux) debian at fau.xxx
Tue Jan 23 18:32:13 UTC 2018


Source: ruby-puppet-syntax
Version: 2.4.1-1
Severity: important
User: debian-ruby at lists.debian.org
Usertags: ruby2.5

Dear Maintainer,

This package fails to build against ruby2.5. Soon, there will
be a transition to ruby2.5, and this package will FTBFS in sid.

There may be some details on the wiki about common problems:
https://wiki.debian.org/Teams/Ruby/Ruby25Transition

Build log excerpt:


Failures:

  1) PuppetSyntax::Manifests should return nothing from a valid file with a class using tag parameter
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:21:in `block (2 levels) in <top (required)>'

  2) PuppetSyntax::Manifests should return an error from an invalid file
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:29:in `block (2 levels) in <top (required)>'

  3) PuppetSyntax::Manifests should return a warning from an invalid file
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:44:in `block (2 levels) in <top (required)>'

  4) PuppetSyntax::Manifests should ignore warnings about storeconfigs
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:55:in `block (2 levels) in <top (required)>'

  5) PuppetSyntax::Manifests should read more than one valid file
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:64:in `block (2 levels) in <top (required)>'

  6) PuppetSyntax::Manifests should continue after finding an error in the first file
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:72:in `block (2 levels) in <top (required)>'

  7) PuppetSyntax::Manifests deprecation notices on puppet 4.0.0 and above should instead be failures
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:96:in `block (4 levels) in <top (required)>'

  8) PuppetSyntax::Manifests app_management app_management = false (default) should fail to parse an application manifest
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:148:in `block (4 levels) in <top (required)>'

  9) PuppetSyntax::Manifests app_management app_management = true should successfully parse an application manifest on Puppet >= 4.3.0
     Failure/Error: Puppet::Test::TestHelper.initialize

     OpenSSL::ASN1::ASN1Error:
       oid exists
     # ./lib/puppet-syntax/manifests.rb:12:in `check'
     # ./spec/puppet-syntax/manifests_spec.rb:163:in `block (4 levels) in <top (required)>'

  10) PuppetSyntax::Manifests future_parser future_parser = false (default) should succeed on Puppet >= 4.0.0
      Failure/Error: Puppet::Test::TestHelper.initialize

      OpenSSL::ASN1::ASN1Error:
        oid exists
      # ./lib/puppet-syntax/manifests.rb:12:in `check'
      # ./spec/puppet-syntax/manifests_spec.rb:201:in `block (4 levels) in <top (required)>'

Finished in 0.11609 seconds (files took 0.82926 seconds to load)
44 examples, 10 failures, 2 pending

Failed examples:

rspec ./spec/puppet-syntax/manifests_spec.rb:19 # PuppetSyntax::Manifests should return nothing from a valid file with a class using tag parameter
rspec ./spec/puppet-syntax/manifests_spec.rb:27 # PuppetSyntax::Manifests should return an error from an invalid file
rspec ./spec/puppet-syntax/manifests_spec.rb:42 # PuppetSyntax::Manifests should return a warning from an invalid file
rspec ./spec/puppet-syntax/manifests_spec.rb:53 # PuppetSyntax::Manifests should ignore warnings about storeconfigs
rspec ./spec/puppet-syntax/manifests_spec.rb:62 # PuppetSyntax::Manifests should read more than one valid file
rspec ./spec/puppet-syntax/manifests_spec.rb:70 # PuppetSyntax::Manifests should continue after finding an error in the first file
rspec ./spec/puppet-syntax/manifests_spec.rb:94 # PuppetSyntax::Manifests deprecation notices on puppet 4.0.0 and above should instead be failures
rspec ./spec/puppet-syntax/manifests_spec.rb:145 # PuppetSyntax::Manifests app_management app_management = false (default) should fail to parse an application manifest
rspec ./spec/puppet-syntax/manifests_spec.rb:159 # PuppetSyntax::Manifests app_management app_management = true should successfully parse an application manifest on Puppet >= 4.3.0
rspec ./spec/puppet-syntax/manifests_spec.rb:197 # PuppetSyntax::Manifests future_parser future_parser = false (default) should succeed on Puppet >= 4.0.0

/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
debian/rules:5: recipe for target 'binary' failed
dh_auto_install: dh_ruby --install /build/ruby-puppet-syntax-2.4.1/debian/ruby-puppet-syntax returned exit code 1
make: *** [binary] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

Full build log:
https://rbuild.fau.xxx/2018-01-23/ruby-puppet-syntax.log

Please fix it!

Cheers,
Chris.



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