Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ryml] build failure on x64-windows #38167

Closed
nextstate opened this issue Apr 13, 2024 · 3 comments
Closed

[ryml] build failure on x64-windows #38167

nextstate opened this issue Apr 13, 2024 · 3 comments
Assignees
Labels
category:question This issue is a question

Comments

@nextstate
Copy link

Operating system

Windows 11

Compiler

Visual C++ 2022

Steps to reproduce the behavior

`

Failure logs

Installing 19/20 c4core:[email protected]...
Elapsed time to handle c4core:x64-windows: 17.7 ms
c4core:x64-windows package ABI: b4a69090769a0d6f4f8cbe7fb718eec76c2f58fe3cda1f54cad0b29a0a00ff2d
Installing 20/20 ryml[core,def-callbacks]:[email protected]...
Building ryml[core,def-callbacks]:[email protected]...
D:\a\1\s\custom-triplets\x64-windows.cmake: info: loaded overlay triplet from here
-- Note: ryml only supports static library linkage. Building static library.
-- Downloading https://github.com/biojppm/rapidyaml/archive/v0.5.0.tar.gz -> biojppm-rapidyaml-v0.5.0.tar.gz...
-- Extracting source D:/a/1/s/thirdparty/vcpkg/downloads/biojppm-rapidyaml-v0.5.0.tar.gz
-- Applying patch cmake-fix.patch
-- Using source at D:/a/1/s/thirdparty/vcpkg/buildtrees/ryml/src/v0.5.0-406ae178a5.clean
-- Downloading https://github.com/biojppm/cmake/archive/fe41e86552046c3df9ba73a40bf3d755df028c1e.zip -> cmake-fe41e86552046c3df9ba73a40bf3d755df028c1e.zip...
-- Extracting source D:/a/1/s/thirdparty/vcpkg/downloads/cmake-fe41e86552046c3df9ba73a40bf3d755df028c1e.zip
-- Using source at D:/a/1/s/thirdparty/vcpkg/buildtrees/ryml/src/deps/55df028c1e-bc82d887ab.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: "C:/Program Files/Microsoft Visual Studio/2022/Enterprise/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" -v
Working Directory: D:/a/1/s/thirdparty/vcpkg/buildtrees/ryml/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\a\1\s\thirdparty\vcpkg\buildtrees\ryml\config-x64-windows-rel-CMakeCache.txt.log
D:\a\1\s\thirdparty\vcpkg\buildtrees\ryml\config-x64-windows-out.log

Call Stack (most recent call first):
D:/a/1/s/build/out/x64-Release-CI/vcpkg_installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:252 (vcpkg_execute_required_process)
ports/ryml/portfile.cmake:38 (vcpkg_cmake_configure)
scripts/ports.cmake:175 (include)

error: building ryml:x64-windows failed with: BUILD_FAILED
Elapsed time to handle ryml:x64-windows: 7.8 s
Please ensure you're using the latest port files with git pull and vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+ryml
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[ryml]+Build+error+on+x64-windows&body=Copy+issue+body+from+D%3A%2Fa%2F1%2Fs%2Fbuild%2Fout%2Fx64-Release-CI%2Fvcpkg_installed%2Fvcpkg%2Fissue_body.md
You can also submit an issue by running (GitHub CLI must be installed):
gh issue create -R microsoft/vcpkg --title "[ryml] Build failure on x64-windows" --body-file D:/a/1/s/build/out/x64-Release-CI/vcpkg_installed/vcpkg/issue_body.md
-- Running vcpkg install - failed
CMake Error at thirdparty/vcpkg/scripts/buildsystems/vcpkg.cmake:899 (message):
vcpkg install failed. See logs for more information:
D:\a\1\s\build\out\x64-Release-CI\vcpkg-manifest-install.log
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeDetermineSystem.cmake:146 (include)
CMakeLists.txt:14 (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]PowerShell exited with code '1'.
Finishing: Configure
config-x64-windows-out.log
config-x64-windows-rel-CMakeCache.txt.log
stdout-x64-windows.log

Additional context

No response

@nextstate nextstate added the category:port-bug The issue is with a library, which is something the port should already support label Apr 13, 2024
@nextstate nextstate changed the title [ryml] build failure [ryml] build failure on x64-windows Apr 13, 2024
@nextstate
Copy link
Author

This looks like the CMake 3.29.1 issue as described in #37968

@dg0yt
Copy link
Contributor

dg0yt commented Apr 13, 2024

Don't use CMake 3.29.1: #37968
Replace CMake, and reinstall all packages that were built with this version.

@JonLiu1993
Copy link
Member

Duplicate of #37968

@JonLiu1993 JonLiu1993 marked this as a duplicate of #37968 Apr 15, 2024
@Cheney-W Cheney-W added category:question This issue is a question and removed category:port-bug The issue is with a library, which is something the port should already support labels Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

4 participants