Bug#1137720: mesa: Mesa 26.0+ FTBFS on ppc64 due to endianness issues
Sean McGovern <[email protected]> Wed, 27 May 2026 10:12:13 -0400
| Newsgroups | gmane.linux.debian.devel.x |
|---|---|
| Message-ID | <177989113393.31655.17343589170177626952.reportbug__45539.3482161284$1779891697$gmane$org@ganyu> |
Source: mesa Followup-For: Bug #1137720 X-Debbugs-Cc: [email protected] User: [email protected] Usertags: ppc64 Control: tags -1 ftbfs See attached patch. -- System Information: Debian Release: forky/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: ppc64 Foreign Architectures: powerpc Kernel: Linux 7.0.9+deb14-powerpc64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8), LANGUAGE=en_CA:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled
0001-d-rules-do-not-build-nouveau-on-ppc64.patch
(application/mbox, 1.5 KB)
From 0ea2e043c8f9d5d6a6ffb3403f670bcecab7adda Mon Sep 17 00:00:00 2001 From: Sean McGovern <[email protected]> Date: Wed, 27 May 2026 10:09:49 -0400 Subject: [PATCH] d/rules: do not build nouveau on ppc64 --- debian/rules | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 06a85ed41ce..5772c2fd247 100755 --- a/debian/rules +++ b/debian/rules @@ -51,7 +51,7 @@ confflags_TEFLON = -Dteflon=false LLVM_ARCHS = amd64 arm64 armhf i386 loong64 powerpc ppc64 ppc64el riscv64 s390x sparc64 x32 RUSTICL_ARCHS = amd64 arm64 armhf i386 loong64 powerpc ppc64 ppc64el riscv64 s390x x32 -NVK_ARCHS = amd64 arm64 armhf i386 ppc64 riscv64 x32 +NVK_ARCHS = amd64 arm64 armhf i386 riscv64 x32 VALGRIND_ARCHS = amd64 arm64 armhf i386 powerpc ppc64 ppc64el riscv64 s390x # hurd doesn't do direct rendering @@ -64,7 +64,7 @@ else # hurd also lacks *_CLOEXEC EGL_PLATFORMS += wayland - GALLIUM_DRIVERS += nouveau r300 r600 virgl + GALLIUM_DRIVERS += r300 r600 virgl confflags_DIRECT_RENDERING = -Dglx-direct=true confflags_GBM = -Dgbm=enabled confflags_GALLIUM += -Dgallium-extra-hud=true @@ -72,6 +72,10 @@ else confflags_GALLIUM += -Dgallium-va=enabled confflags_GALLIUM += -Dvideo-codecs="all" + # nouveau broken on ppc64 + ifeq (,$(filter $(DEB_HOST_ARCH), ppc64)) + GALLIUM_DRIVERS += nouveau + endif # Freedreno requires arm in addition ifneq (,$(filter arm arm64,$(DEB_HOST_ARCH_CPU))) -- 2.53.0