GNU bug report logs - #67989
[PATCH 0/2] gnu: fzy: Fix cross-compilation

Previous Next

Package: guix-patches;

Reported by: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>

Date: Sat, 23 Dec 2023 13:26:01 UTC

Severity: normal

Tags: patch

Done: Mathieu Othacehe <othacehe <at> gnu.org>

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 67989 in the body.
You can then email your comments to 67989 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#67989; Package guix-patches. (Sat, 23 Dec 2023 13:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 23 Dec 2023 13:26:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/2] gnu: fzy: Fix cross-compilation
Date: Sat, 23 Dec 2023 21:23:56 +0800
gnu: fzy: Fix cross-compilation

Zheng Junjie (2):
  gnu: fzy: Use Gexps.
  gnu: fzy: Fix cross-compilation.

 gnu/packages/shellutils.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)


base-commit: 2bf5102aacaaf59af537e6d5b5565a0ebea5c267
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#67989; Package guix-patches. (Sat, 23 Dec 2023 15:33:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 67989 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: fzy: Fix cross-compilation.
Date: Sat, 23 Dec 2023 23:31:36 +0800
* gnu/packages/shellutils.scm (fzy)[arguments]: Use cc-for-target.

Change-Id: Ic9e929ce3e85ec07f44ae7f8597a02a64edd5bf5
---
 gnu/packages/shellutils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index a5c4f27aa6..9993c0b807 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -554,7 +554,7 @@ (define-public fzy
     (build-system gnu-build-system)
     (arguments
      (list #:make-flags
-           #~(list "CC=gcc"
+           #~(list (string-append "CC=" #$(cc-for-target))
                    (string-append "PREFIX=" #$output))
            #:phases
            #~(modify-phases %standard-phases
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#67989; Package guix-patches. (Sat, 23 Dec 2023 15:33:02 GMT) Full text and rfc822 format available.

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

From: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
To: 67989 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: fzy: Use Gexps.
Date: Sat, 23 Dec 2023 23:31:35 +0800
* gnu/packages/shellutils.scm (fzy)[arguments]: Use Gexps.

Change-Id: Ic9e929ce3e85ec07f44ae7f8597a02a64edd5bf5
---
 gnu/packages/shellutils.scm | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/shellutils.scm b/gnu/packages/shellutils.scm
index f010a50538..a5c4f27aa6 100644
--- a/gnu/packages/shellutils.scm
+++ b/gnu/packages/shellutils.scm
@@ -17,6 +17,7 @@
 ;;; Copyright © 2022 Jose G Perez Taveras <josegpt27 <at> gmail.com>
 ;;; Copyright © 2023 Timo Wilken <guix <at> twilken.net>
 ;;; Copyright © 2023 Camilo Q.S. (Distopico) <distopico <at> riseup.net>
+;;; Copyright © 2023 Zheng Junjie <873216071 <at> qq.com>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -552,11 +553,12 @@ (define-public fzy
          "1gkzdvj73f71388jvym47075l9zw61v6l8wdv2lnc0mns6dxig0k"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:make-flags (list "CC=gcc"
-                          (string-append "PREFIX=" (assoc-ref %outputs "out")))
-       #:phases
-       (modify-phases %standard-phases
-         (delete 'configure))))
+     (list #:make-flags
+           #~(list "CC=gcc"
+                   (string-append "PREFIX=" #$output))
+           #:phases
+           #~(modify-phases %standard-phases
+               (delete 'configure))))
     (home-page "https://github.com/jhawthorn/fzy")
     (synopsis "Fast fuzzy text selector for the terminal with an advanced
 scoring algorithm")
-- 
2.41.0





Reply sent to Mathieu Othacehe <othacehe <at> gnu.org>:
You have taken responsibility. (Sat, 23 Dec 2023 15:47:02 GMT) Full text and rfc822 format available.

Notification sent to Zheng Junjie <zhengjunjie <at> iscas.ac.cn>:
bug acknowledged by developer. (Sat, 23 Dec 2023 15:47:02 GMT) Full text and rfc822 format available.

Message #16 received at 67989-done <at> debbugs.gnu.org (full text, mbox):

From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Zheng Junjie <zhengjunjie <at> iscas.ac.cn>
Cc: 67989-done <at> debbugs.gnu.org
Subject: Re: [bug#67989] [PATCH 2/2] gnu: fzy: Fix cross-compilation.
Date: Sat, 23 Dec 2023 16:46:04 +0100
Applied the series,

Thanks,

Mathieu




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

This bug report was last modified 1 year and 150 days ago.

Previous Next


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