Skip to content

cmake-oldest-deps build is broken #6699

@devjgm

Description

@devjgm

GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/0684b9b8-3891-44b1-82f6-527a15409384;tab=detail?project=cloud-cpp-testing-resources
Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/main/4032b07e9f3556d4d29d17ee2bb214d5d136292c/ubuntu-focal-cmake-oldest-deps/log-0684b9b8-3891-44b1-82f6-527a15409384.txt

This error is reproducible locally with:

$ ./ci/cloudbuild/build.sh -t cmake-oldest-deps-pr --docker
...
-------------------
|   Configuring   |
-------------------
-- Running vcpkg install
-- Running vcpkg install - failed
CMake Error at cmake-out/vcpkg/scripts/buildsystems/vcpkg.cmake:815 (message):
  vcpkg install failed.  See logs for more information:
  /workspace/cmake-out/build/vcpkg-manifest-install.log
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/CMakeDetermineSystem.cmake:93 (include)
  CMakeLists.txt:26 (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_CXX_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
...

The error is from vcpkg. The cmake-oldest-deps build clones vcpkg at head

git clone https://github.com/microsoft/vcpkg.git "${vcpkg_root}"

so the problem could be some recent commit to vcpkg that happened today.

Here are commits from today (June 4): https://github.com/microsoft/vcpkg/commits/master

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions