[Bug 275554] graphics/mesa-libs: fails to build with PLATFORM_X11=off

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 05 Dec 2023 16:27:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275554

            Bug ID: 275554
           Summary: graphics/mesa-libs: fails to build with
                    PLATFORM_X11=off
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: jbeich@FreeBSD.org
            Blocks: 270361, 273703
          Assignee: x11@FreeBSD.org
             Flags: maintainer-feedback?(x11@FreeBSD.org)

Regressed by https://github.com/mesa3d/mesa/commit/e3f60ea4a893 See also ports
0e54d5d3efaa

  $ make WITHOUT=PLATFORM_X11
  [...]
  meson.build:407:3: ERROR: Feature xlib-lease cannot be enabled: xlib-lease
requires X11 and KMS/DRM support

Alternatively,

  $ poudriere bulk -rtj 132amd64 -z nox11 x11-wm/sway
  [...]
  $ cat /usr/local/etc/poudriere.d/nox11-make.conf
  OPTIONS_UNSET += COLORD TKINTER VDPAU X11 XCB XLIB
  graphics_mesa-libs_UNSET += PLATFORM_X11
  graphics_mesa-dri_UNSET += PLATFORM_X11
  # XXX until graphics/gstreamer1-plugins-gl is fixed
  x11-toolkits_gtk40_UNSET += GSTREAMER


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270361
[Bug 270361] Mk/Uses/meson.mk: add --auto-features=enabled to improve
determinism
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273703
[Bug 273703] graphics/mesa*: Update to 23.1.8
-- 
You are receiving this mail because:
You are the assignee for the bug.