microsoft / microsoft/vcpkg

[lapack-reference] build error on x64-windows

Open
#49,688 9 comments 0 reactions 0 assignees View on GitHub
Stale
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

warning: The vcpkg E:\Software\vcpkg\vcpkg.exe is using detected vcpkg root E:\Software\vcpkg and ignoring mismatched VCPKG_ROOT environment value d:\Program Files\Microsoft Visual Studio\18\Professional\VC\vcpkg. To suppress this message, unset the environment variable or use the --vcpkg-root command line switch.
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: E:\\Software\\vcpkg\\downloads\\tools\\ninja-1.13.2-windows\\ninja.exe -v
Working Directory: E:/Software/vcpkg/buildtrees/lapack-reference/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
E:\Software\vcpkg\buildtrees\lapack-reference\config-x64-windows-dbg-CMakeCache.txt.log
E:\Software\vcpkg\buildtrees\lapack-reference\config-x64-windows-rel-CMakeCache.txt.log
E:\Software\vcpkg\buildtrees\lapack-reference\config-x64-windows-dbg-CMakeConfigureLog.yaml.log
E:\Software\vcpkg\buildtrees\lapack-reference\config-x64-windows-rel-CMakeConfigureLog.yaml.log
E:\Software\vcpkg\buildtrees\lapack-reference\config-x64-windows-out.log

Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
ports/lapack-reference/portfile.cmake:61 (vcpkg_cmake_configure)
scripts/ports.cmake:206 (include)

[DEBUG] 1010: cmd_execute_and_stream_data() returned 1 after 7409899 us
error: building lapack-reference:x64-windows failed with: BUILD_FAILED
See https://learn.microsoft.com/vcpkg/troubleshoot/build-failures?WT.mc_id=vcpkg_inproduct_cli for more information.
Elapsed time to handle lapack-reference:x64-windows: 7.4 s
[DEBUG] Detecting host with IsWow64Process2
[DEBUG] 1011: CreateProcessW("C:\Program Files\Git\cmd\git.exe" "--git-dir=E:\Software\vcpkg\.git" "--work-tree=E:\Software\vcpkg\.git" -c core.autocrlf=false show "--pretty=format:%h %cd (%cr)" -s --date=short HEAD)
[DEBUG] 1011: cmd_execute_and_stream_data() returned 0 after 49548 us
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+lapack-reference
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Blapack-reference%5D%20build%20error%20on%20x64-windows&body=Copy%20issue%20body%20from%20E%3A%2FSoftware%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md

Contributor guide

Open the contributing guide

Research direction

Start with the configuration logs listed in the report, especially config-x64-windows-out.log and the debug and release CMake logs. Inspect ports/lapack-reference/portfile.cmake around line 61, then reproduce with the latest port files after git pull and vcpkg update. Done means identifying the configure failure and confirming that lapack-reference:x64-windows builds successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake
Domain
build-system, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.