From unknown Tue Aug 19 10:01:06 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#68323 <68323@debbugs.gnu.org> To: bug#68323 <68323@debbugs.gnu.org> Subject: Status: [PATCH] gnu: gnupg: Fix cross-compilation. Reply-To: bug#68323 <68323@debbugs.gnu.org> Date: Tue, 19 Aug 2025 17:01:06 +0000 retitle 68323 [PATCH] gnu: gnupg: Fix cross-compilation. reassign 68323 guix-patches submitter 68323 Mathieu Othacehe severity 68323 normal tag 68323 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 08 09:56:48 2024 Received: (at submit) by debbugs.gnu.org; 8 Jan 2024 14:56:48 +0000 Received: from localhost ([127.0.0.1]:37254 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMr3X-0005bu-U3 for submit@debbugs.gnu.org; Mon, 08 Jan 2024 09:56:48 -0500 Received: from lists.gnu.org ([2001:470:142::17]:42234) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rMr3T-0005bn-WC for submit@debbugs.gnu.org; Mon, 08 Jan 2024 09:56:46 -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 1rMr3I-0003OG-4C for guix-patches@gnu.org; Mon, 08 Jan 2024 09:56:32 -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 1rMr3G-0001G1-Tv; Mon, 08 Jan 2024 09:56:30 -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:Subject:To:From:in-reply-to: references; bh=DBOytvuAIEqpwlI4bBXBMiU5GiLX8v4TZ07+GX5WxWU=; b=Pno9DdGF55GjtL 3/qCAe9M+pB3lAqhx11FgWFhuuUScz2OGP1IC1aCYec1fYJOYCP2bpr1DMHAwXCcFrh6w3rAmC8l6 wGQLWBv34+RR4hSVXNSruucVGRtKhuXzSTRrD2ijH/H8fNLMJTaM8NsUaAlbuzsj/0fHnzK6omvgw oLxYl42g+nhzbbclmQBh1ZrKSQkb+znorFcmJ3y/BeEge5HZUh+VMjgOy6smziWHZdi3Ke/VslnuE 05AqK5jfUpjbCbi9xTZazVMRZ2d7UqlB0Chmq90xljflvkswVHdE+SJdudRjab2zbmXVjmU9UbMze ZtLGuOnS1r6RDpN8y2hA==; From: Mathieu Othacehe To: guix-patches@gnu.org Subject: [PATCH] gnu: gnupg: Fix cross-compilation. Date: Mon, 8 Jan 2024 15:56:14 +0100 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: Mathieu Othacehe , efraim@flashner.co.il 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: -1.0 (-) * gnu/packages/gnupg.scm (gnupg)[arguments]: Pass libraries prefixes when cross-crompiling. Change-Id: I461ba02ddf5bb23277bd6685c2106e4ad37e2184 Signed-off-by: Mathieu Othacehe --- gnu/packages/gnupg.scm | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/gnu/packages/gnupg.scm b/gnu/packages/gnupg.scm index a6ba57d7f3..a67eb5c691 100644 --- a/gnu/packages/gnupg.scm +++ b/gnu/packages/gnupg.scm @@ -345,11 +345,33 @@ (define-public gnupg zlib)) (arguments (list - #:configure-flags #~'(;; Otherwise, the test suite looks for the `gpg` - ;; executable in its installation directory in - ;; /gnu/store before it has been installed. - "--enable-gnupg-builddir-envvar" - "--enable-all-tests") + #:configure-flags + ;; Always use quasiquote on the next core-updates cycle. + #~(#$(if (%current-target-system) + #~quasiquote + #~quote) + (#$@(if (%current-target-system) + #~(,(string-append + "--with-libgpg-error-prefix=" + #$(this-package-input "libgpg-error")) + ,(string-append + "--with-libgcrypt-prefix=" + #$(this-package-input "libgcrypt")) + ,(string-append + "--with-libassuan-prefix=" + #$(this-package-input "libassuan")) + ,(string-append + "--with-ksba-prefix=" + #$(this-package-input "libksba")) + ,(string-append + "--with-npth-prefix=" + #$(this-package-input "npth"))) + #~()) + ;; Otherwise, the test suite looks for the `gpg` + ;; executable in its installation directory in + ;; /gnu/store before it has been installed. + "--enable-gnupg-builddir-envvar" + "--enable-all-tests")) #:phases #~(modify-phases %standard-phases (add-before 'configure 'patch-paths base-commit: 9018c6af4907c4532a95017df9f45d9439c30064 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 10 15:08:59 2024 Received: (at control) by debbugs.gnu.org; 10 Feb 2024 20:08:59 +0000 Received: from localhost ([127.0.0.1]:37850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYtek-0007DY-Tg for submit@debbugs.gnu.org; Sat, 10 Feb 2024 15:08:59 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rYtej-0007DC-NT for control@debbugs.gnu.org; Sat, 10 Feb 2024 15:08:58 -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 1rYteN-00065h-L7 for control@debbugs.gnu.org; Sat, 10 Feb 2024 15:08:35 -0500 Date: Sat, 10 Feb 2024 21:08:30 +0100 Message-Id: <877cjcm69t.fsf@meije.mail-host-address-is-not-set> To: control@debbugs.gnu.org From: Mathieu Othacehe Subject: control message for bug #68323 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control 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: -2.9 (--) close 68323 quit From unknown Tue Aug 19 10:01:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 10 Mar 2024 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator