Bug 260703 - graphics/mesa-gallium-{va,vdpau}: Fails to build with X11=OFF: meson.build:1839:2: ERROR: Dependency "wayland-protocols" not found
Summary: graphics/mesa-gallium-{va,vdpau}: Fails to build with X11=OFF: meson.build:18...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: freebsd-x11 (Nobody)
URL:
Keywords: needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2021-12-26 16:44 UTC by Dan Kotowski
Modified: 2023-11-22 11:17 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (x11)
koobs: merge-quarterly?


Attachments
poudriere build log for graphics/mesa-gallium-va (26.92 KB, text/plain)
2021-12-26 16:44 UTC, Dan Kotowski
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Kotowski 2021-12-26 16:44:49 UTC
Created attachment 230425 [details]
poudriere build log for graphics/mesa-gallium-va

With OPTIONS_FILE_UNSET+=X11 the configure step checks for graphics/wayland-protocols which is not in the build dependency tree.

```
$ make all-depends-list | grep wayland-protocols
/usr/ports/graphics/wayland-protocols
$ make build-depends-list | grep wayland-protocols
$
```

This also applies to graphics/mesa-gallium-vdpau
Comment 1 commit-hook freebsd_committer freebsd_triage 2023-11-22 11:17:03 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6a1b0c432c8ce215896a31c4dfcb09b62a2cac1f

commit 6a1b0c432c8ce215896a31c4dfcb09b62a2cac1f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-11-22 10:44:05 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-11-22 11:15:57 +0000

    graphics/mesa-gallium-{va,vdpau}: Fix when X11 option is off

    PR:     260703
    Sponsored by:   Beckhoff Automation GmbH & Co. KG

 graphics/mesa-gallium-va/Makefile    | 5 ++++-
 graphics/mesa-gallium-vdpau/Makefile | 4 +++-
 2 files changed, 7 insertions(+), 2 deletions(-)