[curl] build error on x64-mingw-static
Nobody has claimed this yet.
- Dominant language
- CMake
- Stars
- 27.5k
- Forks
- 7.7k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 321
Description
./vcpkg install curl:x64-mingw-static
Computing installation plan...
The following packages will be built and installed:
curl[core,non-http,ssl,sspi]:x64-mingw-static@8.21.0#1
Detecting compiler hash for triplet x64-mingw-static...
Compiler found: /usr/bin/x86_64-w64-mingw32-g++
Restored 0 package(s) from /home/shawn/.cache/vcpkg/archives in 23.9 us. Use --debug to see more details.
Installing 1/1 curl[core,non-http,ssl,sspi]:x64-mingw-static@8.21.0#1...
curl[core,non-http,ssl,sspi]:x64-mingw-static@8.21.0#1 package ABI: e9b37ef9acc06a3416db1acda21a996c56cfc12a255b4f8899dc149ef6294d26
Building curl[core,non-http,ssl,sspi]:x64-mingw-static@8.21.0#1...
/home/shawn/vcpkg/triplets/community/x64-mingw-static.cmake: info: loaded community triplet from here. Community triplets are not built in the curated registry and are thus less likely to succeed.
-- Using cached curl-curl-curl-8_21_0.tar.gz
-- Cleaning sources at /home/shawn/vcpkg/buildtrees/curl/src/url-8_21_0-3ffa9f46b7.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /home/shawn/vcpkg/downloads/curl-curl-curl-8_21_0.tar.gz
-- Applying patch dependencies.patch
-- Using source at /home/shawn/vcpkg/buildtrees/curl/src/url-8_21_0-3ffa9f46b7.clean
-- Configuring x64-mingw-static
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /home/shawn/vcpkg/downloads/tools/ninja-1.13.2-linux/ninja -v
Working Directory: /home/shawn/vcpkg/buildtrees/curl/x64-mingw-static-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
/home/shawn/vcpkg/buildtrees/curl/config-x64-mingw-static-dbg-CMakeCache.txt.log
/home/shawn/vcpkg/buildtrees/curl/config-x64-mingw-static-rel-CMakeCache.txt.log
/home/shawn/vcpkg/buildtrees/curl/config-x64-mingw-static-dbg-CMakeConfigureLog.yaml.log
/home/shawn/vcpkg/buildtrees/curl/config-x64-mingw-static-rel-CMakeConfigureLog.yaml.log
/home/shawn/vcpkg/buildtrees/curl/config-x64-mingw-static-out.log
Call Stack (most recent call first):
installed/x64-linux/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:269 (vcpkg_execute_required_process)
ports/curl/portfile.cmake:87 (vcpkg_cmake_configure)
scripts/ports.cmake:209 (include)
error: building curl:x64-mingw-static 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 curl:x64-mingw-static: 4.9 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+curl
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=%5Bcurl%5D%20build%20error%20on%20x64-mingw-static&body=Copy%20issue%20body%20from%20%2Fhome%2Fshawn%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
Copy issue body from /home/shawn/vcpkg/installed/vcpkg/issue_body.md
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with ports/curl/portfile.cmake and triplets/community/x64-mingw-static.cmake to understand the configuration being attempted. Then inspect the listed config-x64-mingw-static logs and config-x64-mingw-static-out.log for the underlying CMake error. Done means vcpkg install curl:x64-mingw-static completes successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100