microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.4k stars 6.47k forks source link

[cpr] Build error #25364

Closed LeoonThePaster closed 2 years ago

LeoonThePaster commented 2 years ago
c:\dev\cpp\vcpkg>vcpkg.exe install cpr
Computing installation plan...
The following packages will be built and installed:
    cpr[core,ssl]:x64-windows-static -> 1.8.3
Detecting compiler hash for triplet x64-windows-static...
Restored 0 packages from C:\Users\Floppa\AppData\Local\vcpkg\archives in 156.3 us. Use --debug to see more details.
Installing 1/1 cpr:x64-windows-static...
Building cpr[core,ssl]:x64-windows-static...
-- Using cached libcpr-cpr-db351ffbbadc6c4e9239daaa26e9aefa9f0ec82d.tar.gz.
-- Cleaning sources at C:/dev/cpp/vcpkg/buildtrees/cpr/src/fa9f0ec82d-654c87e817.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/dev/cpp/vcpkg/downloads/libcpr-cpr-db351ffbbadc6c4e9239daaa26e9aefa9f0ec82d.tar.gz
-- Applying patch 001-cpr-config.patch
-- Using source at C:/dev/cpp/vcpkg/buildtrees/cpr/src/fa9f0ec82d-654c87e817.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows-static
-- Building x64-windows-static-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:129 (message):
    Command failed: "C:/Program Files/CMake/bin/cmake.exe" --build . --config Debug --target install -- -v -j17
    Working Directory: C:/dev/cpp/vcpkg/buildtrees/cpr/x64-windows-static-dbg
    See logs for more information:
      C:\dev\cpp\vcpkg\buildtrees\cpr\install-x64-windows-static-dbg-out.log

Call Stack (most recent call first):
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process)
  installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build)
  ports/cpr/portfile.cmake:28 (vcpkg_cmake_install)
  scripts/ports.cmake:146 (include)

error: building cpr:x64-windows-static failed with: BUILD_FAILED
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+cpr
You can submit a new issue at:
    https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[cpr]+Build+error
Include '[cpr] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
    vcpkg-tool version: 2022-05-05-67e17c1782801cf481be9ac0b3765dff3e4bdeb8
    vcpkg-scripts version: 17f96c51a 2022-06-20 (13 hours ago)

exact same error with cryptopp

(yesterday everything worked normal, i even could install msgpack after this error)

autoantwort commented 2 years ago

C:\dev\cpp\vcpkg\buildtrees\cpr\install-x64-windows-static-dbg-out.log

Can you provide this file

JackBoosY commented 2 years ago

We don't have enough information to solve this issue, unfortunately; if you have any more information to help us solve this, please reopen!