-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
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)
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: