From unknown Sun Sep 07 01:28: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#68084 <68084@debbugs.gnu.org> To: bug#68084 <68084@debbugs.gnu.org> Subject: Status: [PATCH] gnu: xcb-util-render-util: Fix cross-compiling to riscv64-linux. Reply-To: bug#68084 <68084@debbugs.gnu.org> Date: Sun, 07 Sep 2025 08:28:06 +0000 retitle 68084 [PATCH] gnu: xcb-util-render-util: Fix cross-compiling to ris= cv64-linux. reassign 68084 guix-patches submitter 68084 Zheng Junjie severity 68084 normal tag 68084 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 09:23:35 2023 Received: (at submit) by debbugs.gnu.org; 28 Dec 2023 14:23:35 +0000 Received: from localhost ([127.0.0.1]:38766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIrIN-00046F-2X for submit@debbugs.gnu.org; Thu, 28 Dec 2023 09:23:35 -0500 Received: from lists.gnu.org ([2001:470:142::17]:44992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIrII-00045v-Gy for submit@debbugs.gnu.org; Thu, 28 Dec 2023 09:23:33 -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 1rIrID-0003oy-Cj for guix-patches@gnu.org; Thu, 28 Dec 2023 09:23:25 -0500 Received: from smtp21.cstnet.cn ([159.226.251.21] helo=cstnet.cn) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1rIrIA-0004Pl-L1 for guix-patches@gnu.org; Thu, 28 Dec 2023 09:23:25 -0500 Received: from localhost.localdomain (unknown [183.247.5.190]) by APP-01 (Coremail) with SMTP id qwCowAC3v0PGg41lHqjBAQ--.34316S2; Thu, 28 Dec 2023 22:18:47 +0800 (CST) From: Zheng Junjie To: guix-patches@gnu.org Subject: [PATCH] gnu: xcb-util-render-util: Fix cross-compiling to riscv64-linux. Date: Thu, 28 Dec 2023 22:22:49 +0800 Message-ID: X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: qwCowAC3v0PGg41lHqjBAQ--.34316S2 X-Coremail-Antispam: 1UD129KBjvJXoW7CF1Dtr1UZrW5KFWxCr4Durg_yoW8Aw1kpF 4rCF1Utw1rJFyfAFWaq3WIg3WfWrZ7Cr45uw1xA34rJw4YyrW09F9xKr43tFnrArn7C3WU XFWkK3W5urW8GaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUy2b7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I 8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI 64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r1j6r18McIj6I8E87Iv67AKxVWUJVW8Jw Am72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I 3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxV WUGVWUWwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAF wI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcI k0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j 6r4UYxBIdaVFxhVjvjDU0xZFpf9x07bOoGdUUUUU= X-Originating-IP: [183.247.5.190] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ Received-SPF: pass client-ip=159.226.251.21; envelope-from=zhengjunjie@iscas.ac.cn; helo=cstnet.cn X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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: 0.9 (/) 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: -0.1 (/) * gnu/packages/xorg.scm (xcb-util-render-util) [native-inputs]: When cross compiling to riscv64-linux-gnu, add config. [arguments]: When target riscv64-linux-gnu, add update-config-scripts phase. Change-Id: I906a2b7b7691ae53592cfa35ba64fc7e7d735664 --- gnu/packages/xorg.scm | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 382075237a..4f85a5de8b 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5675,11 +5675,29 @@ (define-public xcb-util-renderutil "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static"))) + `(#:configure-flags '("--disable-static") + ,@(if (and (%current-target-system) + (target-riscv64?)) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-config-scripts + (lambda* (#:key inputs native-inputs #:allow-other-keys) + ;; Replace outdated config.guess and config.sub. + (for-each (lambda (file) + (install-file + (search-input-file + (or native-inputs inputs) + (string-append "/bin/" file)) ".")) + '("config.guess" "config.sub")))))) + '()))) (propagated-inputs (list libxcb)) (native-inputs - (list pkg-config)) + (append (if (and (%current-target-system) + (target-riscv64?)) + (list config) + '()) + (list pkg-config))) (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/") (synopsis "Convenience functions for the Render extension") (description base-commit: bc509aba838780502b83f7fc3d2aee72903656f2 prerequisite-patch-id: dfd1784933361e11899b06d065adaa69c6a41c85 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 28 09:26:57 2023 Received: (at 68084) by debbugs.gnu.org; 28 Dec 2023 14:26:57 +0000 Received: from localhost ([127.0.0.1]:38776 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIrLc-0004Bw-Ml for submit@debbugs.gnu.org; Thu, 28 Dec 2023 09:26:56 -0500 Received: from smtp21.cstnet.cn ([159.226.251.21]:45166 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rIrLZ-0004BX-5e for 68084@debbugs.gnu.org; Thu, 28 Dec 2023 09:26:55 -0500 Received: from localhost.localdomain (unknown [183.247.5.190]) by APP-01 (Coremail) with SMTP id qwCowAD3_r6ahI1lmtfBAQ--.45679S2; Thu, 28 Dec 2023 22:22:19 +0800 (CST) From: Zheng Junjie To: 68084@debbugs.gnu.org Subject: [PATCH v2] gnu: xcb-util-renderutil: Fix cross-compiling to riscv64-linux. Date: Thu, 28 Dec 2023 22:26:21 +0800 Message-ID: <62a602bce3e05800b7583bb8951395ee592a303c.1703773581.git.zhengjunjie@iscas.ac.cn> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: qwCowAD3_r6ahI1lmtfBAQ--.45679S2 X-Coremail-Antispam: 1UD129KBjvJXoW7WF47WFW7CF4rtr43ArWxXrb_yoW8Aw1DpF 4rCF1Utw1rJFyfAFWaq3WIg3WfWrZ7Cr45uw1xA34rJw4YyrW09F9xKr4ftFnrArn7C3WU XFWkK3W5urW8uaDanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUy2b7Iv0xC_Kw4lb4IE77IF4wAFF20E14v26r1j6r4UM7CY07I2 0VC2zVCF04k26cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rw A2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_Jr0_JF4l84ACjcxK6xII jxv20xvEc7CjxVAFwI0_Jr0_Gr1l84ACjcxK6I8E87Iv67AKxVWxJr0_GcWl84ACjcxK6I 8E87Iv6xkF7I0E14v26rxl6s0DM2AIxVAIcxkEcVAq07x20xvEncxIr21l5I8CrVACY4xI 64kE6c02F40Ex7xfMcIj6xIIjxv20xvE14v26r106r15McIj6I8E87Iv67AKxVWUJVW8Jw Am72CE4IkC6x0Yz7v_Jr0_Gr1lF7xvr2IYc2Ij64vIr41l42xK82IYc2Ij64vIr41l4I8I 3I0E4IkC6x0Yz7v_Jr0_Gr1lx2IqxVAqx4xG67AKxVWUJVWUGwC20s026x8GjcxK67AKxV WUGVWUWwC2zVAF1VAY17CE14v26r1j6r15MIIYrxkI7VAKI48JMIIF0xvE2Ix0cI8IcVAF wI0_Jr0_JF4lIxAIcVC0I7IYx2IY6xkF7I0E14v26r1j6r4UMIIF0xvE42xK8VAvwI8IcI k0rVWUJVWUCwCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E87Iv6xkF7I0E14v26r1j 6r4UYxBIdaVFxhVjvjDU0xZFpf9x07beJ5wUUUUU= X-Originating-IP: [183.247.5.190] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68084 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 (---) * gnu/packages/xorg.scm (xcb-util-renderutil) [native-inputs]: When cross compiling to riscv64-linux-gnu, add config. [arguments]: When target riscv64-linux-gnu, add update-config-scripts phase. Change-Id: I906a2b7b7691ae53592cfa35ba64fc7e7d735664 --- gnu/packages/xorg.scm | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index 382075237a..4f85a5de8b 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5675,11 +5675,29 @@ (define-public xcb-util-renderutil "0nza1csdvvxbmk8vgv8vpmq7q8h05xrw3cfx9lwxd1hjzd47xsf6")))) (build-system gnu-build-system) (arguments - '(#:configure-flags '("--disable-static"))) + `(#:configure-flags '("--disable-static") + ,@(if (and (%current-target-system) + (target-riscv64?)) + `(#:phases + (modify-phases %standard-phases + (add-after 'unpack 'update-config-scripts + (lambda* (#:key inputs native-inputs #:allow-other-keys) + ;; Replace outdated config.guess and config.sub. + (for-each (lambda (file) + (install-file + (search-input-file + (or native-inputs inputs) + (string-append "/bin/" file)) ".")) + '("config.guess" "config.sub")))))) + '()))) (propagated-inputs (list libxcb)) (native-inputs - (list pkg-config)) + (append (if (and (%current-target-system) + (target-riscv64?)) + (list config) + '()) + (list pkg-config))) (home-page "https://cgit.freedesktop.org/xcb/util-renderutil/") (synopsis "Convenience functions for the Render extension") (description base-commit: bc509aba838780502b83f7fc3d2aee72903656f2 prerequisite-patch-id: dfd1784933361e11899b06d065adaa69c6a41c85 -- 2.41.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 29 12:09:11 2023 Received: (at 68084-done) by debbugs.gnu.org; 29 Dec 2023 17:09:11 +0000 Received: from localhost ([127.0.0.1]:42145 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJGMB-000635-EN for submit@debbugs.gnu.org; Fri, 29 Dec 2023 12:09:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40690) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJGM6-00061m-Pt for 68084-done@debbugs.gnu.org; Fri, 29 Dec 2023 12:09:07 -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 1rJGM1-0007Mc-Gr; Fri, 29 Dec 2023 12:09:01 -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=wyHALtrs+qngtwsIbCvHTvHbZ76HdgTZ4Jg2iTFAbxw=; b=gYOh2EDopCeWkr/6Xrd0 sRN5NnxFJCQaevr+dZjXEvOlMWlVgivvv4qo1Tc5/2+o9yoSwL1hX+EEM5UIJXAtzB3cXW133bYOg Nb6yU+qDDZ5OAty49iMuuhN3NY85sKceFV1Mc4FQ2XTQ8rWS0or8xHzU4TlFgqDosGU5Jbv4BuLWL 4XFU7nSyOm3hhKF4BFNG7XkrYSFGhsPyE6bhYjz/16LyMNsMzBDukLda6+l3MA82NodJnqhwMWlZo n1ztIfDUrl+ZyT2uCm2Smn0Rk+CrHHzWe7Nb6Uvk+7yNKhUCuKND8beEWDfFlYnyyH/vFaxFUvu7o GsCMq0KelprHrw==; From: Mathieu Othacehe To: Zheng Junjie Subject: Re: [bug#68084] [PATCH v2] gnu: xcb-util-renderutil: Fix cross-compiling to riscv64-linux. In-Reply-To: <62a602bce3e05800b7583bb8951395ee592a303c.1703773581.git.zhengjunjie@iscas.ac.cn> (Zheng Junjie's message of "Thu, 28 Dec 2023 22:26:21 +0800") References: <62a602bce3e05800b7583bb8951395ee592a303c.1703773581.git.zhengjunjie@iscas.ac.cn> Date: Fri, 29 Dec 2023 18:08:57 +0100 Message-ID: <87r0j5os0m.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: 68084-done Cc: 68084-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 (---) > * gnu/packages/xorg.scm (xcb-util-renderutil) > [native-inputs]: When cross compiling to riscv64-linux-gnu, add config. > [arguments]: When target riscv64-linux-gnu, add update-config-scripts phase. Applied, thanks, Mathieu From unknown Sun Sep 07 01:28: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: Sat, 27 Jan 2024 12:24:12 +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