[Bug 270361] Mk/Uses/meson.mk: add --auto-features=enabled to improve determinism

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Mar 2023 20:31:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270361

--- Comment #26 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

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

commit 5594d5eafe146fdd07a26e10801fa73a716d356c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-03-20 20:04:28 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-03-20 20:31:07 +0000

    multimedia/mpv: unbreak with --auto-features=enabled

    meson.build:363:0: ERROR: Feature win32-internal-pthreads cannot be
enabled: the os is not win32!
    meson.build:391:0: ERROR: Dependency "appleframeworks" not found, tried
framework
    meson.build:710:0: ERROR: Feature sdl2-gamepad cannot be enabled: sdl2 was
not found!
    meson.build:772:0: ERROR: Dependency "appleframeworks" not found, tried
framework
    meson.build:784:0: ERROR: Dependency "appleframeworks" not found, tried
framework
    meson.build:817:0: ERROR: C shared or static library 'OpenSLES' not found
    meson.build:848:0: ERROR: Feature sdl2-audio cannot be enabled: sdl2 was
not found!
    meson.build:864:0: ERROR: C symbol IAudioClient not found in header
audioclient.h
    meson.build:885:0: ERROR: Feature direct3d cannot be enabled: the build is
not GPL or this is not a win32 desktop!
    meson.build:941:0: ERROR: Feature sdl2-video cannot be enabled: sdl2 was
not found!
    meson.build:964:0: ERROR: Dependency "spirv-cross-c-shared" not found,
tried pkgconfig and cmake
    meson.build:970:0: ERROR: Feature d3d11 cannot be enabled: Either is not a
win32 desktop or shaderc nor spirv-cross were found!
    meson.build:1067:0: ERROR: Feature gl-cocoa cannot be enabled: cocoa and GL
were not found!
    meson.build:1078:0: ERROR: Feature gl-win32 cannot be enabled: GL and win32
desktop were not found!
    meson.build:1104:0: ERROR: Feature gl-dxinterop cannot be enabled:
gl-dxinterop could not be found!
    meson.build:1113:0: ERROR: Feature egl-angle cannot be enabled: egl-angle
could not be found!
    meson.build:1124:0: ERROR: Feature egl-angle-lib cannot be enabled:
egl-angle-lib could not be found!
    meson.build:1131:0: ERROR: Feature egl-angle-win32 cannot be enabled:
either this is not a win32 desktop or egl-angle was not found!
    meson.build:1150:0: ERROR: Feature egl-android cannot be enabled: the OS is
not android!
    meson.build:1268:0: ERROR: Feature android-media-ndk cannot be enabled
    meson.build:1298:0: ERROR: Feature d3d-hwaccel cannot be enabled: the os is
not win32!
    meson.build:1315:0: ERROR: Feature d3d9-hwaccel cannot be enabled:
d3d-hwaccel was not found!
    meson.build:1327:0: ERROR: Feature gl-dxinterop-d3d9 cannot be enabled:
gl-dxinterop and d3d9-hwaccel were not found!
    meson.build:1336:0: ERROR: C symbol GL_RGB32F not found in header
OpenGLES/ES3/glext.h
    meson.build:1342:0: ERROR: Feature rpi-mmal cannot be enabled: rpi was not
found!
    meson.build:1431:0: ERROR: Feature videotoolbox-gl cannot be enabled:
gl-cocoa nor ios-gl could be found!
    meson.build:1462:0: ERROR: Feature macos-10-11-features cannot be enabled:
a suitable macos sdk version could not be found!
    meson.build:1467:0: ERROR: Feature macos-10-12-2-features cannot be
enabled: a suitable macos sdk version could not be found!
    meson.build:1472:0: ERROR: Feature macos-10-14-features cannot be enabled:
a suitable macos sdk version could not be found!
    meson.build:1477:0: ERROR: Program 'xcrun' not found or not executable
    meson.build:1512:0: ERROR: Feature macos-cocoa-cb cannot be enabled: Either
cocoa or swift could not be found!
    meson.build:1522:0: ERROR: Feature macos-media-player cannot be enabled:
Either the macos sdk version is not at least 10.12.2 or swift was not found!
    meson.build:1535:0: ERROR: Feature macos-touchbar cannot be enabled: Either
cocoa could not be found or the macos-touchbar check failed!

    PR:             270361

 multimedia/mpv/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.