GNU bug report logs - #74081
[PATCH] gnu: ruby-ethon: Fix libcurl detection at runtime.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 29 Oct 2024 09:01:02 UTC

Severity: normal

Tags: patch

Done: Z572 <zhengjunjie <at> iscas.ac.cn>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 74081 in the body.
You can then email your comments to 74081 AT debbugs.gnu.org in the normal way.

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

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


Report forwarded to guix-patches <at> gnu.org:
bug#74081; Package guix-patches. (Tue, 29 Oct 2024 09:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 29 Oct 2024 09:01:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH] gnu: ruby-ethon: Fix libcurl detection at runtime.
Date: Tue, 29 Oct 2024 10:00:03 +0100
* gnu/packages/ruby.scm (ruby-ethon)[arguments]<#:phases>: Add phase
'libcurl-use-absolute-reference.
---
 gnu/packages/ruby.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 5af1bb1cef..12c439b3a9 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3089,7 +3089,15 @@ (define-public ruby-ethon
          "0gggrgkcq839mamx7a8jbnp2h7x2ykfn34ixwskwb0lzx2ak17g9"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:tests? #f))                    ; no included tests
+     (list
+      #:tests? #f  ; no included tests
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'libcurl-use-absolute-reference
+            (lambda* (#:key inputs #:allow-other-keys)
+              (substitute* "lib/ethon/curls/settings.rb"
+                (("libcurl', 'libcurl\\.so\\.4")
+                 (search-input-file inputs "/lib/libcurl.so"))))))))
     (inputs
      (list curl))
     (propagated-inputs
-- 
2.46.0





Information forwarded to guix-patches <at> gnu.org:
bug#74081; Package guix-patches. (Sun, 03 Nov 2024 12:06:02 GMT) Full text and rfc822 format available.

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

From: Z572 <zhengjunjie <at> iscas.ac.cn>
To: Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org>
Cc: Nicolas Graves <ngraves <at> ngraves.fr>, 74081-done <at> debbugs.gnu.org
Subject: Re: [bug#74081] [PATCH] gnu: ruby-ethon: Fix libcurl detection at
 runtime.
Date: Sun, 03 Nov 2024 20:05:28 +0800
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> writes:

> * gnu/packages/ruby.scm (ruby-ethon)[arguments]<#:phases>: Add phase
> 'libcurl-use-absolute-reference.
> ---
>  gnu/packages/ruby.scm | 10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
>
> diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
> index 5af1bb1cef..12c439b3a9 100644
> --- a/gnu/packages/ruby.scm
> +++ b/gnu/packages/ruby.scm
> @@ -3089,7 +3089,15 @@ (define-public ruby-ethon
>           "0gggrgkcq839mamx7a8jbnp2h7x2ykfn34ixwskwb0lzx2ak17g9"))))
>      (build-system ruby-build-system)
>      (arguments
> -     `(#:tests? #f))                    ; no included tests
> +     (list
> +      #:tests? #f  ; no included tests
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-after 'unpack 'libcurl-use-absolute-reference
> +            (lambda* (#:key inputs #:allow-other-keys)
> +              (substitute* "lib/ethon/curls/settings.rb"
> +                (("libcurl', 'libcurl\\.so\\.4")
> +                 (search-input-file inputs "/lib/libcurl.so"))))))))
>      (inputs
>       (list curl))
>      (propagated-inputs

push, close.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Z572 <zhengjunjie <at> iscas.ac.cn>:
You have taken responsibility. (Sun, 03 Nov 2024 12:06:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Sun, 03 Nov 2024 12:06:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 01 Dec 2024 12:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 261 days ago.

Previous Next


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