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
{{ message }}
Repository navigation
rules_rust is broken with Bazel@HEAD for windows platform #1946
Unfortunately I believe I didn't fix all the long paths; here's the one causing issues at HEAD: C:\\b\\pptrowys\\execroot\\examples\\bazel-out/x64_windows-opt-exec-ST-f007e4e0eadc/bin/vendor_local_pkgs/crates/windows_x86_64_msvc-0.48.0/windows_x86_64_msvc_build_script_.exe.runfiles/examples/vendor_local_pkgs/crates/windows_x86_64_msvc-0.48.0\\lib/windows.0.48.0.lib
I could shorten the vendor_local_pkgs directory, but maybe one of you @illicitonion, @UebelAndre can point me to how to shorten windows_x86_64_msvc too?
After speaking with someone far more familiar with Windows development than I am, it may be possible to avoid the failure by adding the UNC path prefix (\\?\), but this would need to occur somewhere in the guts of the build process. If we're probably specifying a build root path somewhere, adding the prefix to this may be all we need to do.
Doing so activates OS-level long path support, as long as all of the requisite registry entries are set properly (which they are on a modern Windows release, I think)
Activity
illicitonion commentedon Apr 28, 2023
Should be fixed by #1944
scentini commentedon Apr 28, 2023
Unfortunately I believe I didn't fix all the long paths; here's the one causing issues at HEAD:
C:\\b\\pptrowys\\execroot\\examples\\bazel-out/x64_windows-opt-exec-ST-f007e4e0eadc/bin/vendor_local_pkgs/crates/windows_x86_64_msvc-0.48.0/windows_x86_64_msvc_build_script_.exe.runfiles/examples/vendor_local_pkgs/crates/windows_x86_64_msvc-0.48.0\\lib/windows.0.48.0.libI could shorten the vendor_local_pkgs directory, but maybe one of you @illicitonion, @UebelAndre can point me to how to shorten windows_x86_64_msvc too?
UebelAndre commentedon Apr 28, 2023
windows_x86_64_msvcis the name of a crate (https://crates.io/crates/windows_x86_64_msvc), shortening that would come with some complications. I would dovendor_local_pkgsfor now.meteorcloudy commentedon May 22, 2023
Any news on fixing this? This is the only downstream failure on Bazel CI currently: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3040
scentini commentedon May 22, 2023
Hey @meteorcloudy , unfortunately I've been swamped with other work, I don't think I'll get to this by next week.
meteorcloudy commentedon May 22, 2023
No worries, as long as it's still on your radar!
sgowroji commentedon Jul 25, 2023
Hi all, Gentle ping on this issue to know the latest update on it. Thanks!
sgowroji commentedon Sep 25, 2023
Any update on this issue?
shs96c commentedon Sep 29, 2023
After speaking with someone far more familiar with Windows development than I am, it may be possible to avoid the failure by adding the UNC path prefix (
\\?\), but this would need to occur somewhere in the guts of the build process. If we're probably specifying a build root path somewhere, adding the prefix to this may be all we need to do.Doing so activates OS-level long path support, as long as all of the requisite registry entries are set properly (which they are on a modern Windows release, I think)
sgowroji commentedon Oct 9, 2023
Hi @ALL, We will be moving this repo to Bazel Disabled CI pipeline. Will be moving back to downstream CI once the above failure is fixed.
illicitonion commentedon Oct 9, 2023
@sgowroji I've sent out #2187 to stop running the broken tests - please hold off on disabling the whole ruleset :) Thanks!
Disable frequently failing Windows CI (#2187)