microsoft / vcpkg

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

[openssl:x64-windows] build failure #14401

Closed nil-is-lin closed 4 years ago

nil-is-lin commented 4 years ago

Host Environment

To Reproduce Steps to reproduce the behavior: ./vcpkg install qt5[base]:x64-windows ./vcpkg install mlpack:x64-windows

Failure logs Starting package 1/4: openssl:x64-windows Building package openssl[core]:x64-windows... Could not locate cached archive: C:\Users***\AppData\Local\vcpkg\archives\d5\d57fc092dd6d7e3b92df37b1f9593188a516576b.zip CMake Error at ports/openssl/portfile.cmake:2 (message): Can't build openssl if libressl/boringssl is installed. Please remove libressl/boringssl, and try install openssl again if you need it. Call Stack (most recent call first): scripts/ports.cmake:135 (include)

Error: Building package openssl:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: openssl:x64-windows Vcpkg version: 2020.06.15-nohash

Additional context I cant find libressl or boringssl by ./vcpkg list. this problem came after i update with git pull & ./vcpkg upgrade --no-dry-run:

From https://github.com/Microsoft/vcpkg b7056e9f1..fa5c25a6b master -> origin/master

  • [new tag] 2020.11 -> 2020.11
  • [new tag] 2020.11-1 -> 2020.11-1 Updating b7056e9f1..fa5c25a6b ...

and

The following packages will be rebuilt:

  • boost[core]:x64-windows
  • boost-asio[core]:x64-windows
  • boost-beast[core]:x64-windows
  • boost-log[core]:x64-windows
  • boost-parameter-python[core]:x64-windows
  • boost-process[core]:x64-windows
  • boost-python[core]:x64-windows
  • libpq[core,openssl,zlib]:x64-windows
  • mlpack[core]:x64-windows
  • openssl[core]:x64-windows
  • python3[core]:x64-windows
  • qcustomplot[core]:x64-windows
  • qt5[activeqt,core,declarative,essentials,imageformats,multimedia,networkauth,quickcontrols2,svg,tools]:x64-windows
  • qt5-activeqt[core]:x64-windows
  • qt5-base[core]:x64-windows
  • qt5-charts[core]:x64-windows
  • qt5-declarative[core]:x64-windows
  • qt5-imageformats[core]:x64-windows
  • qt5-multimedia[core]:x64-windows
  • qt5-networkauth[core]:x64-windows
  • qt5-quickcontrols2[core]:x64-windows
  • qt5-svg[core]:x64-windows
  • qt5-tools[core]:x64-windows
  • qt5-xmlpatterns[core]:x64-windows
  • vtk[core,qt]:x64-windows Additional packages (*) will be modified to complete this operation.

However, it stop

Starting package 26/50: openssl:x64-windows Building package openssl[core]:x64-windows... Could not locate cached archive: C:\Users\nil_l\AppData\Local\vcpkg\archives\d5\d57fc092dd6d7e3b92df37b1f9593188a516576b.zip CMake Error at ports/openssl/portfile.cmake:2 (message): Can't build openssl if libressl/boringssl is installed. Please remove libressl/boringssl, and try install openssl again if you need it. Call Stack (most recent call first): scripts/ports.cmake:135 (include)

Error: Building package openssl:x64-windows failed with: BUILD_FAILED Please ensure you're using the latest portfiles with .\vcpkg update, then submit an issue at https://github.com/Microsoft/vcpkg/issues including: Package: openssl:x64-windows Vcpkg version: 2020.06.15-nohash

Now, I cant reinstall qt5 and mlpack.

nil-is-lin commented 4 years ago

oh, i miss the openssl-windows:x64-windows pkg. I remove it and reinstall, it works well till now.