microsoft / microsoft/vcpkg

[gazebo] build failure

Open
#30,862 26 comments 0 reactions 2 assignees Claimed by @LilyWangLL View on GitHub
category:port-bug Stale
Dominant language
CMake
Stars
27.5k
Forks
7.7k
Avg merge
2d 19h
Merged PRs (30d)
321

Description

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

**Host Environment**

- Host: x64-windows
- Compiler: MSVC 19.33.31630.0
- vcpkg-tool version: 2023-04-07-bedcba5172f5e4b91caac660ab7afe92c27a9895
vcpkg-scripts version: b08025687 2023-04-14 (8 hours ago)

**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**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.