Building ruby-puma fails

  • Done
  • quality assurance status badge
Details
3 participants
  • Hartmut Goebel
  • Hartmut Goebel
  • Nicolas Graves
Owner
unassigned
Submitted by
Hartmut Goebel
Severity
normal

Debbugs page

H
H
Hartmut Goebel wrote on 25 Dec 2024 11:04
(name . bug-guix)(address . bug-guix@gnu.org)(name . Christopher Baines)(address . mail@cbaines.net)
dc6c1ced-4567-49b2-99ed-1457af87e277@crazy-compilers.com
Hi,

building ruby-puma fails:

Errors & Failures:

 1) Failure:
TestPumaServerSSLWithCertPemAndKeyPem#test_server_ssl_with_cert_pem_and_key_pem
[/tmp/g
uix-build-ruby-puma-6.3.0.drv-0/source/test/test_puma_server_ssl.rb:543]:
Expected #<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0
peeraddr=127.0.0.1:33
445 state=error: certificate verify failed (certificate has expired)> to
be nil.

 2) Error:
TestIntegrationSSL#test_ssl_run_with_curl_client:
RuntimeError: "curl -s -v --show-error --cacert
/tmp/guix-build-ruby-puma-6.3.0.drv-0/s
ource/examples/puma/client-certs/ca.crt --cert
/tmp/guix-build-ruby-puma-6.3.0.drv-0/so
urce/examples/puma/client-certs/client.crt --key
/tmp/guix-build-ruby-puma-6.3.0.drv-0/
source/examples/puma/client-certs/client.key --tlsv1.2 --tls-max 1.2 -X
GET -k https://
localhost:37245" process failed: pid 892 exit 35

Refreshing the package failed since it now requires ruby 1.3:

/gnu/store/4vm6i8x42xxiqz5rm9qbfnzsfrxkqn9s-bundler-2.4.18/lib/ruby/vendor_ruby/gems/bu
ndler-2.4.18/lib/bundler/resolver.rb:304:in `raise_not_found!': Could
not find gem 'con
current-ruby (~> 1.3)' in locally installed gems. (Bundler::GemNotFound)

Any idea how to solve this?

--
Regards
Hartmut Goebel

| Hartmut Goebel |h.goebel@crazy-compilers.com |
|www.crazy-compilers.com | compilers which you thought are impossible |
Attachment: file
N
N
Nicolas Graves wrote on 22 Jan 13:35 -0800
(name . Christopher Baines)(address . mail@cbaines.net)
87frlapm4r.fsf@ngraves.fr
On 2024-12-25 20:04, Hartmut Goebel wrote:

Toggle quote (36 lines)
> Hi,
>
> building ruby-puma fails:
>
> Errors & Failures:
>
>  1) Failure:
> TestPumaServerSSLWithCertPemAndKeyPem#test_server_ssl_with_cert_pem_and_key_pem
> [/tmp/g
> uix-build-ruby-puma-6.3.0.drv-0/source/test/test_puma_server_ssl.rb:543]:
> Expected #<OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0
> peeraddr=127.0.0.1:33
> 445 state=error: certificate verify failed (certificate has expired)> to
> be nil.
>
>  2) Error:
> TestIntegrationSSL#test_ssl_run_with_curl_client:
> RuntimeError: "curl -s -v --show-error --cacert
> /tmp/guix-build-ruby-puma-6.3.0.drv-0/s
> ource/examples/puma/client-certs/ca.crt --cert
> /tmp/guix-build-ruby-puma-6.3.0.drv-0/so
> urce/examples/puma/client-certs/client.crt --key
> /tmp/guix-build-ruby-puma-6.3.0.drv-0/
> source/examples/puma/client-certs/client.key --tlsv1.2 --tls-max 1.2 -X
> GET -k https://
> localhost:37245" process failed: pid 892 exit 35
>
> Refreshing the package failed since it now requires ruby 1.3:
>
> /gnu/store/4vm6i8x42xxiqz5rm9qbfnzsfrxkqn9s-bundler-2.4.18/lib/ruby/vendor_ruby/gems/bu
> ndler-2.4.18/lib/bundler/resolver.rb:304:in `raise_not_found!': Could
> not find gem 'con
> current-ruby (~> 1.3)' in locally installed gems. (Bundler::GemNotFound)
>
> Any idea how to solve this?

I've tried to update most ruby packages in this patch series: bug#75737
puma did build properly on my side after that update.

--
Best regards,
Nicolas Graves
H
H
Hartmut Goebel wrote on 26 Aug 13:43 -0700
Building ruby-puma fails
(address . 75092-close@debbugs.gnu.org)
6d869e28-b65d-4bc1-af3b-e4d6801f4486@goebel-consult.de
Tested again today: it builds. Closing
?
Your comment

This issue is archived.

To comment on this conversation send an email to 75092@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 75092
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch