Bug 267816 - multimedia/mpv: fails to configure WITHOUT=X11
Summary: multimedia/mpv: fails to configure WITHOUT=X11
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-multimedia (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-16 20:34 UTC by Dmitry Marakasov
Modified: 2022-11-16 21:37 UTC (History)
1 user (show)

See Also:
jbeich: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Marakasov freebsd_committer freebsd_triage 2022-11-16 20:34:56 UTC
After 267765 I've decided to give it a check with reprise -O just for the case, and it has found another failure:

SUCCESS multimedia/mpv on 13-amd64, log: /reprise/logs/3537
SUCCESS multimedia/mpv on 13-amd64 (-ARCHIVE), log: /reprise/logs/3538
SUCCESS multimedia/mpv on 13-amd64 (-DOCS), log: /reprise/logs/3539
SUCCESS multimedia/mpv on 13-amd64 (-EXAMPLES), log: /reprise/logs/3540
SUCCESS multimedia/mpv on 13-amd64 (+LCMS2), log: /reprise/logs/3541
SUCCESS multimedia/mpv on 13-amd64 (-MANPAGES), log: /reprise/logs/3542
SUCCESS multimedia/mpv on 13-amd64 (+MUJS), log: /reprise/logs/3543
SUCCESS multimedia/mpv on 13-amd64 (+RUBBERBAND), log: /reprise/logs/3544
SUCCESS multimedia/mpv on 13-amd64 (+TEST), log: /reprise/logs/3545
SUCCESS multimedia/mpv on 13-amd64 (-UCHARDET), log: /reprise/logs/3546
SUCCESS multimedia/mpv on 13-amd64 (+ZIMG), log: /reprise/logs/3547
SUCCESS multimedia/mpv on 13-amd64 (+CACA), log: /reprise/logs/3548
SUCCESS multimedia/mpv on 13-amd64 (-NVDEC), log: /reprise/logs/3549
SUCCESS multimedia/mpv on 13-amd64 (-OPENGL), log: /reprise/logs/3550
SUCCESS multimedia/mpv on 13-amd64 (+SIXEL), log: /reprise/logs/3551
SUCCESS multimedia/mpv on 13-amd64 (-VAAPI), log: /reprise/logs/3552
SUCCESS multimedia/mpv on 13-amd64 (-VDPAU), log: /reprise/logs/3553
SUCCESS multimedia/mpv on 13-amd64 (-VULKAN), log: /reprise/logs/3554
SUCCESS multimedia/mpv on 13-amd64 (-WAYLAND), log: /reprise/logs/3555
BLDFAIL multimedia/mpv on 13-amd64 (-X11), log: /reprise/logs/3556
SUCCESS multimedia/mpv on 13-amd64 (+SIXEL +CACA), log: /reprise/logs/3557
SUCCESS multimedia/mpv on 13-amd64 (-VAAPI -VDPAU -VULKAN -X11 -OPENGL -WAYLAND -NVDEC), log: /reprise/logs/3558
SUCCESS multimedia/mpv on 13-amd64 (+ALSA), log: /reprise/logs/3559
SUCCESS multimedia/mpv on 13-amd64 (+JACK), log: /reprise/logs/3560
SUCCESS multimedia/mpv on 13-amd64 (+OPENAL), log: /reprise/logs/3561
SUCCESS multimedia/mpv on 13-amd64 (+PIPEWIRE), log: /reprise/logs/3562
SUCCESS multimedia/mpv on 13-amd64 (+PULSEAUDIO), log: /reprise/logs/3563
SUCCESS multimedia/mpv on 13-amd64 (+SDL), log: /reprise/logs/3564
SUCCESS multimedia/mpv on 13-amd64 (+SNDIO), log: /reprise/logs/3565
SUCCESS multimedia/mpv on 13-amd64 (+JACK +OPENAL +ALSA +SDL +PULSEAUDIO +PIPEWIRE +SNDIO), log: /reprise/logs/3566
SUCCESS multimedia/mpv on 13-amd64 (+CDIO), log: /reprise/logs/3567
SUCCESS multimedia/mpv on 13-amd64 (-DVDNAV), log: /reprise/logs/3568
SUCCESS multimedia/mpv on 13-amd64 (+LIBBLURAY), log: /reprise/logs/3569
SUCCESS multimedia/mpv on 13-amd64 (-V4L), log: /reprise/logs/3570
SUCCESS multimedia/mpv on 13-amd64 (+VAPOURSYNTH), log: /reprise/logs/3571
SUCCESS multimedia/mpv on 13-amd64 (+CDIO +LIBBLURAY +VAPOURSYNTH), log: /reprise/logs/3572
SUCCESS multimedia/mpv on 13-amd64 (-DVDNAV -V4L), log: /reprise/logs/3573
SUCCESS multimedia/mpv on 13-amd64 (-LUAJIT +LUA), log: /reprise/logs/3574
SUCCESS multimedia/mpv on 13-amd64 (+LUA_NONE -LUAJIT), log: /reprise/logs/3575
SUCCESS multimedia/mpv on 13-amd64 (+YTDL -YTDLP), log: /reprise/logs/3576
SUCCESS multimedia/mpv on 13-amd64 (-YTDLP), log: /reprise/logs/3577
40/41 successful jobs

WITHOUT=X11 if fails to configure:

...
Run-time dependency libva found: YES 1.16.0
Run-time dependency libva-drm found: YES 1.16.0
Run-time dependency libva-wayland found: YES 1.16.0
Run-time dependency libva-x11 found: YES 1.16.0

meson.build:1411:0: ERROR: Feature vdpau cannot be enabled: x11 was not found!
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-11-16 21:28:45 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=223e207711169c0780ad0a27e479eafb4c27f63c

commit 223e207711169c0780ad0a27e479eafb4c27f63c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-16 21:15:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-16 21:27:17 +0000

    multimedia/mpv: track VDPAU dependency on X11

    meson.build:1411:0: ERROR: Feature vdpau cannot be enabled: x11 was not found!

    (or before 1d89ec25be62)

    Checking for VDPAU acceleration                                           : x11 not found
    Checking for VDPAU with OpenGL/X11                                        : vdpau not found

    PR:             267816
    Reported by:    amdmi3

 multimedia/mpv/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-11-16 21:29:46 UTC
A commit in branch 2022Q4 references this bug:

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

commit f33adcc5769aee97149fcb7765bd390f793f8321
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-11-16 21:15:01 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-11-16 21:28:53 +0000

    multimedia/mpv: track VDPAU dependency on X11

    Checking for VDPAU acceleration                                           : x11 not found
    Checking for VDPAU with OpenGL/X11                                        : vdpau not found

    PR:             267816
    Reported by:    amdmi3

    (cherry picked from commit 223e207711169c0780ad0a27e479eafb4c27f63c)

 multimedia/mpv/Makefile | 1 +
 1 file changed, 1 insertion(+)
Comment 3 Jan Beich freebsd_committer freebsd_triage 2022-11-16 21:37:00 UTC
VDPAU is tied to X11 unlike NVDEC and Vulkan Video. VAAPI isn't supported natively by nvidia-driver.