From unknown Sun Jun 22 11:43:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67861] [PATCH] gnu: cryptsetup: Fix cross-compilation. Resent-From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 16 Dec 2023 23:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 67861 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67861@debbugs.gnu.org Cc: Leo =?UTF-8?Q?Nikkil=C3=A4?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170276761311406 (code B ref -1); Sat, 16 Dec 2023 23:01:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Dec 2023 23:00:13 +0000 Received: from localhost ([127.0.0.1]:56314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEddk-0002wX-U6 for submit@debbugs.gnu.org; Sat, 16 Dec 2023 18:00:13 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEddj-0002aC-A5 for submit@debbugs.gnu.org; Sat, 16 Dec 2023 18:00:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEddd-0003Og-51 for guix-patches@gnu.org; Sat, 16 Dec 2023 18:00:05 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEddb-0001HF-IM for guix-patches@gnu.org; Sat, 16 Dec 2023 18:00:04 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ED7125C00EF; Sat, 16 Dec 2023 18:00:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 16 Dec 2023 18:00:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1702767602; x=1702854002; bh=80 SdwNszDQyUDPwoJ0Mn9H6CaDbBwBBD5Ka3Kn3N0yY=; b=j11+8/jfo3lnhB0Ni/ PzzlM/rvRjUTWiY8QDM9yxR2hQp51KZB6NjuMkDLphatk/jD5iQHsgsI0ClPqBIo 79py05aNU5rI8wBxwEjoXpwJGTlug2mb0hjzP6n5CxHMLGNQodi0nC72/dHnOAk3 AmPTys+FdPbo4HXs/c6thmaAX80MtloXcKR7NNAgqW7ErlglcEpjD/dJQtR6aB4c Whzrv+j/WQCunKcu+hBtHshMah5wCnBuDDi9mSMsLM5Sy1UvrhTFop79aFzCFaoQ i8hDmMaltgS/lB1Z/ehZdKmgtWgEGvD4Fa3EF4MCGFLGJciD1pmUdjsTQEQUx3Bf JB0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1702767602; x=1702854002; bh=80SdwNszDQyUD PwoJ0Mn9H6CaDbBwBBD5Ka3Kn3N0yY=; b=jP1KT4A3MtmAmit8SVn3FvNxP6Rmc lFMk6uqZeiYZBaA0p7Y91ZGGjzWSlMkX2exfdaxTp7DFSTJjecbfQEYLjmLRHr9d DQj0fmkckvqBqLZnAS26N+UZO5rn85Np07CaOtkbK0aKGD+dGsiZY+xGDgoBMnQ3 yn0Ooi0jvHQx1mZBH1lB/YSb3HzTvnGro9PTvmGo9Y7V42dj7DplpNu3ukekeYTp o/h4voRvZ1YijvDjiLwFGtHTUjfH4Oai7OwoAdTdZD4O19eAFeIWBCI/PZKYj30b 3DLCMUhKv8q/+8tuMlF4Q4Nw0bzMl65r8Hf/9mlTGHM9/yC0K5d3lzEOA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddthedgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffogggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeefhefghfelfeefkeetheelieethfehvdelff eiueehieeuieevudfhueeuffefudenucffohhmrghinhepghhnuhdrohhrghenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehlnh hikhhkihdrlhgr X-ME-Proxy: Feedback-ID: i41f146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 16 Dec 2023 18:00:01 -0500 (EST) From: Leo =?UTF-8?Q?Nikkil=C3=A4?= Date: Sun, 17 Dec 2023 00:59:29 +0200 Message-ID: <20231216225957.5259-1-hello@lnikki.la> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.25; envelope-from=hello@lnikki.la; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * 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. + ;; + (string-append "--with-libgcrypt-prefix=" + (assoc-ref %build-inputs "libgcrypt"))))) (native-inputs (list pkg-config)) (inputs -- 2.41.0 From unknown Sun Jun 22 11:43:48 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#67861] [PATCH] gnu: cryptsetup: Fix cross-compilation. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 23 Dec 2023 09:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67861 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo =?UTF-8?Q?Nikkil=C3=A4?= Cc: 67861@debbugs.gnu.org Received: via spool by 67861-submit@debbugs.gnu.org id=B67861.170332379932754 (code B ref 67861); Sat, 23 Dec 2023 09:30:02 +0000 Received: (at 67861) by debbugs.gnu.org; 23 Dec 2023 09:29:59 +0000 Received: from localhost ([127.0.0.1]:48555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGyKU-0008WE-NI for submit@debbugs.gnu.org; Sat, 23 Dec 2023 04:29:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGyKS-0008Vx-2I for 67861@debbugs.gnu.org; Sat, 23 Dec 2023 04:29:57 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGyKH-0001CW-IO; Sat, 23 Dec 2023 04:29:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=bfRovhY7CQucEgFY/Ut//2mwIdSSo2qtbIMqyXzQBl0=; b=jZPt/1dM4iHhIECXpGoO 0ltcAWOXwyvl2d1aExhgKa6+PghR6r88ONbAq2nKZdw1UEzWJMYo0JabfI9kgEzhU1K17rvH8yVrt QJcWXYGKX+vSJ+Io3NKEfCRYvONxrjgcojLz+Bk6E/Qx1ii7NBnMvQb27yFPcXNRM3ja4bZMPEPP4 mlp9xEqHvdJjkbFhyMnOpz4qM1vvEDhLqM4tzEwT4KGTpUMSV2jM84b7fqmzSpzDzykehCdd3ewpL 5I2Zelf6veob2qd0HtXV/lVk/WSkND5AOCBBimH2POmVRPiZEalFjshim2rm7qPjavK0Y05oOLr71 b4FSyqSI+hz3RA==; From: Mathieu Othacehe In-Reply-To: <20231216225957.5259-1-hello@lnikki.la> ("Leo =?UTF-8?Q?Nikkil=C3=A4?="'s message of "Sun, 17 Dec 2023 00:59:29 +0200") References: <20231216225957.5259-1-hello@lnikki.la> Date: Sat, 23 Dec 2023 10:29:41 +0100 Message-ID: <87le9ltgfu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, > + (string-append "--with-libgcrypt-prefix=" > + (assoc-ref %build-inputs "libgcrypt"))))) When cross-compiling to aarch64-linux-gnu, it allows to go past the initial configure error, but then I have the following issue when linking: --8<---------------cut here---------------start------------->8--- aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.so when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.a when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/../lib/libargon2.so when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/../lib/libargon2.a when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.so when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.a when searching for -largon2 aarch64-linux-gnu-ld: cannot find -largon2: No such file or directory aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.so when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/../lib/libargon2.so when searching for -largon2 aarch64-linux-gnu-ld: skipping incompatible /gnu/store/vyylh2848g1k9yn3r5avvd1c1xcwh8hg-argon2-20190702/lib/libargon2.so when searching for -largon2 collect2: error: ld returned 1 exit status --8<---------------cut here---------------end--------------->8--- Thanks, Mathieu From unknown Sun Jun 22 11:43:48 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Leo =?UTF-8?Q?Nikkil=C3=A4?= Subject: bug#67861: closed (Re: [bug#67861] [PATCH] gnu: cryptsetup: Fix cross-compilation.) Message-ID: References: <87il4ptgcg.fsf@gnu.org> <20231216225957.5259-1-hello@lnikki.la> X-Gnu-PR-Message: they-closed 67861 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 67861@debbugs.gnu.org Date: Sat, 23 Dec 2023 09:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1703323922-10655-1" This is a multi-part message in MIME format... ------------=_1703323922-10655-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #67861: [PATCH] gnu: cryptsetup: Fix cross-compilation. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 67861@debbugs.gnu.org. --=20 67861: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D67861 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1703323922-10655-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 67861-done) by debbugs.gnu.org; 23 Dec 2023 09:31:58 +0000 Received: from localhost ([127.0.0.1]:48561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGyMQ-0002lc-84 for submit@debbugs.gnu.org; Sat, 23 Dec 2023 04:31:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGyMN-0002lN-W6 for 67861-done@debbugs.gnu.org; Sat, 23 Dec 2023 04:31:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rGyMD-00034u-IH; Sat, 23 Dec 2023 04:31:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=D8WFfK7GzJLZRU/uqRcOdh2yQ96zgLhIX0bnNWpmnmk=; b=mxrvrovtHoyALNbzj+kt Xx2kdUcgFZW5xkKjloV/Ds2MFlCBuuCNRGT6r2het7wYM6Y42benH0/HbS3fzfS63vQlfwYiU7oop pOnUhHNUuZ8xb83cakEJqhYOb19Z5w0WqCo5TDJ9Wn3zdv8psJRMPtY0BVlGZLa2TlK7peV+8P1Vg G8q4jC/XT6g8v5lN1Ow3JFYjhIoNRKtX2+HI3e1COjIsD+Nhog95d3xBfcSnwg1tnBHy8VuHtauDz uL5B1fPRPl2M1eMqSXNjQZNsWigtERUrFUsZv/mAWqYSLSptAu5okx5zWxKccB42U5WSaAVGt2Syl OxAwvXv7F6KpkQ==; From: Mathieu Othacehe To: Leo =?utf-8?Q?Nikkil=C3=A4?= Subject: Re: [bug#67861] [PATCH] gnu: cryptsetup: Fix cross-compilation. In-Reply-To: <87le9ltgfu.fsf@gnu.org> (Mathieu Othacehe's message of "Sat, 23 Dec 2023 10:29:41 +0100") References: <20231216225957.5259-1-hello@lnikki.la> <87le9ltgfu.fsf@gnu.org> Date: Sat, 23 Dec 2023 10:31:43 +0100 Message-ID: <87il4ptgcg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67861-done Cc: 67861-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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 ------------=_1703323922-10655-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Dec 2023 23:00:13 +0000 Received: from localhost ([127.0.0.1]:56314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEddk-0002wX-U6 for submit@debbugs.gnu.org; Sat, 16 Dec 2023 18:00:13 -0500 Received: from lists.gnu.org ([2001:470:142::17]:54436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEddj-0002aC-A5 for submit@debbugs.gnu.org; Sat, 16 Dec 2023 18:00:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEddd-0003Og-51 for guix-patches@gnu.org; Sat, 16 Dec 2023 18:00:05 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEddb-0001HF-IM for guix-patches@gnu.org; Sat, 16 Dec 2023 18:00:04 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id ED7125C00EF; Sat, 16 Dec 2023 18:00:02 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 16 Dec 2023 18:00:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lnikki.la; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:message-id:mime-version:reply-to :subject:subject:to:to; s=fm3; t=1702767602; x=1702854002; bh=80 SdwNszDQyUDPwoJ0Mn9H6CaDbBwBBD5Ka3Kn3N0yY=; b=j11+8/jfo3lnhB0Ni/ PzzlM/rvRjUTWiY8QDM9yxR2hQp51KZB6NjuMkDLphatk/jD5iQHsgsI0ClPqBIo 79py05aNU5rI8wBxwEjoXpwJGTlug2mb0hjzP6n5CxHMLGNQodi0nC72/dHnOAk3 AmPTys+FdPbo4HXs/c6thmaAX80MtloXcKR7NNAgqW7ErlglcEpjD/dJQtR6aB4c Whzrv+j/WQCunKcu+hBtHshMah5wCnBuDDi9mSMsLM5Sy1UvrhTFop79aFzCFaoQ i8hDmMaltgS/lB1Z/ehZdKmgtWgEGvD4Fa3EF4MCGFLGJciD1pmUdjsTQEQUx3Bf JB0A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; t=1702767602; x=1702854002; bh=80SdwNszDQyUD PwoJ0Mn9H6CaDbBwBBD5Ka3Kn3N0yY=; b=jP1KT4A3MtmAmit8SVn3FvNxP6Rmc lFMk6uqZeiYZBaA0p7Y91ZGGjzWSlMkX2exfdaxTp7DFSTJjecbfQEYLjmLRHr9d DQj0fmkckvqBqLZnAS26N+UZO5rn85Np07CaOtkbK0aKGD+dGsiZY+xGDgoBMnQ3 yn0Ooi0jvHQx1mZBH1lB/YSb3HzTvnGro9PTvmGo9Y7V42dj7DplpNu3ukekeYTp o/h4voRvZ1YijvDjiLwFGtHTUjfH4Oai7OwoAdTdZD4O19eAFeIWBCI/PZKYj30b 3DLCMUhKv8q/+8tuMlF4Q4Nw0bzMl65r8Hf/9mlTGHM9/yC0K5d3lzEOA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvddthedgtdeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevufffkffogggtgfesthekre dtredtjeenucfhrhhomhepnfgvohcupfhikhhkihhlmocuoehhvghllhhosehlnhhikhhk ihdrlhgrqeenucggtffrrghtthgvrhhnpeefhefghfelfeefkeetheelieethfehvdelff eiueehieeuieevudfhueeuffefudenucffohhmrghinhepghhnuhdrohhrghenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehlnh hikhhkihdrlhgr X-ME-Proxy: Feedback-ID: i41f146a7:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 16 Dec 2023 18:00:01 -0500 (EST) From: =?utf-8?Q?Leo=20Nikkil=C3=A4?= To: guix-patches@gnu.org Subject: [PATCH] gnu: cryptsetup: Fix cross-compilation. Date: Sun, 17 Dec 2023 00:59:29 +0200 Message-ID: <20231216225957.5259-1-hello@lnikki.la> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=66.111.4.25; envelope-from=hello@lnikki.la; helo=out1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Leo=20Nikkil=C3=A4?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * 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. + ;; + (string-append "--with-libgcrypt-prefix=" + (assoc-ref %build-inputs "libgcrypt"))))) (native-inputs (list pkg-config)) (inputs -- 2.41.0 ------------=_1703323922-10655-1--