Skip to content

MacOS build failing - vcpkg install issue #988

@sflynn850

Description

@sflynn850

Something odd is going on with vcpkg on MacOS. I tried switching vcpkg to an earlier release, on the odd chance that a new release broke our particular build. I also tried reverting back to 2.0.0, which I know worked.

Pasting the complete output here on the chance that this isn't a RIS bug, but in fact an issue on my machine. I'm running MacOS 15.3.2 on an 36GB M3 Max.


❯ cmake --preset macos-vcpkg
-- Running vcpkg install
Detecting compiler hash for triplet arm64-osx...
error: while detecting compiler information:
The log file content at "/Users/seanflynn/misc-code/raceintospace/vcpkg/buildtrees/detect_compiler/stdout-arm64-osx.log" is:
-- Configuring arm64-osx-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: /opt/homebrew/bin/cmake /Users/seanflynn/misc-code/raceintospace/vcpkg/scripts/detect_compiler -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/Users/seanflynn/misc-code/raceintospace/vcpkg/packages/detect_compiler_arm64-osx -DVCPKG_COMPILER_CACHE_FILE=/Users/seanflynn/misc-code/raceintospace/build/debug/vcpkg_installed/vcpkg/compiler-file-hash-cache.json -DCMAKE_MAKE_PROGRAM=/Users/seanflynn/misc-code/raceintospace/vcpkg/downloads/tools/ninja/1.12.1-osx/ninja -DCMAKE_SYSTEM_NAME=Darwin -DBUILD_SHARED_LIBS=OFF -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=/Users/seanflynn/misc-code/raceintospace/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/seanflynn/misc-code/raceintospace/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/seanflynn/misc-code/raceintospace/vcpkg -DZ_VCPKG_ROOT_DIR=/Users/seanflynn/misc-code/raceintospace/vcpkg -D_VCPKG_INSTALLED_DIR=/Users/seanflynn/misc-code/raceintospace/build/debug/vcpkg_installed -DVCPKG_MANIFEST_INSTALL=OFF -DCMAKE_OSX_ARCHITECTURES=arm64
    Working Directory: /Users/seanflynn/misc-code/raceintospace/vcpkg/buildtrees/detect_compiler/arm64-osx-rel
    Error code: 1
    See logs for more information:
      /Users/seanflynn/misc-code/raceintospace/vcpkg/buildtrees/detect_compiler/config-arm64-osx-rel-CMakeCache.txt.log
      /Users/seanflynn/misc-code/raceintospace/vcpkg/buildtrees/detect_compiler/config-arm64-osx-rel-out.log
      /Users/seanflynn/misc-code/raceintospace/vcpkg/buildtrees/detect_compiler/config-arm64-osx-rel-err.log

Call Stack (most recent call first):
  scripts/cmake/vcpkg_configure_cmake.cmake:344 (vcpkg_execute_required_process)
  scripts/detect_compiler/portfile.cmake:18 (vcpkg_configure_cmake)
  scripts/ports.cmake:203 (include)


error: vcpkg was unable to detect the active compiler's information. See above for the CMake failure output.
-- Running vcpkg install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:938 (message):
  vcpkg install failed.  See logs for more information:
  /Users/seanflynn/misc-code/raceintospace/build/debug/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /opt/homebrew/share/cmake/Modules/CMakeDetermineSystem.cmake:146 (include)
  CMakeLists.txt:3 (project)


CMake Error: CMake was unable to find a build program corresponding to "Unix Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
 ~/misc-code/raceintospace  on master +1

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugAn issue that causes a crash or an invalid or undesirable game state.MacOSIssues related to Apple systems

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions