drogonframework / drogonframework/drogon
Installation error using vcpkg
- Dominant language
- C++
- Stars
- 14.3k
- Forks
- 1.4k
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 14
Description
**Describe the bug**
Installation error using vcpkg, I followed the tutorial video to implement it.
```sh
vcpkg install drogon:x64-windows
```
output:
```
Building drogon:x64-windows@1.9.7...
-- Using cached an-tao-drogon-v1.9.7.tar.gz.
-- Extracting source C:/Users/kensm/source/vcpkg/downloads/an-tao-drogon-v1.9.7.tar.gz
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" -E tar xjf C:/Users/kensm/source/vcpkg/downloads/an-tao-drogon-v1.9.7.tar.gz
Working Directory: C:/Users/kensm/source/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean.tmp
Error code: 1
See logs for more information:
C:\Users\kensm\source\vcpkg\buildtrees\drogon\extract-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive.cmake:120 (vcpkg_execute_required_process)
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:8 (vcpkg_extract_source_archive)
scripts/cmake/vcpkg_from_github.cmake:113 (vcpkg_extract_source_archive_ex)
ports/drogon/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:192 (include)
error: building drogon: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 drogon:x64-windows: 173 ms
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+drogon
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[drogon]+Build+error+on+x64-windows&body=Copy+issue+body+from+C%3A%2FUsers%2Fkensm%2Fsource%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
```
stdout-x64-windows.log
```
-- Using cached an-tao-drogon-v1.9.7.tar.gz.
-- Extracting source C:/Users/kensm/source/vcpkg/downloads/an-tao-drogon-v1.9.7.tar.gz
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: "C:/Program Files/CMake/bin/cmake.exe" -E tar xjf C:/Users/kensm/source/vcpkg/downloads/an-tao-drogon-v1.9.7.tar.gz
Working Directory: C:/Users/kensm/source/vcpkg/buildtrees/drogon/src/v1.9.7-6a37c2250f.clean.tmp
Error code: 1
See logs for more information:
C:\Users\kensm\source\vcpkg\buildtrees\drogon\extract-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_extract_source_archive.cmake:120 (vcpkg_execute_required_process)
scripts/cmake/vcpkg_extract_source_archive_ex.cmake:8 (vcpkg_extract_source_archive)
scripts/cmake/vcpkg_from_github.cmake:113 (vcpkg_extract_source_archive_ex)
ports/drogon/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:192 (include)
```
extract-err.log
```
CMake Error: Problem with archive_write_header(): Invalid empty pathname
CMake Error: Current file:
CMake Error: Problem extracting tar: C:/Users/kensm/source/vcpkg/downloads/an-tao-drogon-v1.9.7.tar.gz
```
**Desktop (please complete the following information):**
- OS: Windows 11 23H2
Thank you for your assistance. What should I do?
Contributor guide
Assessment
This issue has not been assessed yet.