microsoft / vcpkg

C++ Library Manager for Windows, Linux, and MacOS
MIT License
23.2k stars 6.39k forks source link

[libnoise] Build failure on x64-linux #40740

Closed richard523 closed 3 weeks ago

richard523 commented 2 months ago

Package: libnoise:x64-linux -> 1.0.0#3

Host Environment

To Reproduce

vcpkg install Failure logs

-- Downloading https://github.com/RobertHue/libnoise/archive/d7e68784a2b24c632868506780eba336ede74ecd.tar.gz -> RobertHue-libnoise-d7e68784a2b24c632868506780eba336ede74ecd.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Disabling metrics because vcpkg.disable-metrics exists
[DEBUG] Trying to load bundleconfig from /home/chard_unix/CarbonCopies/BrainGenix/BrainGenix-NES/ThirdParty/vcpkg/vcpkg-bundle.json
[DEBUG] Failed to open: /home/chard_unix/CarbonCopies/BrainGenix/BrainGenix-NES/ThirdParty/vcpkg/vcpkg-bundle.json
[DEBUG] Bundle config: readonly=false, usegitregistry=false, embeddedsha=nullopt, deployment=Git, vsversion=nullopt
[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/RobertHue/libnoise/archive/d7e68784a2b24c632868506780eba336ede74ecd.tar.gz --create-dirs --output /home/chard_unix/CarbonCopies/BrainGenix/BrainGenix-NES/ThirdParty/vcpkg/downloads/RobertHue-libnoise-d7e68784a2b24c632868506780eba336ede74ecd.tar.gz.1321.part)
[DEBUG] 1000: cmd_execute_and_stream_data() returned 22 after   361730 us
error: Failed to download from mirror set
error: https://github.com/RobertHue/libnoise/archive/d7e68784a2b24c632868506780eba336ede74ecd.tar.gz: curl failed to download with exit code 22
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

curl: (22) The requested URL returned error: 404

[DEBUG] /mnt/vss/_work/1/s/src/vcpkg/base/downloads.cpp(1048): 
[DEBUG] Time in subprocesses: 361730us
[DEBUG] Time in parsing JSON: 4us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 15us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 362 ms (362060us)

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/libnoise/portfile.cmake:4 (vcpkg_from_github)
  scripts/ports.cmake:170 (include)

Additional context

vcpkg.json ``` { "name": "braingenix-nes", "version-string": "0.2.0", "license": "AGPL-3.0-or-later", "dependencies": [ "bg-common-logger", "yaml-cpp", "glm", "gtest", "nlohmann-json", "rpclib", "vsg", "cpp-base64", "stb", "libnoise", { "name": "stduuid", "features": [ "system-gen" ] } ] } ```
dg0yt commented 2 months ago

@RobertHue did you remove the repo?

RobertHue commented 2 months ago

@RobertHue did you remove the repo?

Yes I deleted it and forgot that it points to that repository, but I forked it again from https://github.com/qknight/libnoise

I'm sorry for the inconveniece.

dg0yt commented 2 months ago

Thanks. The download works again now.

But IMO it may need some follow-up action.

RobertHue commented 2 months ago

@qknight Since the contributors on your project seem to be visible. And you have more forks and reach. What do you think?

Can we make your libnoise project the official one?

qknight commented 2 months ago

@RobertHue sure we can. If you want to help with development, i'll add you to the repo.

RobertHue commented 2 months ago

@qknight ok I will try to attach the commits again into the git tree.

qknight commented 2 months ago

@RobertHue added you to libnix on my GH, so you can also merge stuff there

RobertHue commented 2 months ago

@qknight Thank you :D

github-actions[bot] commented 1 month ago

This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.