GNU bug report logs -
#58491
[PATCH] gnu: lzip: Fix cross-compilation.
Previous Next
Reported by: Christopher Baines <mail <at> cbaines.net>
Date: Thu, 13 Oct 2022 12:39: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 58491 in the body.
You can then email your comments to 58491 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#58491
; Package
guix-patches
.
(Thu, 13 Oct 2022 12:39: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 12:39:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Previously the package would build, but the binaries would be build for the
host system, rather than the target.
* gnu/packages/compression.scm (lzip)[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..dd0caa10ab 100644
--- a/gnu/packages/compression.scm
+++ b/gnu/packages/compression.scm
@@ -632,6 +632,12 @@ (define-public lzip
(base32
"0j59hx72258334rmkwn57ahr6s69nlrx0a5ip1jw2fbiwr12sd63"))))
(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/lzip.html")
(synopsis "Lossless data compressor based on the LZMA algorithm")
(description
--
2.37.3
Reply sent
to
Christopher Baines <mail <at> cbaines.net>
:
You have taken responsibility.
(Sun, 16 Oct 2022 18:33: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:33:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 58491-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Christopher Baines <mail <at> cbaines.net> writes:
> Previously the package would build, but the binaries would be build for the
> host system, rather than the target.
>
> * gnu/packages/compression.scm (lzip)[arguments]: Set CXX when cross
> compiling.
> ---
> gnu/packages/compression.scm | 6 ++++++
> 1 file changed, 6 insertions(+)
Pushed to master as 69bbb720db7a77b4a8cd2973fb8e9a794b3213d3.
[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 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.