[DRE-maint] Bug#1011674: ruby-rack-oauth2: FTBFS: ERROR: Test "ruby3.0" failed: Failure/Error: private_key: OpenSSL::PKey::EC.new('prime256v1').generate_key,

Lucas Nussbaum lucas at debian.org
Thu May 26 07:09:33 BST 2022


Source: ruby-rack-oauth2
Version: 1.19.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20220525 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>      Failure/Error: private_key: OpenSSL::PKey::EC.new('prime256v1').generate_key,
> 
>      OpenSSL::PKey::PKeyError:
>        pkeys are immutable on OpenSSL 3.0
>      # ./spec/rack/oauth2/client_spec.rb:189:in `generate_key!'
>      # ./spec/rack/oauth2/client_spec.rb:189:in `block (8 levels) in <top (required)>'
>      # ./spec/rack/oauth2/client_spec.rb:87:in `block (5 levels) in <top (required)>'
> 
> Finished in 0.69138 seconds (files took 0.77443 seconds to load)
> 396 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/rack/oauth2/client_spec.rb:195 # Rack::OAuth2::Client#access_token! *args handling client authentication method when jwt_bearer auth method specified when private_key is given when EC key should be JWT bearer client assertion w/ auto-generated ES256-signed JWT assertion
> 
> /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.0" failed: 


The full build log is available from:
http://qa-logs.debian.net/2022/05/25/ruby-rack-oauth2_1.19.0-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



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