Bug 267423 - multimedia/mpv: Build failure with NVDEC off
Summary: multimedia/mpv: Build failure with NVDEC off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-multimedia (Nobody)
URL: https://www.freshports.org/multimedia...
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-10-29 15:34 UTC by Oleh Hushchenkov
Modified: 2022-10-29 17:21 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Hushchenkov 2022-10-29 15:34:12 UTC
After update to 0.34.1_4 with disabled NVDEC option:

...
waf-light: error: no such option: --disable-ffnvcodec
===>  Script "configure" failed unexpectedly.
...
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-10-29 17:07:19 UTC
A commit in branch main references this bug:

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

commit 3896cb6bf6207e751722a4f70de51a9a20205f69
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-10-29 17:06:36 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-10-29 17:06:39 +0000

    multimedia/mpv: unbreak NVDEC=off after 38d34d4542e0

    waf-light: error: no such option: --disable-ffnvcodec

    PR:             267423
    Reported by:    Oleh Hushchenkov

 multimedia/mpv/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 2 Jan Beich freebsd_committer freebsd_triage 2022-10-29 17:13:03 UTC
Thanks for reporting. Easy to miss due to current style of not overriding defaults, see ports 9cd023b75a9c. In meson (bug 267113) I'll switch back to full helpers.
Comment 3 Oleh Hushchenkov 2022-10-29 17:21:13 UTC
(In reply to Jan Beich from comment #2)
Thank you.