From unknown Sat Aug 09 13:00:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61039] [PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM architectures. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Jan 2023 17:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61039 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61039@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16745811899774 (code B ref -1); Tue, 24 Jan 2023 17:27:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2023 17:26:29 +0000 Received: from localhost ([127.0.0.1]:57487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKN41-0002Xa-EH for submit@debbugs.gnu.org; Tue, 24 Jan 2023 12:26:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:33160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKN3z-0002XS-N0 for submit@debbugs.gnu.org; Tue, 24 Jan 2023 12:26:28 -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 1pKN3y-0007Pa-Ba for guix-patches@gnu.org; Tue, 24 Jan 2023 12:26:26 -0500 Received: from mailout.easymail.ca ([64.68.200.34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKN3w-00081p-5t for guix-patches@gnu.org; Tue, 24 Jan 2023 12:26:26 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 5696367ECF for ; Tue, 24 Jan 2023 17:26:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S5S5J8jkRqyy for ; Tue, 24 Jan 2023 17:26:21 +0000 (UTC) Received: from localhost.localdomain (23-233-96-72.cpe.pppoe.ca [23.233.96.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id E70EE67D1E for ; Tue, 24 Jan 2023 17:26:20 +0000 (UTC) From: Simon South Date: Tue, 24 Jan 2023 12:26:13 -0500 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On core-updates, libdrm is failing to build on aarch64-linux with ../libdrm-2.4.114/meson.build:21:0: ERROR: Value "true" (of type "string") for combo option "Enable support for EXYNOS's experimental KMS API." is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto". This is due to a recent change in libdrm[0] that changed the type, and therefore the accepted values, of a number of build-configuration options. The patch to follow corrects this issue and allows libdrm to build again. (Note master and staging still provide an older version of libdrm and are unaffected.) Tested on x86-64 and AArch64 and everything appears fine. On x86-64, the same package output is produced with or without the patch applied. [0] In upstream commit 26eb15165b: https://cgit.freedesktop.org/drm/libdrm/commit/?id=26eb15165b767de50bef3c02abd29cec256cf4a1 -- Simon South simon@simonsouth.net Simon South (1): gnu: libdrm: Fix building on ARM architectures. gnu/packages/xdisorg.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) base-commit: ca124b098dcc7ce7898df10faf9986f44a14e0a1 -- 2.39.1 From unknown Sat Aug 09 13:00:40 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#61039] [PATCH core-updates 1/1] gnu: libdrm: Fix building on ARM architectures. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Jan 2023 17:30:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61039 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61039@debbugs.gnu.org Received: via spool by 61039-submit@debbugs.gnu.org id=B61039.167458134610036 (code B ref 61039); Tue, 24 Jan 2023 17:30:04 +0000 Received: (at 61039) by debbugs.gnu.org; 24 Jan 2023 17:29:06 +0000 Received: from localhost ([127.0.0.1]:57492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKN6X-0002bo-VA for submit@debbugs.gnu.org; Tue, 24 Jan 2023 12:29:06 -0500 Received: from mailout.easymail.ca ([64.68.200.34]:50070) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKN6W-0002bH-86 for 61039@debbugs.gnu.org; Tue, 24 Jan 2023 12:29:04 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id A707AE843D for <61039@debbugs.gnu.org>; Tue, 24 Jan 2023 17:28:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tPfn5wcbZTVp for <61039@debbugs.gnu.org>; Tue, 24 Jan 2023 17:28:58 +0000 (UTC) Received: from localhost.localdomain (23-233-96-72.cpe.pppoe.ca [23.233.96.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id 67926E8424 for <61039@debbugs.gnu.org>; Tue, 24 Jan 2023 17:28:58 +0000 (UTC) From: Simon South Date: Tue, 24 Jan 2023 12:28:56 -0500 Message-Id: <3a97f07646e9e938d86bf4b9a6690fa9cdc3c7ac.1674580043.git.simon@simonsouth.net> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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/xdisorg.scm (libdrm)[arguments]<#:configure-flags>: Update option values to match current version of libdrm. --- gnu/packages/xdisorg.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm index 9b45d51637..8f5c42030c 100644 --- a/gnu/packages/xdisorg.scm +++ b/gnu/packages/xdisorg.scm @@ -706,10 +706,10 @@ (define-public libdrm (list #:configure-flags (match (%current-system) ((or "armhf-linux" "aarch64-linux") - #~(list "-Dexynos=true" - "-Domap=true" - "-Detnaviv=true" - "-Dtegra=true" + #~(list "-Dexynos=enabled" + "-Domap=enabled" + "-Detnaviv=enabled" + "-Dtegra=enabled" "-Dfreedreno-kgsl=true")) (_ ''())) #:phases -- 2.39.1 From unknown Sat Aug 09 13:00:40 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: Simon South Subject: bug#61039: closed (Re: bug#61039: [PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM architectures.) Message-ID: References: <87y1h2tetu.fsf@simonsouth.net> X-Gnu-PR-Message: they-closed 61039 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 61039@debbugs.gnu.org Date: Tue, 19 Sep 2023 14:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1695133922-803-1" This is a multi-part message in MIME format... ------------=_1695133922-803-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #61039: [PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM architect= ures. 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 61039@debbugs.gnu.org. --=20 61039: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D61039 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1695133922-803-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 61039-done) by debbugs.gnu.org; 19 Sep 2023 14:32:00 +0000 Received: from localhost ([127.0.0.1]:57617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qiblg-0000Ck-8G for submit@debbugs.gnu.org; Tue, 19 Sep 2023 10:32:00 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:55370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qibla-0000CR-QW for 61039-done@debbugs.gnu.org; Tue, 19 Sep 2023 10:31:58 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 72F57E319E for <61039-done@debbugs.gnu.org>; Tue, 19 Sep 2023 14:31:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo08-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo08-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id drncIBddcQ0O for <61039-done@debbugs.gnu.org>; Tue, 19 Sep 2023 14:31:10 +0000 (UTC) Received: from earth (23-233-96-210.cpe.pppoe.ca [23.233.96.210]) (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 mailout.easymail.ca (Postfix) with ESMTPSA id 29174E2F71 for <61039-done@debbugs.gnu.org>; Tue, 19 Sep 2023 14:31:10 +0000 (UTC) From: Simon South To: 61039-done@debbugs.gnu.org Subject: Re: bug#61039: [PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM architectures. References: Date: Tue, 19 Sep 2023 10:31:09 -0400 In-Reply-To: (Simon South's message of "Tue, 24 Jan 2023 12:26:13 -0500") Message-ID: <87y1h2tetu.fsf@simonsouth.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 61039-done 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 (---) This issue was resolved with commit 62ff0b9086, "gnu: libdrm: Update configure-flags." -- Simon South simon@simonsouth.net ------------=_1695133922-803-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 24 Jan 2023 17:26:29 +0000 Received: from localhost ([127.0.0.1]:57487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKN41-0002Xa-EH for submit@debbugs.gnu.org; Tue, 24 Jan 2023 12:26:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:33160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pKN3z-0002XS-N0 for submit@debbugs.gnu.org; Tue, 24 Jan 2023 12:26:28 -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 1pKN3y-0007Pa-Ba for guix-patches@gnu.org; Tue, 24 Jan 2023 12:26:26 -0500 Received: from mailout.easymail.ca ([64.68.200.34]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKN3w-00081p-5t for guix-patches@gnu.org; Tue, 24 Jan 2023 12:26:26 -0500 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 5696367ECF for ; Tue, 24 Jan 2023 17:26:21 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo09-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo09-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S5S5J8jkRqyy for ; Tue, 24 Jan 2023 17:26:21 +0000 (UTC) Received: from localhost.localdomain (23-233-96-72.cpe.pppoe.ca [23.233.96.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id E70EE67D1E for ; Tue, 24 Jan 2023 17:26:20 +0000 (UTC) From: Simon South To: guix-patches@gnu.org Subject: [PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM architectures. Date: Tue, 24 Jan 2023 12:26:13 -0500 Message-Id: X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca 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_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) On core-updates, libdrm is failing to build on aarch64-linux with ../libdrm-2.4.114/meson.build:21:0: ERROR: Value "true" (of type "string") for combo option "Enable support for EXYNOS's experimental KMS API." is not one of the choices. Possible choices are (as string): "enabled", "disabled", "auto". This is due to a recent change in libdrm[0] that changed the type, and therefore the accepted values, of a number of build-configuration options. The patch to follow corrects this issue and allows libdrm to build again. (Note master and staging still provide an older version of libdrm and are unaffected.) Tested on x86-64 and AArch64 and everything appears fine. On x86-64, the same package output is produced with or without the patch applied. [0] In upstream commit 26eb15165b: https://cgit.freedesktop.org/drm/libdrm/commit/?id=26eb15165b767de50bef3c02abd29cec256cf4a1 -- Simon South simon@simonsouth.net Simon South (1): gnu: libdrm: Fix building on ARM architectures. gnu/packages/xdisorg.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) base-commit: ca124b098dcc7ce7898df10faf9986f44a14e0a1 -- 2.39.1 ------------=_1695133922-803-1--