GNU bug report logs - #75092
Building ruby-puma fails

Previous Next

Package: guix;

Reported by: Hartmut Goebel <h.goebel <at> crazy-compilers.com>

Date: Wed, 25 Dec 2024 19:05:02 UTC

Severity: normal

To reply to this bug, email your comments to 75092 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#75092; Package guix. (Wed, 25 Dec 2024 19:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hartmut Goebel <h.goebel <at> crazy-compilers.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 25 Dec 2024 19:05:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hartmut Goebel <h.goebel <at> crazy-compilers.com>
To: bug-guix <bug-guix <at> gnu.org>
Cc: Christopher Baines <mail <at> cbaines.net>
Subject: Building ruby-puma fails
Date: Wed, 25 Dec 2024 20:04:05 +0100
[Message part 1 (text/plain, inline)]
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 <at> crazy-compilers.com               |
|www.crazy-compilers.com | compilers which you thought are impossible |
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#75092; Package guix. (Wed, 22 Jan 2025 21:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 75092 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: Hartmut Goebel <h.goebel <at> crazy-compilers.com>, 75092 <at> debbugs.gnu.org
Cc: Christopher Baines <mail <at> cbaines.net>
Subject: Re: bug#75092: Building ruby-puma fails
Date: Wed, 22 Jan 2025 22:35:48 +0100
On 2024-12-25 20:04, Hartmut Goebel wrote:

> 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




This bug report was last modified 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.