You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To Reproduce
Steps to reproduce the behavior:
1.vcpkg install qt5:x64-windows
2.vcpkg install vtk[qt]:x64-windows --recurse
ps. failed at step 2, not bath of them
Failure logs
C:\Users\snowm\code\vcpkg>vcpkg install vtk[qt]:x64-windows --recurse
Computing installation plan...
The following packages will be built and installed:
utfcpp[core]:x64-windows -> 3.2.1
vtk[core,qt]:x64-windows -> 9.0.3-pv5.9.1#10
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet "x64-windows"...
Restored 0 packages from C:\Users\snowm\AppData\Local\vcpkg\archives in 803 us. Use --debug to see more details.
Installing 1/21 libharu:x64-windows...
Building libharu[core,notiffsymbols]:x64-windows...
-- Downloading https://github.com/libharu/libharu/pull/157.diff -> libharu-shading-pr-157.patch...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Downloading https://github.com/libharu/libharu/pull/157.diff
Error: Failed to download from mirror set:
File does not have the expected hash:
url : [ https://github.com/Add support for free-form triangle shading objects. libharu/libharu#157.diff ]
File path : [ C:\Users\snowm\code\vcpkg\downloads\libharu-shading-pr-157.patch.14644.part ]
Expected hash : [ f2ddb22b54b4eccc79400b6a4b2d245a221898f75456a5a559523eab7a523a87dfc5dfd0ec5fb17a771697e03c7ea6ed4c6095eff73e0a4302cd6eb24584c957 ]
Actual hash : [ 10562c8c9c6975b74d625912e7d3b850376941d5e46136679371ce1315f416b6b8e91d73fd1257b907327b2d71d50b8c026547203f280e42fb7b1901245de03c ]
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(788):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 2 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 1943 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 1.245 s (1234976 us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:24 (message):
Failed to download file with error: 1
If you use 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. You are using Fiddler. Currently a bug (https://github.com/microsoft/vcpkg/issues/17752)
will set HTTPS_PROXY to `https://fiddler_address:port` which lead to problem 1 above.
Workaround is open Windows 10 Settings App, and search for Proxy Configuration page,
Change `http=address:port;https=address:port` to `address`, and fill the port number.
3. Your proxy's remote server is out of service.
In future vcpkg releases, if you are using Windows, you no longer need to set
HTTP(S)_PROXY environment variables. Vcpkg will simply apply Windows IE Proxy
Settings set by your proxy software. See (https://github.com/microsoft/vcpkg-tool/pull/49)
and (https://github.com/microsoft/vcpkg-tool/pull/77)
Otherwise, please submit an issue at https://github.com/Microsoft/vcpkg/issues
Host Environment
vcpkg-scripts version: 4826ede 2022-07-01 (20 hours ago)
To Reproduce
Steps to reproduce the behavior:
1.vcpkg install qt5:x64-windows
2.vcpkg install vtk[qt]:x64-windows --recurse
ps. failed at step 2, not bath of them
Failure logs
C:\Users\snowm\code\vcpkg>vcpkg install vtk[qt]:x64-windows --recurse
Computing installation plan...
The following packages will be built and installed:
vtk[core,qt]:x64-windows -> 9.0.3-pv5.9.1#10
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet "x64-windows"...
Restored 0 packages from C:\Users\snowm\AppData\Local\vcpkg\archives in 803 us. Use --debug to see more details.
Installing 1/21 libharu:x64-windows...
Building libharu[core,notiffsymbols]:x64-windows...
-- Downloading https://github.com/libharu/libharu/pull/157.diff -> libharu-shading-pr-157.patch...
[DEBUG] To include the environment variables in debug output, pass --debug-env
[DEBUG] Feature flag 'binarycaching' unset
[DEBUG] Feature flag 'manifests' = off
[DEBUG] Feature flag 'compilertracking' unset
[DEBUG] Feature flag 'registries' unset
[DEBUG] Feature flag 'versions' unset
[DEBUG] Downloading https://github.com/libharu/libharu/pull/157.diff
Error: Failed to download from mirror set:
File does not have the expected hash:
url : [ https://github.com/Add support for free-form triangle shading objects. libharu/libharu#157.diff ]
File path : [ C:\Users\snowm\code\vcpkg\downloads\libharu-shading-pr-157.patch.14644.part ]
Expected hash : [ f2ddb22b54b4eccc79400b6a4b2d245a221898f75456a5a559523eab7a523a87dfc5dfd0ec5fb17a771697e03c7ea6ed4c6095eff73e0a4302cd6eb24584c957 ]
Actual hash : [ 10562c8c9c6975b74d625912e7d3b850376941d5e46136679371ce1315f416b6b8e91d73fd1257b907327b2d71d50b8c026547203f280e42fb7b1901245de03c ]
[DEBUG] D:\a_work\1\s\src\vcpkg\base\downloads.cpp(788):
[DEBUG] Time in subprocesses: 0 us
[DEBUG] Time in parsing JSON: 2 us
[DEBUG] Time in JSON reader: 0 us
[DEBUG] Time in filesystem: 1943 us
[DEBUG] Time in loading ports: 0 us
[DEBUG] Exiting after 1.245 s (1234976 us)
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:24 (message):
Call Stack (most recent call first):
scripts/cmake/vcpkg_download_distfile.cmake:249 (z_vcpkg_download_distfile_show_proxy_and_fail)
ports/libharu/portfile.cmake:6 (vcpkg_download_distfile)
scripts/ports.cmake:146 (include)
error: building libharu:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest port files with
git pullandvcpkg update.Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libharu
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[libharu]+Build+error
Include '[libharu] Build error' in your bug report title, the following version information in your bug description, and attach any relevant failure logs from above.
vcpkg-tool version: 2022-06-17-9268e366206712e38102b28dbd1617697a99ff2e
vcpkg-scripts version: 4826ede 2022-07-01 (20 hours ago)