Skip to content

[llvm] build failure on arm-osx #48729

@couteau

Description

@couteau

Operating system

Host: arm64-osx (MacOS Sequoia - MacBook Pro M1 Max)

Compiler

  • Compiler: AppleClang 17.0.0.17000404
  • CMake Version: 4.2.0
  • vcpkg-tool version: 2025-11-19-da1f056dc0775ac651bea7e3fbbf4066146a55f3
    vcpkg-scripts version: unknown

Steps to reproduce the behavior

Package: llvm[clang,core,default-targets,enable-bindings,enable-terminfo,enable-zlib,enable-zstd,lld,target-aarch64,tools]:[email protected]#5

`vcpkg install --x-feature=ossl --x-feature=bindings --x-feature=3d --x-feature=gui --x-feature=exiv2 --x-feature=auth`

Failure logs

-- Note: llvm only supports static library linkage. Building static library.
-- Using cached llvm-llvm-project-llvmorg-18.1.6.tar.gz
-- Cleaning sources at /Users/username/.vcpkg/buildtrees/llvm/src/org-18.1.6-167c29d834.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/username/.vcpkg/downloads/llvm-llvm-project-llvmorg-18.1.6.tar.gz
-- Applying patch 0001-fix-install-package-dir.patch
-- Applying patch 0002-fix-tools-install-dir.patch
-- Applying patch 0003-fix-llvm-config.patch
-- Applying patch 0004-disable-libomp-aliases.patch
-- Applying patch 0005-remove-numpy.patch
-- Applying patch 0006-create-destination-mlir-directory.patch
-- Applying patch 75711.patch
-- Applying patch 79694.patch
-- Applying patch 82407.patch
-- Applying patch add-include-chrono.patch
-- Applying patch cmake4.patch
-- Using source at /Users/username/.vcpkg/buildtrees/llvm/src/org-18.1.6-167c29d834.clean
-- Found external ninja('1.13.2').
-- Getting CMake variables for arm64-osx-dynamic-release
-- Loading CMake variables from /Users/username/.vcpkg/buildtrees/llvm/cmake-get-vars_C_CXX-arm64-osx-dynamic-release.cmake.log
-- Configuring arm64-osx-dynamic-release
CMake Warning at /Users/username/Source/QGIS/build/vcpkg_installed/arm64-osx-dynamic-release/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:344 (message):
  The following variables are not used in CMakeLists.txt:

      LIBCXXABI_USE_LLVM_UNWINDER

  Please recheck them and remove the unnecessary options from the
  `vcpkg_cmake_configure` call.

  If these options should still be passed for whatever reason, please use the
  `MAYBE_UNUSED_VARIABLES` argument.
Call Stack (most recent call first):
  /Users/username/.cache/vcpkg/registries/git-trees/680d20d34077e7f0937b68f8f9bcd22fac6bd11e/portfile.cmake:282 (vcpkg_cmake_configure)
  scripts/ports.cmake:206 (include)


-- Building arm64-osx-dynamic-release-rel
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message):
    Command failed: /opt/homebrew/bin/cmake --build . --config Release --target install -- -v -j11
    Working Directory: /Users/username/.vcpkg/buildtrees/llvm/arm64-osx-dynamic-release-rel
    See logs for more information:
      /Users/username/.vcpkg/buildtrees/llvm/install-arm64-osx-dynamic-release-rel-out.log

Call Stack (most recent call first):
  /Users/username/Source/QGIS/build/vcpkg_installed/arm64-osx-dynamic-release/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  /Users/username/Source/QGIS/build/vcpkg_installed/arm64-osx-dynamic-release/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  /Users/username/.cache/vcpkg/registries/git-trees/680d20d34077e7f0937b68f8f9bcd22fac6bd11e/portfile.cmake:307 (vcpkg_cmake_install)
  scripts/ports.cmake:206 (include)

Additional context

See Comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    category:port-bugThe issue is with a library, which is something the port should already support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions