GNU bug report logs - #67861
[PATCH] gnu: cryptsetup: Fix cross-compilation.

Previous Next

Package: guix-patches;

Reported by: Leo Nikkilä <hello <at> lnikki.la>

Date: Sat, 16 Dec 2023 23:01:02 UTC

Severity: normal

Tags: patch

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#67861: closed ([PATCH] gnu: cryptsetup: Fix cross-compilation.)
Date: Sat, 23 Dec 2023 09:32:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 23 Dec 2023 10:31:43 +0100
with message-id <87il4ptgcg.fsf <at> gnu.org>
and subject line Re: [bug#67861] [PATCH] gnu: cryptsetup: Fix cross-compilation.
has caused the debbugs.gnu.org bug report #67861,
regarding [PATCH] gnu: cryptsetup: Fix cross-compilation.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
67861: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=67861
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Nikkilä <hello <at> lnikki.la>
To: guix-patches <at> gnu.org
Cc: Leo Nikkilä <hello <at> lnikki.la>
Subject: [PATCH] gnu: cryptsetup: Fix cross-compilation.
Date: Sun, 17 Dec 2023 00:59:29 +0200
* gnu/packages/cryptsetup.scm (cryptsetup): Set explicit
`--with-libgcrypt-prefix' for cross-compilation.
---
 gnu/packages/cryptsetup.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index d8a6437259..3bdc68ae5a 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -53,7 +53,11 @@ (define-public cryptsetup
        ;; The default is OpenSSL which provides better PBKDF performance.
        "--with-crypto_backend=gcrypt"
        ;; GRUB 2.06 supports LUKS2, but does it reliably support all set-ups…?
-       "--with-default-luks-format=LUKS1")))
+       "--with-default-luks-format=LUKS1"
+       ;; libgcrypt is not found otherwise when cross-compiling.
+       ;; <https://issues.guix.gnu.org/63864>
+       (string-append "--with-libgcrypt-prefix="
+                      (assoc-ref %build-inputs "libgcrypt")))))
    (native-inputs
     (list pkg-config))
    (inputs
-- 
2.41.0



[Message part 3 (message/rfc822, inline)]
From: Mathieu Othacehe <othacehe <at> gnu.org>
To: Leo Nikkilä <hello <at> lnikki.la>
Cc: 67861-done <at> debbugs.gnu.org
Subject: Re: [bug#67861] [PATCH] gnu: cryptsetup: Fix cross-compilation.
Date: Sat, 23 Dec 2023 10:31:43 +0100
> aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.so when searching for -largon2

Oh, that's because I missed your patch on argon2.

Applied both of them,

Thanks,

Mathieu


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

Previous Next


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