Closed autoantwort closed 1 year ago
huh, are there Nvidia GPUs on arm64-osx?
I don't think so
I guess this should be marked "supports": "!(osx & arm) & !ios & !android & !emscripten"
then
Maybe this should print the required hardware and software you need?
So it looks like we get the error The nvcodec was enabled explicitly, but required gstcuda dependency is not found
because gstcuda
only works on window and linux
Package: gstreamer[core,nvcodec,plugins-bad,plugins-base]:arm64-osx -> 1.22.5#4
Host Environment
To Reproduce
vcpkg x-set-installed --enforce-port-checks --allow-unsupported gstreamer[core,nvcodec]
Failure logs/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/config-arm64-osx-dbg-meson-log.txt.log
``` Build started at 2023-10-26T13:25:46.671013 Main binary: /opt/homebrew/opt/python@3.11/bin/python3.11 Build Options: -Dgpl=disabled -Dlibav=disabled -Dnls=disabled -Dges=disabled -Dbase=enabled -Dgst-plugins-base:gl-graphene=disabled -Dgst-plugins-base:alsa=disabled -Dgst-plugins-base:ogg=disabled -Dgst-plugins-base:opus=disabled -Dgst-plugins-base:pango=disabled -Dgst-plugins-base:vorbis=disabled -Dgst-plugins-base:x11=disabled -Dgst-plugins-base:xshm=disabled -Dgood=disabled -Dgst-plugins-good:bz2=disabled -Dgst-plugins-good:cairo=disabled -Dgst-plugins-good:flac=disabled -Dgst-plugins-good:gdk-pixbuf=disabled -Dgst-plugins-good:jpeg=disabled -Dgst-plugins-good:mpg123=disabled -Dgst-plugins-good:png=disabled -Dgst-plugins-good:speex=disabled -Dgst-plugins-good:taglib=disabled -Dgst-plugins-good:vpx=disabled -Dugly=disabled -Dgst-plugins-ugly:x264=disabled -Dbad=enabled -Dgst-plugins-bad:aes=disabled -Dgst-plugins-bad:assrender=disabled -Dgst-plugins-bad:bz2=disabled -Dgst-plugins-bad:chromaprint=disabled -Dgst-plugins-bad:closedcaption=disabled -Dgst-plugins-bad:colormanagement=disabled -Dgst-plugins-bad:dash=disabled -Dgst-plugins-bad:dc1394=disabled -Dgst-plugins-bad:dtls=disabled -Dgst-plugins-bad:faad=disabled -Dgst-plugins-bad:fdkaac=disabled -Dgst-plugins-bad:fluidsynth=disabled -Dgst-plugins-bad:libde265=disabled -Dgst-plugins-bad:microdns=disabled -Dgst-plugins-bad:modplug=disabled -Dgst-plugins-bad:nvcodec=enabled -Dgst-plugins-bad:openal=disabled -Dgst-plugins-bad:openh264=disabled -Dgst-plugins-bad:openjpeg=disabled -Dgst-plugins-bad:openmpt=disabled -Dgst-plugins-bad:opus=disabled -Dgst-plugins-bad:smoothstreaming=disabled -Dgst-plugins-bad:sndfile=disabled -Dgst-plugins-bad:soundtouch=disabled -Dgst-plugins-bad:srt=disabled -Dgst-plugins-bad:srtp=disabled -Dgst-plugins-bad:webp=disabled -Dgst-plugins-bad:webrtc=disabled -Dgst-plugins-bad:wildmidi=disabled -Dgst-plugins-bad:x11=disabled -Dgst-plugins-bad:x265=disabled -Dgst-plugins-bad:asio=disabled -Dpython=disabled -Dlibnice=disabled -Ddevtools=disabled -Drtsp_server=disabled -Domx=disabled -Dvaapi=disabled -Dsharp=disabled -Drs=disabled -Dgst-examples=disabled -Dtls=disabled -Dqt5=disabled -Dtests=disabled -Dexamples=disabled -Dintrospection=disabled -Dorc=disabled -Ddoc=disabled -Dgtk_doc=disabled -Dgstreamer:check=disabled -Dgstreamer:libunwind=disabled -Dgstreamer:libdw=disabled -Dgstreamer:dbghelp=disabled -Dgstreamer:bash-completion=disabled -Dgstreamer:coretracers=disabled -Dgstreamer:benchmarks=disabled -Dgstreamer:gst_debug=true -Dgst-plugins-base:gl_winsys=auto -Dgst-plugins-base:gl_platform=auto -Dgst-plugins-base:cdparanoia=disabled -Dgst-plugins-base:libvisual=disabled -Dgst-plugins-base:theora=disabled -Dgst-plugins-base:tremor=disabled -Dgst-plugins-base:xvideo=disabled -Dgst-plugins-good:aalib=disabled -Dgst-plugins-good:directsound=auto -Dgst-plugins-good:dv=disabled -Dgst-plugins-good:dv1394=disabled -Dgst-plugins-good:gtk3=disabled -Dgst-plugins-good:jack=disabl ... Skipped 5014 lines ... Compiler stdout: Compiler stderr: Compiler for C supports arguments -Wno-unknown-pragmas: YES Pkg-config binary for 1 is cached. Determining dependency 'ltc' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion ltc` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework ltc in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks CMake binary for 1 is cached. Preliminary CMake check failed. Aborting. Run-time dependency ltc found: NO (tried pkgconfig, framework and cmake) Using cached compile: Cached command line: Code: extern int i; int i; Cached compiler stdout: Cached compiler stderr: Compiler for Objective-C supports arguments -fobjc-arc: YES (cached) Pkg-config binary for 1 is cached. Determining dependency 'CoreFoundation' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion CoreFoundation` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework CoreFoundation in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmp36brgsl4 Command line: sccache c++ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmp36brgsl4/testfile.mm -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmp36brgsl4/output.exe -O0 -Werror=implicit-function-declaration -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -framework CoreFoundation Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Run-time dependency corefoundation found: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreFoundation.framework) Pkg-config binary for 1 is cached. Determining dependency 'CoreMedia' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion CoreMedia` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework CoreMedia in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmp1tw6_xr3 Command line: sccache c++ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmp1tw6_xr3/testfile.mm -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmp1tw6_xr3/output.exe -O0 -Werror=implicit-function-declaration -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -framework CoreMedia Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Run-time dependency coremedia found: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreMedia.framework) Pkg-config binary for 1 is cached. Determining dependency 'CoreVideo' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion CoreVideo` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework CoreVideo in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpc1naofa7 Command line: sccache c++ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpc1naofa7/testfile.mm -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpc1naofa7/output.exe -O0 -Werror=implicit-function-declaration -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -framework CoreVideo Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Run-time dependency corevideo found: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/CoreVideo.framework) Pkg-config binary for 1 is cached. Determining dependency 'AudioToolbox' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion AudioToolbox` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework AudioToolbox in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmppuc6p45s Command line: sccache c++ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmppuc6p45s/testfile.mm -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmppuc6p45s/output.exe -O0 -Werror=implicit-function-declaration -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -framework AudioToolbox Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Run-time dependency audiotoolbox found: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/AudioToolbox.framework) Dependency AVFoundation found: YES unknown (cached) Dependency VideoToolbox found: YES unknown (cached) Pkg-config binary for 1 is cached. Determining dependency 'Cocoa' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion Cocoa` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework Cocoa in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpnsjz0p04 Command line: sccache c++ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpnsjz0p04/testfile.mm -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpnsjz0p04/output.exe -O0 -Werror=implicit-function-declaration -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -framework Cocoa Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Run-time dependency cocoa found: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Cocoa.framework) Pkg-config binary for 1 is cached. Determining dependency 'IOSurface' with pkg-config executable '/opt/homebrew/bin/pkg-config' env[PKG_CONFIG]: /opt/homebrew/bin/pkg-config env[PKG_CONFIG_PATH]: /Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/lib/pkgconfig/:/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/debug/share/pkgconfig/ Called `/opt/homebrew/bin/pkg-config --modversion IOSurface` -> 1 Finding framework path by running: sccache c++ -v -E - Looking for framework IOSurface in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmps0885vq7 Command line: sccache c++ /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmps0885vq7/testfile.mm -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmps0885vq7/output.exe -O0 -Werror=implicit-function-declaration -F/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks -framework IOSurface Code: int main(void) { return 0; } Compiler stdout: Compiler stderr: Run-time dependency iosurface found: YES (/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/IOSurface.framework) Dependency appleframeworks (modules: OpenGL) found: YES unknown (cached) Dependency bluez skipped: feature bluez disabled Dependency gio-unix-2.0 skipped: feature bluez disabled Running compile: Working directory: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpznk8kx14 Command line: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -I/Users/leanderSchulten/git_projekte/vcpkg/vcpkg_installed/arm64-osx/include /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpznk8kx14/testfile.c -o /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/meson-private/tmpznk8kx14/output.obj -c -fPIC -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk -mmacosx-version-min=13.6 -g -O0 -Werror=implicit-function-declaration -Werror=unknown-warning-option -Werror=unused-command-line-argument -Werror=ignored-optimization-argument Code: #include/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/config-arm64-osx-dbg-out.log
``` WARNING: Recommend using either -Dbuildtype or -Doptimization + -Ddebug. Using both is redundant since they override each other. See: https://mesonbuild.com/Builtin-options.html#build-type-options The Meson build system Version: 0.62.1 Source dir: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/src/1.22.5-fd050a478c.clean Build dir: /Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg Build type: native build Project name: gstreamer-full Project version: 1.22.5 C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.0.40.1)") C linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc ld64 unknown version Compiler for language c for the build machine not found. Host machine cpu family: aarch64 Host machine cpu: arm64 Program python found: YES (/opt/homebrew/bin/python3) Executing subproject macos-bison-binary macos-bison-binary| Project name: win-flex-bison-binary macos-bison-binary| Project version: 3.7.6 macos-bison-binary| Message: Downloading and extracting bison for macOS x64... macos-bison-binary| Configuring bison.py using configuration macos-bison-binary| Program bison.py found: YES (/Users/leanderSchulten/git_projekte/vcpkg/buildtrees/gstreamer/arm64-osx-dbg/subprojects/macos-bison-binary/bison.py) macos-bison-binary| Build targets in project: 0 macos-bison-binary| Subproject macos-bison-binary finished. Executing subproject gstreamer gstreamer| Project name: gstreamer gstreamer| Project version: 1.22.5 gstreamer| C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc (clang 15.0.0 "Apple clang version 15.0.0 (clang-1500.0.40.1)") gstreamer| C linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc ld64 unknown version gstreamer| Checking if "building for iOS" compiles: NO gstreamer| Objective-C compiler for the host machine: sccache cc (clang 15.0.0) gstreamer| Objective-C linker for the host machine: cc ld64 unknown version gstreamer| Compiler for C supports link arguments -Wl,-Bsymbolic-functions: NO gstreamer| Compiler for C supports link arguments -Wl,-z,nodelete: NO gstreamer| Compiler for C supports arguments -fvisibility=hidden: YES gstreamer| Compiler for C supports arguments -fno-strict-aliasing: YES gstreamer| Message: Disabling GLib cast checks gstreamer| Has header "dlfcn.h" : YES gstreamer| Has header "inttypes.h" : YES gstreamer| Has header "memory.h" : YES gstreamer| Has header "poll.h" : YES gstreamer| Has header "stdint.h" : YES gstreamer| Has header "stdio_ext.h" : NO gstreamer| Has header "strings.h" : YES gstreamer| Has header "string.h" : YES gstreamer| Has header "sys/param.h" : YES gstreamer| Has header "sys/poll.h" : YES gstreamer| Has header "sys/prctl.h" : NO gstreamer| Has header "sys/socket.h" : YES gstreamer| Has header "sys/stat.h" : YES gstreamer| Has header "sys/times.h" : YES gstreamer| Has header "sys/time.h" : YES gstreamer| Has header "sys/types.h" : YES gstreamer| Has header "sys/utsname.h" : YES gstreamer| Has header "sys/wait.h" : YES gstreamer| Has header "ucontext.h" : YES gstreamer| Has header "unistd.h" : YES gstreamer| Has header "sys/resource.h" : YES gstreamer| Has header "sys/uio.h" : YES gstreamer| Checking whether type "struct tm" has member "tm_gmtoff" : YES gstreamer| Checking for function "gmtime_r" : YES gstreamer| Checking for function "sigaction" : YES gstreamer| Checking for function "getrusage" : YES gstreamer| Checking for function "fseeko" : YES gstreamer| Checking for function "ftello" : YES gstreamer| Checking for function "poll" : YES gstreamer| Checking for function "ppoll" : NO gstreamer| Checking for function "pselect" : YES gstreamer| Checking for function "getpagesize" : YES gstreamer| Checking for function "clock_gettime" : YES gstreamer| Checking for function "clock_nanosleep" : NO gstreamer| Checking for function "strnlen" : YES gstreamer| Checking for function "getline" : YES gstreamer| Checking for function "mkstemp" : YES gstreamer| Checking for function "alarm" : YES gstreamer| Checking for function "gettimeofday" : YES gstreamer| Checking for function "localtime_r" : YES gstreamer| Checking if "pthread_setname_np(const char*)" : links: YES gstreamer| Header