GNU bug report logs - #58492
[PATCH] gnu: lziprecover: Fix cross-compilation.

Previous Next

Package: guix-patches;

Reported by: Christopher Baines <mail <at> cbaines.net>

Date: Thu, 13 Oct 2022 13:01:02 UTC

Severity: normal

Tags: patch

Done: Christopher Baines <mail <at> cbaines.net>

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 58492 in the body.
You can then email your comments to 58492 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#58492; Package guix-patches. (Thu, 13 Oct 2022 13:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Christopher Baines <mail <at> cbaines.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Thu, 13 Oct 2022 13:01:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: guix-patches <at> gnu.org
Subject: [PATCH] gnu: lziprecover: Fix cross-compilation.
Date: Thu, 13 Oct 2022 13:44:51 +0100
* gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross
compiling.
---
 gnu/packages/compression.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/compression.scm b/gnu/packages/compression.scm
index 684979018c..ba9f838130 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -653,6 +653,12 @@ (define-public lziprecover
                (base32
                 "0wmmyi03fv2lflsir5ldrsv04q57k3hmlqajzb1m3p86gwbh967j"))))
     (build-system gnu-build-system)
+    (arguments
+     ;; The configure script doesn't recognise the --build or --host
+     ;; arguments, so set CXX here
+     `(,@(if (%current-target-system)
+             `(#:make-flags (list ,(string-append "CXX=" (cxx-for-target))))
+             '())))
     (home-page "https://www.nongnu.org/lzip/lziprecover.html")
     (synopsis "Recover and decompress data from damaged lzip files")
     (description
-- 
2.37.3





Reply sent to Christopher Baines <mail <at> cbaines.net>:
You have taken responsibility. (Sun, 16 Oct 2022 18:34:02 GMT) Full text and rfc822 format available.

Notification sent to Christopher Baines <mail <at> cbaines.net>:
bug acknowledged by developer. (Sun, 16 Oct 2022 18:34:02 GMT) Full text and rfc822 format available.

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

From: Christopher Baines <mail <at> cbaines.net>
To: Christopher Baines <mail <at> cbaines.net>
Cc: 58492-done <at> debbugs.gnu.org
Subject: Re: [bug#58492] [PATCH] gnu: lziprecover: Fix cross-compilation.
Date: Sun, 16 Oct 2022 19:32:35 +0100
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:

> * gnu/packages/comression.scm (lziprecover)[arguments]: Set CXX when cross
> compiling.
> ---
>  gnu/packages/compression.scm | 6 ++++++
>  1 file changed, 6 insertions(+)

Pushed to master as c3e103129d1fac8460e4e01e46749a0a72248ead.
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Nov 2022 12:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 218 days ago.

Previous Next


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