GNU bug report logs - #61039
[PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM architectures.

Previous Next

Package: guix-patches;

Reported by: Simon South <simon <at> simonsouth.net>

Date: Tue, 24 Jan 2023 17:27:01 UTC

Severity: normal

Tags: patch

Done: Simon South <simon <at> simonsouth.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 61039 in the body.
You can then email your comments to 61039 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#61039; Package guix-patches. (Tue, 24 Jan 2023 17:27:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon South <simon <at> simonsouth.net>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 24 Jan 2023 17:27:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon South <simon <at> simonsouth.net>
To: guix-patches <at> gnu.org
Subject: [PATCH core-updates 0/1] gnu: libdrm: Fix building on ARM
 architectures.
Date: Tue, 24 Jan 2023 12:26:13 -0500
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 <at> 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





Information forwarded to guix-patches <at> gnu.org:
bug#61039; Package guix-patches. (Tue, 24 Jan 2023 17:30:04 GMT) Full text and rfc822 format available.

Message #8 received at 61039 <at> debbugs.gnu.org (full text, mbox):

From: Simon South <simon <at> simonsouth.net>
To: 61039 <at> debbugs.gnu.org
Subject: [PATCH core-updates 1/1] gnu: libdrm: Fix building on ARM
 architectures.
Date: Tue, 24 Jan 2023 12:28:56 -0500
* 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





Reply sent to Simon South <simon <at> simonsouth.net>:
You have taken responsibility. (Tue, 19 Sep 2023 14:32:02 GMT) Full text and rfc822 format available.

Notification sent to Simon South <simon <at> simonsouth.net>:
bug acknowledged by developer. (Tue, 19 Sep 2023 14:32:02 GMT) Full text and rfc822 format available.

Message #13 received at 61039-done <at> debbugs.gnu.org (full text, mbox):

From: Simon South <simon <at> simonsouth.net>
To: 61039-done <at> debbugs.gnu.org
Subject: Re: bug#61039: [PATCH core-updates 0/1] gnu: libdrm: Fix building
 on ARM architectures.
Date: Tue, 19 Sep 2023 10:31:09 -0400
This issue was resolved with commit 62ff0b9086, "gnu: libdrm: Update
configure-flags."

-- 
Simon South
simon <at> simonsouth.net




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 18 Oct 2023 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 183 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.