[DRE-maint] Bug#888148: ruby-certificate-authority: FTBFS on ruby2.5: CSR varies?

Chris West (Faux) debian at fau.xxx
Tue Jan 23 17:07:06 UTC 2018


Source: ruby-certificate-authority
Version: 0.2.0~6dd483bf-2
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) CertificateAuthority::SigningRequest Generating CSRs should generate a CSR
     Failure/Error: expect(@csr.to_pem).to eq(expected)

       expected: "-----BEGIN CERTIFICATE REQUEST-----\nMIIBUTCBuwIBADAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQE...YfwPc8CxclIYt1+HyCmBndXIDvGR0JO8/lEdSObZQYHV197hWOay\nreDW940=\n-----END CERTIFICATE REQUEST-----\n"
            got: "-----BEGIN CERTIFICATE REQUEST-----\nMIIBUzCBvQIBADAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQE...N1uYQ1mpmN/LtseP8PkP7S3MzJK1SSdI7929EhWfJo4Zrm0+\ngPav58ePPg==\n-----END CERTIFICATE REQUEST-----\n"

       (compared using ==)

       Diff:

       @@ -1,11 +1,11 @@
        -----BEGIN CERTIFICATE REQUEST-----
       -MIIBUTCBuwIBADAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEB
       +MIIBUzCBvQIBADAUMRIwEAYDVQQDDAlsb2NhbGhvc3QwgZ8wDQYJKoZIhvcNAQEB
        BQADgY0AMIGJAoGBALGIZV9Gt/3QIea9dr5dhYTibstnWyVzpzEhjIiBm5DlPwB6
        pRqRvJhjjAxRHaBnikM+z9Yazx9brqrbeqYdKvVtDodovzOdsPtQv8iKLKJbwjXW
        ituuGKYjHUDrTqqLz/SBBz4fznWDNS6x3nGAo/Zf6g/FjHdUbd2mSwuc0rUjAgMB
       -AAEwDQYJKoZIhvcNAQENBQADgYEAZWLXHmJJyHz+9AdWUJ3U3pLHR/ghA1f3Ihyu
       -2PuYvwqfnGfGTA8DUnQx7l7J6ATIn76SBadmOquBBbbuhJG05WfKZt0oqCAPdsIa
       -XBlLOqVQmWR7YfwPc8CxclIYt1+HyCmBndXIDvGR0JO8/lEdSObZQYHV197hWOay
       -reDW940=
       +AAGgADANBgkqhkiG9w0BAQ0FAAOBgQANCCSnS9L5tUZrtysGF+uP+eSc6O76jRbL
       +9XueRH57ZIddHm/z3xK/01IjyKVlLK7azlL187K1JZwBCwREhodBRULoQJGumhRT
       +qh9RuoJtuzEmviAYN1uYQ1mpmN/LtseP8PkP7S3MzJK1SSdI7929EhWfJo4Zrm0+
       +gPav58ePPg==
        -----END CERTIFICATE REQUEST-----
     # ./spec/units/signing_request_spec.rb:137:in `block (3 levels) in <top (required)>'

Finished in 2.15 seconds (files took 0.57521 seconds to load)
196 examples, 1 failure, 3 pending

Failed examples:

rspec ./spec/units/signing_request_spec.rb:124 # CertificateAuthority::SigningRequest Generating CSRs should generate a CSR

[Coveralls] Outside the CI environment, not sending data.
/usr/bin/ruby2.5 /usr/bin/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
ERROR: Test "ruby2.5" failed. Exiting.
dh_auto_install: dh_ruby --install /build/ruby-certificate-authority-0.2.0\~6dd483bf/debian/ruby-certificate-authority returned exit code 1
debian/rules:6: recipe for target 'binary' failed
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-certificate-authority.log

Please fix it!

Cheers,
Chris.



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