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 arm64-linux #37872

Closed
alexlee728 opened this issue Mar 31, 2024 · 3 comments
Closed

[liblzma] Build error on arm64-linux #37872

alexlee728 opened this issue Mar 31, 2024 · 3 comments
Labels
depends:upstream-changes Waiting on a change to the upstream project

Comments

@alexlee728
Copy link

alexlee728 commented Mar 31, 2024

Package: liblzma:[email protected]

Host Environment

  • Host: arm64-linux
  • Compiler: GNU 11.3.0
  • vcpkg-tool version: 2999-12-31-unknownhash
    vcpkg-scripts version: ce19164 2024-03-30 (18 hours ago)

To Reproduce

vcpkg install
Failure logs

-- 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 /media/psf/Source/test/vcpkg/vcpkg-bundle.json
[DEBUG] Failed to open: /media/psf/Source/test/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
[DEBUG] 1000: execute_process(curl --fail -L https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz --create-dirs --output /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 0 after   763816 us
[DEBUG] Trying to hash /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part
[DEBUG] /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part has hash 30958e5083aeeec62aba72628ce089b3edf9a2ec7ebfd44315aa1b113122966098abf53809016bc29760a31675e2cf2abfa4b8a2348fe873e4b717ad79a36f56
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/tukaani-project/xz/archive/v5.4.4.tar.gz
File: /media/psf/Source/test/vcpkg/downloads/tukaani-project-xz-v5.4.4.tar.gz.87099.part
Expected hash: c28461123562564e030f3f733f078bc4c840e87598d9f4b718d4bca639120d8133f969c45d7bdc62f33f081d789ec0f14a1791fb7da18515682bfe3c0c7362e0
Actual hash: 30958e5083aeeec62aba72628ce089b3edf9a2ec7ebfd44315aa1b113122966098abf53809016bc29760a31675e2cf2abfa4b8a2348fe873e4b717ad79a36f56
[DEBUG] /media/psf/Source/test/vcpkg/buildtrees/_vcpkg/src/vcpkg-tool-2024-03-14/src/vcpkg/base/downloads.cpp(1031): 
[DEBUG] Time in subprocesses: 763816us
[DEBUG] Time in parsing JSON: 3us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 229us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 768 ms (767407us)

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)
  buildtrees/versioning_/versions/liblzma/f285b7c4ffa2cc065c7c6fec4b61006f7fa2714e/portfile.cmake:1 (vcpkg_from_github)
  scripts/ports.cmake:175 (include)



Additional context

vcpkg.json
{
  "name": "example",
  "version-string": "0.0.1",
  "dependencies": [
    {
      "name": "gtest",
      "version>=": "1.11.0"
    },
    {
      "name": "opencv",
      "version>=": "4.5.5"
    },
    {
      "name": "pcl",
      "version>=": "1.14.0"
    },
    {
      "name": "eigen3",
      "version>=": "3.4.0#4"
    },
    {
      "name": "opencascade",
      "version>=": "7.8.0"
    },
    {
      "name": "libuvc",
      "version>=": "0.0.7"
    }
  ],
  "builtin-baseline": "ce1916404fc6f2b645f419a6d47b7ebafe686582"
}

@alexlee728
Copy link
Author

image

@dg0yt
Copy link
Contributor

dg0yt commented Mar 31, 2024

#37839

@WangWeiLin-MV WangWeiLin-MV closed this as not planned Won't fix, can't repro, duplicate, stale Apr 1, 2024
@WangWeiLin-MV WangWeiLin-MV added the category:port-bug The issue is with a library, which is something the port should already support label Apr 1, 2024
@WangWeiLin-MV
Copy link
Contributor

WangWeiLin-MV commented Apr 1, 2024

Duplicate of #37893

@WangWeiLin-MV WangWeiLin-MV added depends:upstream-changes Waiting on a change to the upstream project and removed category:port-bug The issue is with a library, which is something the port should already support labels Apr 3, 2024
@WangWeiLin-MV WangWeiLin-MV marked this as a duplicate of #37893 Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
depends:upstream-changes Waiting on a change to the upstream project
Projects
None yet
Development

No branches or pull requests

3 participants