-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[boost-cmake] Build error on x64-windows (download error on GH CI) #41199
[boost-cmake] Build error on x64-windows (download error on GH CI) #41199
Comments
Duplicate of #41154, see the previous issue for the discussion |
@theolivenbaum Maybe it's duplicate, but I don't see any solution there. I have highlighted the error that orchestrated the failure:
I have no idea what is blocking it, but I don't control github provided runners and all other tools work well (apt, git, etc...). |
There's no solution yet - I'm just flagging because we started the discussion there, the issue needs to be reopened |
@theolivenbaum I see, yeah I agree! |
I've found the cause and a workaround. WorkaroundIn bash (or add to export SystemDrive="$SYSTEMDRIVE"
export SystemRoot="$SYSTEMROOT"
export windir="$WINDIR" CauseThis code will remove all envvars that are not specified in the list above. But it uses case-sensitive compare. When running from bash in MSYS2, bash will convert all envvars into upper-case. If |
I have created a PR |
I would be happy to test it but it happened only on my CI. So vcpkg-tool must be updated in vcpkg-tool-metadata.txt. I will send you feedback at this time. |
Same issue is happening with zlib. Edit: I should mention this is with vcpkg commit 76d1537 in vscode running under MSYS2 MinGW64. My environment worked previously, but I did a git clean in my vcpkg directory and re-ran the bootstrap script to diagnose another issue.
|
It is a bug in the vcpkg tool, affecting many ports. |
🤯🤯🤯🤯🤯 |
adang1345/delvewheel#54 Additionally, vcpkg has a download error when running with a bash shell so we need to add some extra exports as a workaround. microsoft/vcpkg#41199 (comment)
adang1345/delvewheel#54 Additionally, vcpkg has a download error when running with a bash shell so we need to add some extra exports as a workaround. microsoft/vcpkg#41199 (comment)
Fix rtools40 build. vcpkg-tool released a change which no longer treated environment variables as case-insensitive, then removed the variables -- breaking tools which depend on those variables. Explanation: microsoft/vcpkg#41199 (comment) x-ref: ``` - microsoft/vcpkg-tool#1501 - via cameleon-rs/cameleon#193 - via microsoft/vcpkg#41154 ``` --- TYPE: NO_HISTORY DESC: Fix rtools40 build.
Fixes: ``` error: https://github.com/google/brotli/archive/v1.1.0.tar.gz: WinHttpSendRequest failed with exit code 10106 ``` Apply workaround: microsoft/vcpkg#41199 (comment) Bug commit: microsoft/vcpkg-tool@d3fc357#diff-33cf7c311a76d4a838f91b078c2f8cbc984557379f7b345a268ec6deb665a91eR666-R675 Fix commit: microsoft/vcpkg-tool@3122da7 Fix PR: microsoft/vcpkg-tool#1501 Fixes #15128 Reported-by: Viktor Szakats Closes #15133
I'm having issues with installation of boost on a github provided runners (windows):
The most important line:
Full log:
The text was updated successfully, but these errors were encountered: