cgal icon indicating copy to clipboard operation
cgal copied to clipboard

Boost accumulator Build error during installation

Open Alison-97 opened this issue 3 years ago • 0 comments

Issue Details

I'm trying to install cgal using vcpkg and I'm following the instructions in the documentation, running C:\dev\vcpkg> ./vcpkg.exe install yasm-tool:x86-windows C:\dev\vcpkg> ./vcpkg.exe install cgal The installation of packages then stops while this error is prompted.

Source Code

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

      Failed to download file with error: 1
      If you use 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. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
         will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
         Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
         Change `http=address:port;https=address:port` to `address`, and fill the port number.

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

      In future vcpkg releases, if you are using Windows, you no longer need to set
      HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
      Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
      and (https://github.com/microsoft/vcpkg-tool/pull/77)

      Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues

Call Stack (most recent call first):
  scripts/cmake/vcpkg_download_distfile.cmake:273 (z_vcpkg_download_distfile_show_proxy_and_fail)
  scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
  ports/boost-accumulators/portfile.cmake:3 (vcpkg_from_github)
  scripts/ports.cmake:147 (include)


Error: Building package boost-accumulators:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles 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+boost-accumulators
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[boost-accumulators]+Build+error
including:
  package: boost-accumulators[core]:x86-windows -> 1.79.0
    vcpkg-tool version: 2022-03-25-d9702d9d89b9468c32efc3f18fb84c3021d7dbae
    vcpkg-scripts version: 933aa19b2 2022-08-02 (3 hours ago)

Environment

  • OS: Windows 11 version 21H2
  • Compiler: Powershell 5.1.22000.832

Is there a way to download the "boost-accumulator" manually? Also is there a way to ensure that all the subsequent files included in the package are downloaded?

Here is the output of the Powershell: cmake error.txt

Alison-97 avatar Aug 03 '22 04:08 Alison-97