[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1107223: marked as done (libdrm-intel1: enable build for loong64)



Your message dated Wed, 25 Jun 2025 08:36:51 +0000
with message-id <E1uULch-00DjXe-Ru@fasolo.debian.org>
and subject line Bug#1107223: fixed in libdrm 2.4.125-1
has caused the Debian Bug report #1107223,
regarding libdrm-intel1: enable build for loong64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1107223: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1107223
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libdrm-intel1
Version: 2.4.124-2
Severity: wishlist
Tags: patch
X-Debbugs-Cc: debian-loongarch@lists.debian.org
User: debian-loongarch@lists.debian.org
Usertags: loong64

libdrm-intel1 is necessary to build mesa iris userspace driver for
intel xe graphics cards.

I have build libdrm-intel for loong64 with the following patch:

diff --git a/debian/control b/debian/control
index 02f3c0c..30e5be1 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Section: libdevel
 Architecture: linux-any hurd-any
 Depends:
  libdrm2 (= ${binary:Version}),
- libdrm-intel1 (= ${binary:Version}) [amd64 i386 hurd-i386 x32 riscv64],
+ libdrm-intel1 (= ${binary:Version}) [amd64 i386 hurd-i386 x32 riscv64 loong64],
  libdrm-radeon1 (= ${binary:Version}),
  libdrm-nouveau2 (= ${binary:Version}) [linux-any],
  libdrm-amdgpu1 (= ${binary:Version}),
@@ -104,7 +104,7 @@ Description: Userspace interface to kernel DRM services -- runtime
  This is a udeb, or a microdeb, for the debian-installer.
 
 Package: libdrm-intel1
-Architecture: amd64 arm64 i386 hurd-i386 x32 riscv64
+Architecture: amd64 arm64 i386 hurd-i386 x32 riscv64 loong64
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},
diff --git a/debian/rules b/debian/rules
index 44ad097..bfca24f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -33,7 +33,7 @@ else
 endif
 
 # Intel is only on x86, arm64 and riscv64:
-ifneq (,$(filter amd64 arm64 i386 riscv64,$(DEB_HOST_ARCH_CPU)))
+ifneq (,$(filter amd64 arm64 i386 riscv64 loong64,$(DEB_HOST_ARCH_CPU)))
 ifneq (,$(filter linux hurd,$(DEB_HOST_ARCH_OS)))
        INTEL = yes
 endif

After building libdrm-intel1, I can build mesa iris driver.
Tested on Loongson 3A6000 with Intel Arc B580.


-- System Information:
Debian Release: 13.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: loong64 (loongarch64)
Foreign Architectures: amd64

Kernel: Linux 6.15-loong64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=UTF-8), LANGUAGE=zh_CN:zh
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libdrm-intel1 depends on:
ii  libc6          2.41-8
ii  libdrm2        2.4.124-2
ii  libpciaccess0  0.17-3+b2

libdrm-intel1 recommends no packages.

libdrm-intel1 suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: libdrm
Source-Version: 2.4.125-1
Done: Timo Aaltonen <tjaalton@debian.org>

We believe that the bug you reported is fixed in the latest version of
libdrm, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1107223@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Timo Aaltonen <tjaalton@debian.org> (supplier of updated libdrm package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 25 Jun 2025 10:46:34 +0300
Source: libdrm
Built-For-Profiles: noudeb
Architecture: source
Version: 2.4.125-1
Distribution: experimental
Urgency: medium
Maintainer: Debian X Strike Force <debian-x@lists.debian.org>
Changed-By: Timo Aaltonen <tjaalton@debian.org>
Closes: 1107223
Changes:
 libdrm (2.4.125-1) experimental; urgency=medium
 .
   [ Jianfeng Liu ]
   * Enable build libdrm-intel1 for loong64. (Closes: #1107223)
 .
   [ Timo Aaltonen ]
   * New upstream release.
   * patches: Drop the upstreamed fix for xf86drm.
   * symbols: Updated.
Checksums-Sha1:
 45f8f1527f7e278395d980a5a89054a27c372ceb 3181 libdrm_2.4.125-1.dsc
 59a98e1298353c0c78085675dffa92508a1ea23e 485592 libdrm_2.4.125.orig.tar.xz
 8d3ba16b2acae31ac621b7cd34bb924319e690d6 833 libdrm_2.4.125.orig.tar.xz.asc
 4f3f3823baafb5dd7c91b66546ca15448991af14 76632 libdrm_2.4.125-1.debian.tar.xz
 a0f016be161c5ce99ca23ffcb5b0a894ae3980a0 8425 libdrm_2.4.125-1_source.buildinfo
Checksums-Sha256:
 8239ac7e55ff1b88076ea9a4f4f9e0860e6dae788cf7b806b2d95397bd3b512c 3181 libdrm_2.4.125-1.dsc
 d4bae92797a50f81a93524762e0410a49cd84cfa0f997795bc0172ac8fb1d96a 485592 libdrm_2.4.125.orig.tar.xz
 d13820b5488bddee445c1afca57402ec2560cbd9d48f3e9ca5d03cc3fbf304d0 833 libdrm_2.4.125.orig.tar.xz.asc
 be55ecd72140849d84b9ddad49c3a7c9cc054ad83dc8d721cd0ae7ca7f0c5ed2 76632 libdrm_2.4.125-1.debian.tar.xz
 7df13f9ce5b4a677dbe14cceffca7436c6a9fe563581a85a28aeeeb75757bcc8 8425 libdrm_2.4.125-1_source.buildinfo
Files:
 35528cbd420bd32f376a33002ca8f7e5 3181 libs optional libdrm_2.4.125-1.dsc
 3baec8e685510892b3355a7074baa874 485592 libs optional libdrm_2.4.125.orig.tar.xz
 fcda971e2d26ebe9131c64020900e2f8 833 libs optional libdrm_2.4.125.orig.tar.xz.asc
 999e987cc294eaa659c9c9c8c1308748 76632 libs optional libdrm_2.4.125-1.debian.tar.xz
 470504a253b101960237e1beac811903 8425 libs optional libdrm_2.4.125-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEdS3ifE3rFwGbS2Yjy3AxZaiJhNwFAmhbqWoACgkQy3AxZaiJ
hNyXCQ/9GRN2hvst3ybvfYirjyaMBGqozj7MwSIJu5zdp5jrP9u3SyumY8d4L9VX
toLHdIGtlXwAXGV98ILQx7AF2ZjpYg56Kuf6t7kcGMCbSeoUsjBpMt3LTeb5FMZn
5mjhVG6D2tDzNdphBYEpvqOp5YEFRp69ax5JUOVIAnmToSvqQ47VDGxvDrRPDOb9
eZK/Y3aTk8eUoeFfHlfakvredx3sbQjuv5bGNbkFICv5cGMIbjw8lYXOVZRvMQx1
HtZWLur06T4mF8zmuD6NkyFpmWZkTKHh6E0GuSZIiKPVOK+IhNsu0Q4o8E6Mr8I7
V1xgGaBqfzrQX13IdxEKl6XjGul3hJt6ozDd3g7oLchZobBgWQNUCt62gqLQwFfQ
XN69uZruYukU8uR2hKww2JO827ku1ZUpY7cG8N1X5h9imEUK16JKwIsFbULsoixz
ma68ciga/vhtpAJN0YY3QtWxWOFQl97fG/t31pKu1oqEpugIZvkLQ8VF5/73BVLx
ENziumC5/LblPzwsy7zdplDd3OBT9uDPkieHroc6KK4yrrNxCKSGaCIBB11mNMT6
BjS6Gcv7nJFBYASUL6uqY23p+H/a78s7yoXFdOHKrsim6Ju2r3nN5Pk1YQDLM+eQ
Tjv3KHtaVrET8xaY0CI7F3LpjC0etE0B0VsqrgA+S7kvxedIfS0=
=V75s
-----END PGP SIGNATURE-----

Attachment: pgpW4oDHzagFU.pgp
Description: PGP signature


--- End Message ---

Reply to: