Skip to content

Instantly share code, notes, and snippets.

@nicolasdanelon
Created August 6, 2024 10:32
Show Gist options
  • Save nicolasdanelon/f48a814dcc0f896ad3db6a5408f9276d to your computer and use it in GitHub Desktop.
Save nicolasdanelon/f48a814dcc0f896ad3db6a5408f9276d to your computer and use it in GitHub Desktop.
Installing 33/58 libjxl:[email protected]...
Building libjxl:[email protected]...
/Users/nicolasmd/wokr/ladybird-source/Meta/CMake/vcpkg/release-triplets/arm64-osx.cmake: info: loaded overlay triplet from here
/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/versioning_/versions/libjxl/4a0c70d1ff8967afd670855a24154ccb04321de1: info: installing overlay port from here
-- Using cached libjxl-libjxl-v0.10.2.tar.gz.
-- Cleaning sources at /Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/src/v0.10.2-fef900ea4e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/downloads/libjxl-libjxl-v0.10.2.tar.gz
-- Applying patch fix-dependencies.patch
-- Applying patch fix-tools-build.patch
-- Using source at /Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/src/v0.10.2-fef900ea4e.clean
-- Found external ninja('1.12.1').
-- Configuring arm64-osx
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: /opt/homebrew/bin/ninja -v
Working Directory: /Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/arm64-osx-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/config-arm64-osx-rel-CMakeCache.txt.log
/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/config-arm64-osx-rel-CMakeConfigureLog.yaml.log
/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/config-arm64-osx-out.log
Call Stack (most recent call first):
/Users/nicolasmd/wokr/ladybird-source/Build/ladybird/vcpkg_installed/arm64-osx/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
buildtrees/versioning_/versions/libjxl/4a0c70d1ff8967afd670855a24154ccb04321de1/portfile.cmake:27 (vcpkg_cmake_configure)
scripts/ports.cmake:191 (include)
error: building libjxl:arm64-osx failed with: BUILD_FAILED
Elapsed time to handle libjxl:arm64-osx: 1.4 s
Please ensure you're using the latest port files with `git pull` and `vcpkg update`.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libjxl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[libjxl]+Build+error+on+arm64-osx&body=Copy+issue+body+from+%2FUsers%2Fnicolasmd%2Fwokr%2Fladybird-source%2FBuild%2Fladybird%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
-- Running vcpkg install - failed
CMake Error at Toolchain/Tarballs/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed. See logs for more information:
/Users/nicolasmd/wokr/ladybird-source/Build/ladybird/vcpkg-manifest-install.log
Call Stack (most recent call first):
/opt/homebrew/Cellar/cmake/3.30.2/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:15 (project)
CMake Error: CMake was unable to find a build program corresponding to "Ninja". CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.
-- Configuring incomplete, errors occurred!
@nicolasdanelon
Copy link
Author

libjxl/config-arm64-osx-out.log

[1/1] "/opt/homebrew/Cellar/cmake/3.30.2/bin/cmake" -E chdir ".." "/opt/homebrew/Cellar/cmake/3.30.2/bin/cmake" "/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/src/v0.10.2-fef900ea4e.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/packages/libjxl_arm64-osx" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DJPEGXL_VERSION=" "-DJPEGXL_FORCE_SYSTEM_BROTLI=ON" "-DJPEGXL_FORCE_SYSTEM_HWY=ON" "-DJPEGXL_FORCE_SYSTEM_LCMS2=ON" "-DJPEGXL_ENABLE_TOOLS=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_GIF=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JPEG=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_PNG=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=ON" "-DJPEGXL_ENABLE_BENCHMARK=OFF" "-DJPEGXL_ENABLE_DOXYGEN=OFF" "-DJPEGXL_ENABLE_EXAMPLES=OFF" "-DJPEGXL_ENABLE_FUZZERS=OFF" "-DJPEGXL_ENABLE_JNI=OFF" "-DJPEGXL_ENABLE_MANPAGES=OFF" "-DJPEGXL_ENABLE_OPENEXR=OFF" "-DJPEGXL_ENABLE_PLUGINS=OFF" "-DJPEGXL_ENABLE_SJPEG=OFF" "-DJPEGXL_ENABLE_SKCMS=OFF" "-DJPEGXL_ENABLE_TCMALLOC=OFF" "-DBUILD_TESTING=OFF" "-DCMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON" "-DCMAKE_MAKE_PROGRAM=/opt/homebrew/bin/ninja" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-osx" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg" "-D_VCPKG_INSTALLED_DIR=/Users/nicolasmd/wokr/ladybird-source/Build/ladybird/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=arm64"
FAILED: ../CMakeCache.txt
"/opt/homebrew/Cellar/cmake/3.30.2/bin/cmake" -E chdir ".." "/opt/homebrew/Cellar/cmake/3.30.2/bin/cmake" "/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/buildtrees/libjxl/src/v0.10.2-fef900ea4e.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/packages/libjxl_arm64-osx" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DJPEGXL_VERSION=" "-DJPEGXL_FORCE_SYSTEM_BROTLI=ON" "-DJPEGXL_FORCE_SYSTEM_HWY=ON" "-DJPEGXL_FORCE_SYSTEM_LCMS2=ON" "-DJPEGXL_ENABLE_TOOLS=OFF" "-DCMAKE_DISABLE_FIND_PACKAGE_GIF=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_JPEG=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_PNG=ON" "-DCMAKE_DISABLE_FIND_PACKAGE_ZLIB=ON" "-DJPEGXL_ENABLE_BENCHMARK=OFF" "-DJPEGXL_ENABLE_DOXYGEN=OFF" "-DJPEGXL_ENABLE_EXAMPLES=OFF" "-DJPEGXL_ENABLE_FUZZERS=OFF" "-DJPEGXL_ENABLE_JNI=OFF" "-DJPEGXL_ENABLE_MANPAGES=OFF" "-DJPEGXL_ENABLE_OPENEXR=OFF" "-DJPEGXL_ENABLE_PLUGINS=OFF" "-DJPEGXL_ENABLE_SJPEG=OFF" "-DJPEGXL_ENABLE_SKCMS=OFF" "-DJPEGXL_ENABLE_TCMALLOC=OFF" "-DBUILD_TESTING=OFF" "-DCMAKE_FIND_PACKAGE_TARGETS_GLOBAL=ON" "-DCMAKE_MAKE_PROGRAM=/opt/homebrew/bin/ninja" "-DCMAKE_SYSTEM_NAME=Darwin" "-DBUILD_SHARED_LIBS=OFF" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/scripts/toolchains/osx.cmake" "-DVCPKG_TARGET_TRIPLET=arm64-osx" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=external" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=arm64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=/Users/nicolasmd/wokr/ladybird-source/Toolchain/Tarballs/vcpkg" "-D_VCPKG_INSTALLED_DIR=/Users/nicolasmd/wokr/ladybird-source/Build/ladybird/vcpkg_installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DCMAKE_OSX_ARCHITECTURES=arm64"
-- The C compiler identification is Clang 18.1.8
-- The CXX compiler identification is AppleClang 15.0.0.15000309
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/homebrew/opt/llvm/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/homebrew/opt/ccache/libexec/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_SYSTEM_PROCESSOR is arm64
-- Performing Test CXX_FUZZERS_SUPPORTED
-- Performing Test CXX_FUZZERS_SUPPORTED - Failed
-- Performing Test CXX_MACRO_PREFIX_MAP
-- Performing Test CXX_MACRO_PREFIX_MAP - Success
-- Performing Test CXX_NO_RTTI_SUPPORTED
-- Performing Test CXX_NO_RTTI_SUPPORTED - Success
-- Found PkgConfig: /opt/homebrew/bin/pkg-config (found version "0.29.2")
-- Performing Test JXL_HWY_DISABLED_TARGETS_FORCED
-- Performing Test JXL_HWY_DISABLED_TARGETS_FORCED - Failed
CMake Error at CMakeLists.txt:179 (message):
  Different C/C++ compilers set: Clang vs AppleClang


-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment