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

[liblzma] Build error on x64-windows #38082

Closed
nishantfeb opened this issue Apr 9, 2024 · 2 comments
Closed

[liblzma] Build error on x64-windows #38082

nishantfeb opened this issue Apr 9, 2024 · 2 comments

Comments

@nishantfeb
Copy link

nishantfeb commented Apr 9, 2024

Unable to download package liblzma and install since the link no longer found.

D:\Cathx\vcpkg>git pull
Already up to date.

D:\Cathx\vcpkg>vcpkg update
Using local portfile versions. To update the local portfiles, use git pull.
No packages need updating.

D:\Cathx\vcpkg>vcpkg install liblzma
Computing installation plan...
The following packages will be built and installed:
liblzma:[email protected]
Detecting compiler hash for triplet x64-windows...
Compiler found: C:/Program Files/Microsoft Visual Studio/2022/Professional/VC/Tools/MSVC/14.36.32532/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\nbhardwaj\AppData\Local\vcpkg\archives in 163 us. Use --debug to see more details.
Installing 1/1 liblzma:[email protected]...
Building liblzma:[email protected]...
-- Downloading https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz -> tukaani-project-xz-v5.4.4.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from D:\Cathx\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: D:\Cathx\vcpkg\vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[DEBUG] Metrics enabled.
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Feature flag 'dependencygraph' unset
Downloading https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz
error: Failed to download from mirror set
error: https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz: failed: status code 404
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(1031):
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 2us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 928us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 291 ms (274745us)

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_from_github.cmake:106 (vcpkg_download_distfile)
ports/liblzma/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:175 (include)

error: building liblzma:x64-windows failed with: BUILD_FAILED
Elapsed time to handle liblzma:x64-windows: 363 ms
Please ensure you're using the latest port files with git pull and vcpkg update.

@connorjak
Copy link
Contributor

connorjak commented Apr 9, 2024

Main issue threads for xz repo being down:

Duplicate of #37893

@WangWeiLin-MV
Copy link
Contributor

Duplicate of #37893

@WangWeiLin-MV WangWeiLin-MV marked this as a duplicate of #37893 Apr 10, 2024
@WangWeiLin-MV WangWeiLin-MV closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants