Source: mesa
Version: 26.2.1-4
Severity: important
Tags: patch, arch

Dear Maintainer,

EGL is disabled by the Debian Mesa packaging on ppc64.

Without EGL enabled, Mesa does not work correctly on ppc64. In particular, the 
resulting Mesa installation is not usable for normal EGL-based graphics 
applications.

I have tested this on real ppc64 hardware (PowerPC 970/iMac G5). Adding the 
following to debian/rules fixes the problem:

```
ifeq ($(DEB_HOST_ARCH), ppc64)
        confflags += -Degl=enabled
endif
```

With this change, Mesa 26.2.1 builds successfully and the resulting Mesa 
installation works correctly on ppc64.

The attached patch, mesa-egl-ppc64.patch, adds this ppc64-specific 
configuration.

Please enable EGL when building Mesa for ppc64.

Best regards,
Jeroen Diederen

-- System Information:
Debian Release: forky/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: ppc64

Kernel: Linux 7.1.12+deb14-powerpc64 (SMP w/1 CPU thread; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--- a/debian/rules
+++ b/debian/rules
@@ -171,6 +171,10 @@
   endif
 endif
 
+ifeq ($(DEB_HOST_ARCH), ppc64)
+       confflags += -Degl=enabled
+endif
+
 empty:=
 space := $(empty) $(empty)
 comma := ,

Reply via email to