Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/x11r7/xwayland: add mesa3d ordering dependency
@ 2026-07-16 13:30 Adam Ford
  2026-07-16 19:30 ` John Ernberg
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Ford @ 2026-07-16 13:30 UTC (permalink / raw)
  To: buildroot; +Cc: Raphael Pavlidis, Adam Ford

Xwayland's glamor/DRI configure check looks for Mesa's dri.pc in staging.
Without an explicit ordering dependency, a highly parallel build can run
Xwayland's configure before mesa3d is installed, failing with:

    ERROR: Dependency "dri" not found

Add mesa3d to XWAYLAND_DEPENDENCIES when it is enabled.

Signed-off-by: Adam Ford <aford173@gmail.com>

diff --git a/package/x11r7/xwayland/xwayland.mk b/package/x11r7/xwayland/xwayland.mk
index 2b8513602c..bce9a572ab 100644
--- a/package/x11r7/xwayland/xwayland.mk
+++ b/package/x11r7/xwayland/xwayland.mk
@@ -30,6 +30,14 @@ XWAYLAND_CONF_OPTS = \
 	-Ddtrace=false \
 	-Ddocs=false
 
+# Xwayland's glamor/DRI configure check needs Mesa's dri.pc in staging.
+# Without an explicit ordering dependency, a highly parallel build can run
+# Xwayland's configure before mesa3d is installed, failing with:
+#   ERROR: Dependency "dri" not found
+ifeq ($(BR2_PACKAGE_MESA3D),y)
+XWAYLAND_DEPENDENCIES += mesa3d
+endif
+
 ifeq ($(BR2_PACKAGE_HAS_LIBEGL)$(BR2_PACKAGE_LIBEPOXY),yy)
 XWAYLAND_CONF_OPTS += -Dglamor=true
 XWAYLAND_DEPENDENCIES += libepoxy
-- 
2.53.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-16 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-16 13:30 [Buildroot] [PATCH] package/x11r7/xwayland: add mesa3d ordering dependency Adam Ford
2026-07-16 19:30 ` John Ernberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox