This repository has been archived by the owner on Dec 18, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 254
CMake CI Builds Fail on macOS Big Sur #691
Labels
bug
Some kind of fixable problem was encountered
build
Related to the software build process
high priority
Comments
emabrey
changed the title
CMake CI Builds Fail on MacOS
CMake CI Builds Fail on MacOS Big Sur
Jan 24, 2022
emabrey
changed the title
CMake CI Builds Fail on MacOS Big Sur
CMake CI Builds Fail on macOS Big Sur
Jan 24, 2022
This may be solved by updating the vcpkg submodule, but it will have to wait until tomorrow for me to try troubleshooting this. The other alternative is that the config for Github Runners has a misconfiguration and is passing in a bad value for |
Here is the log from the CMake acitivty within vcpkg:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
bug
Some kind of fixable problem was encountered
build
Related to the software build process
high priority
Guidelines
Version/Commit hash
No response
Describe the bug.
The CMake build within the Github Runner for macOS 11 is failing with the following error message:
For example, see https://github.com/tenacityteam/tenacity/runs/4917165526?check_suite_focus=true
Expected behavior
The build should either select the correct build tool or otherwise handle this case on macOS 11 without failing.
OS
macOS Big Sur 11
Additional context
Run cmake -B build -D VCPKG=ON -D CMAKE_BUILD_TYPE=MinSizeRel -D CMAKE_INSTALL_PREFIX=/Users/runner/work/tenacity/tenacity/build/install
-- Found Git: /usr/local/bin/git (found version "2.34.1")
-- Using dependencies from vcpkg Git submodule
-- Bootstrapping vcpkg before install
-- Bootstrapping vcpkg before install - failed
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:829 (message):
vcpkg install failed. See logs for more information:
/Users/runner/work/tenacity/tenacity/build/vcpkg-bootstrap.log
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.22.1/share/cmake/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:295 (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.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
Error: Process completed with exit code 1.
This issue is not a duplicate
The text was updated successfully, but these errors were encountered: