From unknown Wed Jun 18 23:06:07 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#76050 <76050@debbugs.gnu.org> To: bug#76050 <76050@debbugs.gnu.org> Subject: Status: [PATCH] gnu: libxcb: Fix build for Hurd. Reply-To: bug#76050 <76050@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:06:07 +0000 retitle 76050 [PATCH] gnu: libxcb: Fix build for Hurd. reassign 76050 guix-patches submitter 76050 iyzsong@envs.net severity 76050 normal tag 76050 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 04 07:41:53 2025 Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 12:41:53 +0000 Received: from localhost ([127.0.0.1]:43034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfIFV-0008PK-0X for submit@debbugs.gnu.org; Tue, 04 Feb 2025 07:41:53 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38918) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfIFR-0008P1-Uh for submit@debbugs.gnu.org; Tue, 04 Feb 2025 07:41:50 -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 1tfIFI-0006AM-EH for guix-patches@gnu.org; Tue, 04 Feb 2025 07:41:40 -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 1tfIFE-0008EF-Lr for guix-patches@gnu.org; Tue, 04 Feb 2025 07:41:39 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id 7537F38A3EBD; Tue, 4 Feb 2025 12:41:33 +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 AlQl1aV6Ybu4; Tue, 4 Feb 2025 12:41:29 +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 12:41:28 +0000 (UTC) Received: from localhost.localdomain (localhost.lan [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 6457c57f; Tue, 4 Feb 2025 12:45:10 +0000 (UTC) From: iyzsong@envs.net To: guix-patches@gnu.org Subject: [PATCH] gnu: libxcb: Fix build for Hurd. Date: Tue, 4 Feb 2025 20:45:07 +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-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: 宋文武 * gnu/packages/xorg.scm (libxcb) [propagated-inputs]: Add libpthread-stubs when targeting hurd. [arguments]: Add fix-PATH_MAX phase when targeting hurd. Authored-by: yelninei on IRC. Change-Id: Id673045c0c1a94a2d63bac7ea10a49174131d0ed --- gnu/packages/xorg.scm | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 22e576395a..5cdc3a215e 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5045,7 +5045,10 @@ (define-public libxcb (build-system gnu-build-system) (outputs '("out" "doc")) ;5.5 MiB of man pages (propagated-inputs - (list libxau libxdmcp)) + (append (list libxau libxdmcp) + (if (target-hurd?) + (list libpthread-stubs) ;still checked on Hurd + '()))) (inputs (list xcb-proto check)) ;for tests @@ -5056,7 +5059,15 @@ (define-public libxcb "--disable-static" (string-append "--mandir=" (assoc-ref %outputs "doc") - "/share/man")))) + "/share/man")) + #:phases ,(if (target-hurd?) + '(modify-phases %standard-phases + (add-after 'unpack 'fix-PATH_MAX + (lambda _ + ;; Hurd doesn't define PATH_MAX. + (substitute* "src/xcb_util.c" + (("PATH_MAX") "4096"))))) + '%standard-phases))) (home-page "https://xcb.freedesktop.org/") (synopsis "The X C Binding (XCB) library") (description base-commit: 4fa41a04802c43dc4c064b7ac4c2e6a4e92f63b6 prerequisite-patch-id: c6037eae461ad0d2c2229c9dd69de59b8a86827a -- 2.48.1 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 04 07:50:18 2025 Received: (at submit) by debbugs.gnu.org; 4 Feb 2025 12:50:18 +0000 Received: from localhost ([127.0.0.1]:43069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfINd-0000R8-RI for submit@debbugs.gnu.org; Tue, 04 Feb 2025 07:50:18 -0500 Received: from lists.gnu.org ([2001:470:142::17]:59450) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfINb-0000P6-AB for submit@debbugs.gnu.org; Tue, 04 Feb 2025 07:50:15 -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 1tfINU-0008Ap-JM for guix-patches@gnu.org; Tue, 04 Feb 2025 07:50:08 -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 1tfINS-00027s-Hq; Tue, 04 Feb 2025 07:50:06 -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=h48bXd0leDN7jeT+i2XmMH6mkE2fbMn7dNt5aak92zI=; b=MXrFYY78WNuzjeZSvMOz ZWIi9z3vrtouDl4cmQ5h65nETrsawX951vMC7eSBKAt0svecy3WvssXB1htsm9y+sg5uJmAuv6WlQ kO9k6+ShtxbOrDo5EwWLiEVZEt+3y9MoOcUkpe42E0KbADzHpo4onHXU2dVF2PCpj+heM3SO5NViB mM1zgdAAJs3/qCN/L2oC3rQwW/ZIDkhB+faBS/Q18amxp86P7jqt9jCmbkMzIFsd4wrUBHxhd7M7K ga5IjX+wi2iMIYzUz+PLPPGb4sjIi2TjPWUUc3lhXvNt+4XGRlShmMzA6VXwzMNaDDAuIiSkMJ+n5 TXjYssG4tx5qJw==; From: Janneke Nieuwenhuizen To: iyzsong--- via Guix-patches via Subject: Re: [bug#76050] [PATCH] gnu: libxcb: Fix build for Hurd. In-Reply-To: (iyzsong's message of "Tue, 4 Feb 2025 20:45:07 +0800") Organization: AvatarAcademy.nl References: X-Url: http://AvatarAcademy.nl Date: Tue, 04 Feb 2025 13:49:56 +0100 Message-ID: <871pwdyivf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit Cc: =?utf-8?B?5a6L5paH5q2m?= , 76050@debbugs.gnu.org, iyzsong@envs.net 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 (-) iyzsong--- via Guix-patches via writes: Hello! > From: =E5=AE=8B=E6=96=87=E6=AD=A6 > > * gnu/packages/xorg.scm (libxcb) [propagated-inputs]: Add libpthread-stubs > when targeting hurd. > [arguments]: Add fix-PATH_MAX phase when targeting hurd. > > Authored-by: yelninei on IRC. > Change-Id: Id673045c0c1a94a2d63bac7ea10a49174131d0ed > --- > gnu/packages/xorg.scm | 15 +++++++++++++-- > 1 file changed, 13 insertions(+), 2 deletions(-) > > diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm > index 22e576395a..5cdc3a215e 100644 > --- a/gnu/packages/xorg.scm > +++ b/gnu/packages/xorg.scm Please add a Copyright line. + ;;; Copyright =C2=A9 2025 Sou Bunnbu Otherwise LGTM! Greetings, Janneke --=20 Janneke Nieuwenhuizen | GNU LilyPond https://LilyPond.org Freelance IT https://www.JoyOfSource.com | Avatar=C2=AE https://AvatarAcade= my.com From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 04 08:39:41 2025 Received: (at 76050-done) by debbugs.gnu.org; 4 Feb 2025 13:39:41 +0000 Received: from localhost ([127.0.0.1]:43161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfJ9Q-0002h0-SP for submit@debbugs.gnu.org; Tue, 04 Feb 2025 08:39:41 -0500 Received: from mail.envs.net ([5.199.136.28]:47052) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfJ9O-0002gp-HI for 76050-done@debbugs.gnu.org; Tue, 04 Feb 2025 08:39:39 -0500 Received: from localhost (mail.envs.net [127.0.0.1]) by mail.envs.net (Postfix) with ESMTP id DBBAB38A3EBD; Tue, 4 Feb 2025 13:39:35 +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 eUKTrIsoFS6J; Tue, 4 Feb 2025 13:39:31 +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:39:30 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 6a71ad30; Tue, 4 Feb 2025 13:43:13 +0000 (UTC) From: =?utf-8?B?5a6L5paH5q2m?= To: Janneke Nieuwenhuizen Subject: Re: [bug#76050] [PATCH] gnu: libxcb: Fix build for Hurd. In-Reply-To: <871pwdyivf.fsf@gnu.org> (Janneke Nieuwenhuizen's message of "Tue, 04 Feb 2025 13:49:56 +0100") References: <871pwdyivf.fsf@gnu.org> Date: Tue, 04 Feb 2025 21:43:13 +0800 Message-ID: <877c65q0zy.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: 76050-done Cc: =?utf-8?B?5a6L5paH5q2m?= , 76050-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: -1.0 (-) > Otherwise LGTM! > > Greetings, > Janneke Pushed to master, thank you for the review! From unknown Wed Jun 18 23:06:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 05 Mar 2025 12:24:13 +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