Bug 275554 - graphics/mesa-libs: fails to build with PLATFORM_X11=off
Summary: graphics/mesa-libs: fails to build with PLATFORM_X11=off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-x11 (Nobody)
URL:
Keywords:
Depends on:
Blocks: 270361 273703
  Show dependency treegraph
 
Reported: 2023-12-05 16:27 UTC by Jan Beich
Modified: 2024-08-21 17:01 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2023-12-05 16:27:29 UTC
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
Comment 1 Jan Beich freebsd_committer freebsd_triage 2023-12-05 16:37:52 UTC
mesa-dri fails with the same error.
Comment 2 me 2024-01-28 21:14:56 UTC
experience same problem on FreeBSD 15-Current and mesa-dri 23.3.4
Comment 3 Jan Beich freebsd_committer freebsd_triage 2024-08-21 17:01:59 UTC
Obsolete after ports a26876a1e5f8.