Closed thepian closed 2 years ago
Maybe some solution from https://gitlab.kitware.com/cmake/cmake/-/issues/20568 helps
Can you please update your cmake to 3.20?
@JackBoosY Note that the errors is in building vcpkg-tool. It is fair to expect much lower versions of CMake to work for building the tool than for using the complete bootstrapped vcpkg. Or let bootstrapping download cmake first, and build the tool with that version.
@dg0yt make sence.
I started seeing this in the past three days in Actions workflow (run) w. Ubuntu 21.10, CMake 3.18 and WSL2:
john@Carbon:~/ws/wordle/vcpkg$ uname -a
Linux Carbon 5.10.60.1-microsoft-standard-WSL2 #1 SMP Wed Aug 25 23:20:18 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
john@Carbon:~/ws/wordle/vcpkg$ cmake --version
cmake version 3.16.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
My build directory is /home/john/ws/wordle/vcpkg/ and so vcpkg is cloned as /home/john/ws/wordle/vcpkg/vcpkg/. The path passed to file(GLOB_RECURSE
in /home/john/ws/wordle/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake:531 is /home/john/ws/wordle/vcpkg/vcpkg/installed//tools/* which has a double slash and isn't a valid path. The only two tools in the repo are directories:
On further digging, my issue seems likely to be #23402.
Host Environment
To Reproduce git clone https://github.com/microsoft/vcpkg && ./vcpkg/bootstrap-vcpkg.sh
Failure logs
Dockerfile