microsoft / vcpkg

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

[vcpkg-gfortran] Build error #30959

Closed EasonChen0523 closed 1 year ago

EasonChen0523 commented 1 year ago

Operating system

Wondows 10

Compiler

MSVC 2017

Steps to reproduce the behavior

vcpkg install geogram --triplet x64-windows

Failure logs

Computing installation plan... The following packages will be built and installed: geogram[core]:x64-windows -> 1.7.6#4

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):

  Failed to download file with error: 1
  If you are using a proxy, please check your proxy setting. Possible causes are:

  1. You are actually using an HTTP proxy, but setting HTTPS_PROXY variable
     to `https://address:port`. This is not correct, because `https://` prefix
     claims the proxy is an HTTPS proxy, while your proxy (v2ray, shadowsocksr
     , etc..) is an HTTP proxy. Try setting `http://address:port` to both
     HTTP_PROXY and HTTPS_PROXY instead.

  2. If you are using Windows, vcpkg will automatically use your Windows IE Proxy Settings
     set by your proxy software. See https://github.com/microsoft/vcpkg-tool/pull/77
     The value set by your proxy might be wrong, or have same `https://` prefix issue.

  3. Your proxy's remote server is out of service.

  If you've tried directly download the link, and believe this is not a temporary
  download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
  to report this upstream download server failure.

Call Stack (most recent call first): scripts/cmake/vcpkg_download_distfile.cmake:270 (z_vcpkg_download_distfile_show_proxy_and_fail) scripts/cmake/vcpkg_acquire_msys.cmake:26 (vcpkg_download_distfile) scripts/cmake/vcpkg_acquire_msys.cmake:67 (z_vcpkg_acquire_msys_download_package) scripts/cmake/vcpkg_acquire_msys.cmake:345 (z_vcpkg_acquire_msys_declare_package) scripts/cmake/vcpkg_find_fortran.cmake:59 (vcpkg_acquire_msys) ports/vcpkg-gfortran/portfile.cmake:2 (vcpkg_find_fortran) scripts/ports.cmake:147 (include)

Additional context

No response

Adela0814 commented 1 year ago

Fixed by https://github.com/microsoft/vcpkg/pull/30546, please pull the latest vcpkg and try again.