Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[openssl] Build error on x64-windows #39308

Open
GEOEGII555 opened this issue Jun 15, 2024 · 1 comment
Open

[openssl] Build error on x64-windows #39308

GEOEGII555 opened this issue Jun 15, 2024 · 1 comment
Assignees
Labels
category:question This issue is a question

Comments

@GEOEGII555
Copy link

GEOEGII555 commented Jun 15, 2024

Package: openssl:[email protected]

Host Environment

  • Host: x64-windows
  • Compiler: MSVC 19.39.33523.0
  • vcpkg-tool version: 2024-06-10-02590c430e4ed9215d27870138c2e579cc338772
    vcpkg-scripts version: f7423ee 2024-06-14 (17 hours ago)

To Reproduce

vcpkg install

Failure logs

-- Downloading https://github.com/openssl/openssl/archive/openssl-3.3.1.tar.gz -> openssl-openssl-openssl-3.3.1.tar.gz...

CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:32 (message):
      
      Failed to download file with error: no such file or directory
      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_from_github.cmake:106 (vcpkg_download_distfile)
  C:/Users/GEOEGII555/AppData/Local/vcpkg/registries/git-trees/e117c9b91839ae0538b4e9a8d6809aecfa49948a/portfile.cmake:10 (vcpkg_from_github)
  scripts/ports.cmake:191 (include)



Additional context

vcpkg.json
{
  "dependencies": [
    "websocketpp",
    "openssl"
  ]
}

vcpkg-configuration.json
{
  "default-registry": {
    "kind": "git",
    "baseline": "f7423ee180c4b7f40d43402c2feb3859161ef625",
    "repository": "https://github.com/microsoft/vcpkg"
  },
  "registries": [
    {
      "kind": "artifact",
      "location": "https://github.com/microsoft/vcpkg-ce-catalog/archive/refs/heads/main.zip",
      "name": "microsoft"
    }
  ]
}

**I'm sure that this is not a network or proxy error, I've tried downloading the file manually and it worked. I don't have any proxy configured in settings or via environment variables.**
@JonLiu1993
Copy link
Member

Other possible reasons:

  • long path to buildtrees folder
  • antivirus software

@JonLiu1993 JonLiu1993 added the category:question This issue is a question label Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

2 participants