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

[Zlib] Issue with version override. #42862

Open
jamespack opened this issue Dec 22, 2024 · 2 comments
Open

[Zlib] Issue with version override. #42862

jamespack opened this issue Dec 22, 2024 · 2 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@jamespack
Copy link

Downloading zlib128.zip
Failed to download zlib128.zip.
If you are using a proxy, please ensure your proxy settings are correct.
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, If HTTP(S)_PROXY already exist in environment variable, do not use IE Proxy (#49) vcpkg-tool#77
    The value set by your proxy might be wrong, or have same https:// prefix issue.
  3. Your proxy's remote server is our of service.
    If you've tried directly download the link, and believe this is not a temporay download server failure, please submit an issue at https://github.com/Microsoft/vcpkg/issues
    to report this upstream download server failure.
    error: zlib port link generated: failed: status code 404
    CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:231 (message):
    Download failed, halting portfile.
    Call Stack (most recent call first):
    C:/Users/james/AppData/Local/vcpkg/registries/git-trees/3309ec82cd96d752ff890c441cb20ef49b52bf94/portfile.cmake:3 (vcpkg_download_distfile)
    scripts/ports.cmake:196 (include)
@Cheney-W Cheney-W added the requires:repro The issue is not currently repro-able label Dec 23, 2024
@Cheney-W
Copy link
Contributor

Hello, could you provide your vcpkg.json file?

@jamespack
Copy link
Author

I pared it down to just zlib.

{
  "name": "php",
  "version": "0.1",
  "dependencies": [
	"zlib"
  ],

  "overrides":[
	{
		"name":"zlib",
		"version":"1.2.8"
	}
  ]
 
  
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants