From unknown Sun Jun 22 08:07:36 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#76049] [PATCH] gnu: hurd: Add libpciaccess-static. Resent-From: iyzsong@envs.net Original-Sender: "Debbugs-submit" Resent-CC: janneke@gnu.org, guix-patches@gnu.org Resent-Date: Tue, 04 Feb 2025 11:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 76049 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 76049@debbugs.gnu.org Cc: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= , Janneke Nieuwenhuizen X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Janneke Nieuwenhuizen Received: via spool by submit@debbugs.gnu.org id=B.17386692329480 (code B ref -1); Tue, 04 Feb 2025 11:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 11:40:32 +0000 Received: from localhost ([127.0.0.1]:42924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfHI7-0002Sp-Jk for submit@debbugs.gnu.org; Tue, 04 Feb 2025 06:40:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48110) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfHI4-0002SZ-Qy for submit@debbugs.gnu.org; Tue, 04 Feb 2025 06:40:29 -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 1tfHHv-0008LT-QF for guix-patches@gnu.org; Tue, 04 Feb 2025 06:40:21 -0500 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tfHHt-00066g-J6 for guix-patches@gnu.org; Tue, 04 Feb 2025 06:40:19 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id B3E8038A3E80; Tue, 4 Feb 2025 11:40:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pCwLj71YTd5j; Tue, 4 Feb 2025 11:40:10 +0000 (UTC) Received: from localhost (unknown [112.44.101.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 4 Feb 2025 11:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0116df80; Tue, 4 Feb 2025 11:43:50 +0000 (UTC) From: iyzsong@envs.net Date: Tue, 4 Feb 2025 19:43:40 +0800 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) 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.1 (/) From: 宋文武 This is a followup to 20a8d796f1e8ed3f2ff3344fcf4ab40a45bc3942, which broke hurd. * gnu/packages/hurd.scm (libpciaccess-static): New variable. (hurd, netdde) [inputs]: Replace libpciaccess with libpciaccess-static. Change-Id: Ifb2cc3d210cf4ce6f4798eac1e9643f1c75ba6fa --- gnu/packages/hurd.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 7a7f621e40..1045be31a3 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -311,6 +311,17 @@ (define %import-from-dde (define %add-to-hurd-subdirs (list "libmachdevdde" "libddekit")) +;;; A static libpciaccess is required by hurd and netdde. +(define libpciaccess-static + (package + (inherit libpciaccess) + (arguments + (substitute-keyword-arguments (package-arguments libpciaccess) + ((#:configure-flags flags) + #~(cons "-Ddefault_library=static" #$flags)))) + (propagated-inputs + (list zlib (list zlib "static"))))) + (define-public hurd (package (name "hurd") @@ -572,7 +583,7 @@ (define-public hurd `(("libgcrypt" ,libgcrypt) ;for /hurd/random ("libdaemon" ,libdaemon) ;for /bin/console --daemonize ("unifont" ,unifont) - ("libpciaccess" ,libpciaccess) + ("libpciaccess" ,libpciaccess-static) ;; For NFS support ("libtirpc" ,libtirpc/hurd) @@ -700,7 +711,7 @@ (define-public netdde (install-file "netdde" hurd) (install-file "netdde.static" hurd))))))) (inputs - (list hurd libpciaccess zlib `(,zlib "static"))) + (list hurd libpciaccess-static zlib `(,zlib "static"))) (native-inputs `(("coreutils" ,coreutils) ("gawk" ,gawk) base-commit: 4fa41a04802c43dc4c064b7ac4c2e6a4e92f63b6 -- 2.48.1 From unknown Sun Jun 22 08:07:36 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: iyzsong@envs.net Subject: bug#76049: closed (Re: [bug#76049] [PATCH] gnu: hurd: Add libpciaccess-static.) Message-ID: References: <8734gtq0z5.fsf@envs.net> X-Gnu-PR-Message: they-closed 76049 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 76049@debbugs.gnu.org Date: Tue, 04 Feb 2025 13:41:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1738676463-10933-1" This is a multi-part message in MIME format... ------------=_1738676463-10933-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #76049: [PATCH] gnu: hurd: Add libpciaccess-static. 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 76049@debbugs.gnu.org. --=20 76049: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D76049 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1738676463-10933-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 76049-done) by debbugs.gnu.org; 4 Feb 2025 13:40:09 +0000 Received: from localhost ([127.0.0.1]:43171 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfJ9t-0002n1-6a for submit@debbugs.gnu.org; Tue, 04 Feb 2025 08:40:09 -0500 Received: from mail.envs.net ([5.199.136.28]:53838) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfJ9r-0002kh-Aa for 76049-done@debbugs.gnu.org; Tue, 04 Feb 2025 08:40:07 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 8928E38A3EC3; Tue, 4 Feb 2025 13:40:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sx1xUjJDrZm3; Tue, 4 Feb 2025 13:40:02 +0000 (UTC) Received: from localhost (unknown [112.44.101.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 4 Feb 2025 13:40:01 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 12bebfcd; Tue, 4 Feb 2025 13:43:42 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: 76049-done@debbugs.gnu.org Subject: Re: [bug#76049] [PATCH] gnu: hurd: Add libpciaccess-static. In-Reply-To: (iyzsong@envs.net's message of "Tue, 4 Feb 2025 19:43:40 +0800") References: Date: Tue, 04 Feb 2025 21:43:42 +0800 Message-ID: <8734gtq0z5.fsf@envs.net> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 76049-done Cc: =?utf-8?B?5a6L5paH5q2m?= , Janneke Nieuwenhuizen 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 (-) Pushed to master, thanks. ------------=_1738676463-10933-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 11:40:32 +0000 Received: from localhost ([127.0.0.1]:42924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfHI7-0002Sp-Jk for submit@debbugs.gnu.org; Tue, 04 Feb 2025 06:40:31 -0500 Received: from lists.gnu.org ([2001:470:142::17]:48110) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfHI4-0002SZ-Qy for submit@debbugs.gnu.org; Tue, 04 Feb 2025 06:40:29 -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 1tfHHv-0008LT-QF for guix-patches@gnu.org; Tue, 04 Feb 2025 06:40:21 -0500 Received: from mail.envs.net ([5.199.136.28]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tfHHt-00066g-J6 for guix-patches@gnu.org; Tue, 04 Feb 2025 06:40:19 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id B3E8038A3E80; Tue, 4 Feb 2025 11:40:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at mail.envs.net Received: from mail.envs.net ([127.0.0.1]) by localhost (mail.envs.net [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id pCwLj71YTd5j; Tue, 4 Feb 2025 11:40:10 +0000 (UTC) Received: from localhost (unknown [112.44.101.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.envs.net (Postfix) with ESMTPSA; Tue, 4 Feb 2025 11:40:09 +0000 (UTC) Received: from localhost.localdomain (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 0116df80; Tue, 4 Feb 2025 11:43:50 +0000 (UTC) From: iyzsong@envs.net To: guix-patches@gnu.org Subject: [PATCH] gnu: hurd: Add libpciaccess-static. Date: Tue, 4 Feb 2025 19:43:40 +0800 Message-ID: X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Debbugs-Cc: Janneke Nieuwenhuizen Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=5.199.136.28; envelope-from=iyzsong@envs.net; helo=mail.envs.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?=E5=AE=8B=E6=96=87=E6=AD=A6?= 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.1 (/) From: 宋文武 This is a followup to 20a8d796f1e8ed3f2ff3344fcf4ab40a45bc3942, which broke hurd. * gnu/packages/hurd.scm (libpciaccess-static): New variable. (hurd, netdde) [inputs]: Replace libpciaccess with libpciaccess-static. Change-Id: Ifb2cc3d210cf4ce6f4798eac1e9643f1c75ba6fa --- gnu/packages/hurd.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 7a7f621e40..1045be31a3 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -311,6 +311,17 @@ (define %import-from-dde (define %add-to-hurd-subdirs (list "libmachdevdde" "libddekit")) +;;; A static libpciaccess is required by hurd and netdde. +(define libpciaccess-static + (package + (inherit libpciaccess) + (arguments + (substitute-keyword-arguments (package-arguments libpciaccess) + ((#:configure-flags flags) + #~(cons "-Ddefault_library=static" #$flags)))) + (propagated-inputs + (list zlib (list zlib "static"))))) + (define-public hurd (package (name "hurd") @@ -572,7 +583,7 @@ (define-public hurd `(("libgcrypt" ,libgcrypt) ;for /hurd/random ("libdaemon" ,libdaemon) ;for /bin/console --daemonize ("unifont" ,unifont) - ("libpciaccess" ,libpciaccess) + ("libpciaccess" ,libpciaccess-static) ;; For NFS support ("libtirpc" ,libtirpc/hurd) @@ -700,7 +711,7 @@ (define-public netdde (install-file "netdde" hurd) (install-file "netdde.static" hurd))))))) (inputs - (list hurd libpciaccess zlib `(,zlib "static"))) + (list hurd libpciaccess-static zlib `(,zlib "static"))) (native-inputs `(("coreutils" ,coreutils) ("gawk" ,gawk) base-commit: 4fa41a04802c43dc4c064b7ac4c2e6a4e92f63b6 -- 2.48.1 ------------=_1738676463-10933-1--