From unknown Wed Jun 18 23:09:57 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#54686 <54686@debbugs.gnu.org> To: bug#54686 <54686@debbugs.gnu.org> Subject: Status: [PATCH] gnu: nss-certs: Use G-Expression. Reply-To: bug#54686 <54686@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:09:57 +0000 retitle 54686 [PATCH] gnu: nss-certs: Use G-Expression. reassign 54686 guix-patches submitter 54686 Brian Kubisiak severity 54686 normal tag 54686 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 02 20:49:30 2022 Received: (at submit) by debbugs.gnu.org; 3 Apr 2022 00:49:30 +0000 Received: from localhost ([127.0.0.1]:47153 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naoQr-0005Rv-So for submit@debbugs.gnu.org; Sat, 02 Apr 2022 20:49:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:35954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1naoQr-0005Ro-7H for submit@debbugs.gnu.org; Sat, 02 Apr 2022 20:49:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1naoQr-00049W-0A for guix-patches@gnu.org; Sat, 02 Apr 2022 20:49:29 -0400 Received: from mn-69-69-108-139.sta.embarqhsd.net ([69.69.108.139]:1455 helo=mail.kubisiak.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1naoQp-0005bc-EG for guix-patches@gnu.org; Sat, 02 Apr 2022 20:49:28 -0400 Received: from peregrine (108-237-41-25.lightspeed.sntcca.sbcglobal.net [108.237.41.25]) by mail.kubisiak.com with ESMTPSA (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256) ; Sat, 2 Apr 2022 19:49:09 -0500 Date: Sat, 2 Apr 2022 17:49:15 -0700 From: Brian Kubisiak To: guix-patches@gnu.org Subject: [PATCH] gnu: nss-certs: Use G-Expression. Message-ID: <20220403004915.rzqmwkqkags4adf6@peregrine> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=69.69.108.139; envelope-from=brian@kubisiak.com; helo=mail.kubisiak.com X-Spam_score_int: -8 X-Spam_score: -0.9 X-Spam_bar: / X-Spam_report: (-0.9 / 5.0 requ) BAYES_00=-1.9, PDS_RDNS_DYNAMIC_FP=0.001, RDNS_DYNAMIC=0.982, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit 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.4 (--) This fixes cross-compilation for aarch64-linux-gnu. * gnu/packages/certs.scm (nss-certs)[arguments]: Use a gexp to remove references to %output. --- gnu/packages/certs.scm | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/gnu/packages/certs.scm b/gnu/packages/certs.scm index 28c2f84f98..8f762f2966 100644 --- a/gnu/packages/certs.scm +++ b/gnu/packages/certs.scm @@ -28,6 +28,7 @@ (define-module (gnu packages certs) #:use-module (guix packages) #:use-module (guix utils) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix build-system copy) #:use-module (guix build-system gnu) @@ -164,21 +165,21 @@ (define-public nss-certs (rnrs io ports) (srfi srfi-26)) #:phases - (modify-phases - (map (cut assq <> %standard-phases) - '(set-paths install-locale unpack)) - (add-after 'unpack 'install - (lambda _ - (let ((certsdir (string-append %output "/etc/ssl/certs/"))) - (with-directory-excursion "nss/lib/ckfw/builtins/" - (unless (file-exists? "blacklist.txt") - (call-with-output-file "blacklist.txt" (const #t))) - ;; Extract selected single certificates from blob. - (invoke "certdata2pem") - ;; Copy .pem files into the output. - (for-each (cut install-file <> certsdir) - (find-files "." ".*\\.pem$"))) - (invoke "openssl" "rehash" certsdir))))))) + ,#~(modify-phases + (map (cut assq <> %standard-phases) + '(set-paths install-locale unpack)) + (add-after 'unpack 'install + (lambda _ + (let ((certsdir (string-append #$output "/etc/ssl/certs/"))) + (with-directory-excursion "nss/lib/ckfw/builtins/" + (unless (file-exists? "blacklist.txt") + (call-with-output-file "blacklist.txt" (const #t))) + ;; Extract selected single certificates from blob. + (invoke "certdata2pem") + ;; Copy .pem files into the output. + (for-each (cut install-file <> certsdir) + (find-files "." ".*\\.pem$"))) + (invoke "openssl" "rehash" certsdir))))))) (synopsis "CA certificates from Mozilla") (description "This package provides certificates for Certification Authorities (CA) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Mon May 02 16:24:27 2022 Received: (at 54686-done) by debbugs.gnu.org; 2 May 2022 20:24:27 +0000 Received: from localhost ([127.0.0.1]:38063 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlcap-0000hM-0c for submit@debbugs.gnu.org; Mon, 02 May 2022 16:24:27 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34630) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlcan-0000hB-Ni for 54686-done@debbugs.gnu.org; Mon, 02 May 2022 16:24:26 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:36740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlcai-0000VA-F6; Mon, 02 May 2022 16:24:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=LTRj0cf/DG4OTQMAe/e2YGVVBd7TjmXnnEqb4sua4v4=; b=TMxFTzo1NZaHzPGhQANN IHyq7u0yxV6RF2AVnDIoIQj7rT6qaG9XPHUKD8TMsQPO7siKNxbYc5k4aQpqYwiKb+GgueiHZhtxd slugXHP6576HUWSs74KNc2oj7Mc1D3Mn1Zw79bdbsx7kdVLV0HlhJPL7EJzExRCTy3JhigODmn6if PgPtUeLtcaF6u8tPrq1XYDNJTktEadU0tyrEp2GaHd1H400AOzEbMNNiKOAgHHHHRYoQWqlgBw0N3 i90EiX6B08zU+EgGwRd7AknI+/YXEwTUqTf8Ee4KFcr5F4am3OJMIEA1thbwV4FxCAzQIWxpyM7ZY W9R6QdFDz0P5YQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55256 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlcai-0007bn-2v; Mon, 02 May 2022 16:24:20 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Brian Kubisiak Subject: Re: bug#54686: [PATCH] gnu: nss-certs: Use G-Expression. References: <20220403004915.rzqmwkqkags4adf6@peregrine> Date: Mon, 02 May 2022 22:24:18 +0200 In-Reply-To: <20220403004915.rzqmwkqkags4adf6@peregrine> (Brian Kubisiak's message of "Sat, 2 Apr 2022 17:49:15 -0700") Message-ID: <8735hrsmx9.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 54686-done Cc: 54686-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 (---) Hi, Brian Kubisiak skribis: > This fixes cross-compilation for aarch64-linux-gnu. > > * gnu/packages/certs.scm (nss-certs)[arguments]: Use a gexp to remove > references to %output. I resolved the merge conflict and applied to =E2=80=98staging=E2=80=99 (the cross-compilation issue was fixed in 5389c5ea57dd17e19412f38dc448b0a5114a3579.) Thanks, Ludo=E2=80=99. From unknown Wed Jun 18 23:09:57 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 31 May 2022 11:24:11 +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