contrib: FTBS: fail to build harfbuzz on macosx
Clean buildtree since contribs were moved to build into a separate directory:
rm -rf harfbuzz/build/meson-private
CC="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++" LD="ld" AR="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar" CCAS="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c" RANLIB="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib" STRIP="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/strip" PATH="/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/bin:/Users/unidan/Workspace/vlc/extras/tools/build/bin:/Users/unidan/Workspace/vlc/extras/tools/build/bin:/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin::/bin:/sbin:/usr/bin:/usr/sbin" PKG_CONFIG="pkg-config" CPPFLAGS=" -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include" CFLAGS="-Werror=partial-availability -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include" CXXFLAGS="-Werror=partial-availability -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include -stdlib=libc++" LDFLAGS=" -L/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64" meson harfbuzz/build harfbuzz --default-library static --prefix "/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21" --backend ninja -Dlibdir=lib --buildtype debugoptimized -Dfreetype=enabled -Dglib=disabled -Dgobject=disabled -Ddocs=disabled -Dtests=disabled -Dcoretext=enabled
Using 'PKG_CONFIG_PATH' from environment with value: '/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib/pkgconfig::/usr/local/Cellar/openssl@1.1/1.1.1k/lib/pkgconfig/:/usr/local/Cellar/cjson/1.7.15/lib/pkgconfig'
Using 'PKG_CONFIG_PATH' from environment with value: '/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib/pkgconfig::/usr/local/Cellar/openssl@1.1/1.1.1k/lib/pkgconfig/:/usr/local/Cellar/cjson/1.7.15/lib/pkgconfig'
The Meson build system
Version: 0.56.2
Source dir: /Users/unidan/Workspace/vlc/contrib/contrib-x86_64-apple-darwin21/harfbuzz
Build dir: /Users/unidan/Workspace/vlc/contrib/contrib-x86_64-apple-darwin21/harfbuzz/build
Build type: native build
Project name: harfbuzz
Project version: 3.4.0
Using 'CC' from environment with value: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
Using 'CFLAGS' from environment with value: '-Werror=partial-availability -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack
-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include'
Using 'LDFLAGS' from environment with value: ' -L/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64'
Using 'CPPFLAGS' from environment with value: ' -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include'
C compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)")
C linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang ld64 764
Using 'AR' from environment with value: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar'
Using 'CXX' from environment with value: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'
Using 'CXXFLAGS' from environment with value: '-Werror=partial-availability -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include -stdlib=libc++'
Using 'LDFLAGS' from environment with value: ' -L/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64'
Using 'CPPFLAGS' from environment with value: ' -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include'
C++ compiler for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)")
C++ linker for the host machine: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ ld64 764
Using 'CC' from environment with value: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang'
Using 'CFLAGS' from environment with value: '-Werror=partial-availability -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include'
Using 'LDFLAGS' from environment with value: ' -L/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64'
Using 'CPPFLAGS' from environment with value: ' -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include'
Using 'AR' from environment with value: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar'
Using 'CXX' from environment with value: '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++'
Using 'CXXFLAGS' from environment with value: '-Werror=partial-availability -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include -stdlib=libc++'
Using 'LDFLAGS' from environment with value: ' -L/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/lib -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64'
Using 'CPPFLAGS' from environment with value: ' -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -mmacosx-version-min=10.11 -DMACOSX_DEPLOYMENT_TARGET=10.11 -arch x86_64 -fno-stack-check -I/Users/unidan/Workspace/vlc/contrib/x86_64-apple-darwin21/include'
Host machine cpu family: x86_64
Host machine cpu: x86_64
Compiler for C++ supports link arguments -Bsymbolic-functions: YES
Compiler for C++ supports arguments -fno-exceptions: YES
Compiler for C++ supports arguments -fno-rtti: YES
Compiler for C++ supports arguments -fno-threadsafe-statics: YES
Compiler for C++ supports arguments -fvisibility-inlines-hidden: YES
Library m found: YES
Using 'PKG_CONFIG' from environment with value: 'pkg-config'
Found pkg-config: /Users/unidan/Workspace/vlc/extras/tools/build/bin/pkg-config (0.28)
Found CMake: /Users/unidan/Workspace/vlc/extras/tools/build/bin/cmake (3.17.0)
Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake)
Run-time dependency freetype2 found: NO (tried pkgconfig, framework and cmake)
Not looking for a fallback subproject for the dependency freetype2 because:
Use of fallback dependencies is disabled.
harfbuzz/meson.build:104:4: ERROR: Dependency 'freetype2' not found and fallback is disabled
A full log can be found at /Users/unidan/Workspace/vlc/contrib/contrib-x86_64-apple-darwin21/harfbuzz/build/meson-logs/meson-log.txt
make: *** [.harfbuzz] Error 1