microsoft / vcpkg

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

[gazebo] build failure #30862

Open agoeckner opened 1 year ago

agoeckner commented 1 year ago

Package: gazebo[bullet,core,dart,ffmpeg,gdal,graphviz,gts,libusb,openal,simbody]:x64-windows -> 2022-01-20#4

Host Environment

To Reproduce

vcpkg install gazebo --recurse

Failure logs

-- Downloading https://patch-diff.githubusercontent.com/raw/osrf/gazebo/pull/3211.diff -> gazebo3211.diff...
-- Downloading https://github.com/osrf/gazebo/archive/382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz -> osrf-gazebo-382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Trying to load bundleconfig from C:\dev\vcpkg\vcpkg-bundle.json
[DEBUG] Failed to open: C:\dev\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
Downloading https://github.com/osrf/gazebo/archive/382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz
[DEBUG] Trying to hash C:\dev\vcpkg\downloads\osrf-gazebo-382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz.24972.part
[DEBUG] C:\dev\vcpkg\downloads\osrf-gazebo-382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz.24972.part has hash 1ddae39a5e46708d11729786853b199dbf5a8dadf9dfa6a32d82defe820d8721fb51ae22b6f041703bcdc4680fce15adf21c6fa8c3a11413d8b072ac8a8557ee
error: Failed to download from mirror set
error: File does not have the expected hash:
url: https://github.com/osrf/gazebo/archive/382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz
File: C:\dev\vcpkg\downloads\osrf-gazebo-382dcc3f36095a8d79b5bc9c8b8ad346e867c51d.tar.gz.24972.part
Expected hash: 57638cd0b23b5f2bfd32fdc159d6cd77ca34e3bd695c225591979aef4b7271eac93d3706fa1ffa2340f90013267a4171bebe1e4c142f19ad2bf67963dfed627e
Actual hash: 1ddae39a5e46708d11729786853b199dbf5a8dadf9dfa6a32d82defe820d8721fb51ae22b6f041703bcdc4680fce15adf21c6fa8c3a11413d8b072ac8a8557ee
[DEBUG] D:\a\_work\1\s\src\vcpkg\base\downloads.cpp(961): 
[DEBUG] Time in subprocesses: 0us
[DEBUG] Time in parsing JSON: 3us
[DEBUG] Time in JSON reader: 0us
[DEBUG] Time in filesystem: 6302us
[DEBUG] Time in loading ports: 0us
[DEBUG] Exiting after 7.3 s (7285671us)

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/gazebo/portfile.cmake:7 (vcpkg_from_github)
  scripts/ports.cmake:147 (include)

Additional context

MonicaLiu0311 commented 1 year ago

Confrim, repro locally.

PS E:\vcpkg02> ./vcpkg version
vcpkg package management program version 2023-04-07-bedcba5172f5e4b91caac660ab7afe92c27a9895

See LICENSE.txt for license information.
agoeckner commented 1 year ago

Thank you @MonicaLiu0311 for taking a look at this!

PhoebeHui commented 1 year ago

Related to https://github.com/microsoft/vcpkg/issues/24968, it seems gazebo is broken both on windows and Linux.

agoeckner commented 1 year ago

Thanks, glad people were able to replicate.

talregev commented 7 months ago

For fixing gazebo classic port in needed old version ports:

As I understand, vcpkg not support on that. I already make a vcpkg support to gazebo file with this manifest: https://github.com/gazebosim/gazebo-classic/blob/gazebo11/deps/vcpkg/manifest/vcpkg.json

I also close to create the new gazebo port. I only left to release gz-sim7. I have it ready, but it have many problems. I can release what I have, but I will need help to solve them.

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 180 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.

agoeckner commented 1 month ago

Replying to keep this ticket open. Presumably still an issue.

On May 7, 2024 8:41:38 PM CDT, "github-actions[bot]" @.***> wrote:

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

-- Reply to this email directly or view it on GitHub: https://github.com/microsoft/vcpkg/issues/30862#issuecomment-2099577003 You are receiving this because you authored the thread.

Message ID: @.***>