What happened?
All the Windows builds failed for #5490 (Publish rules_scala@7.1.0). The "missing" protobuf.patch file is a symlink to protoc/0001-protobuf-19679-rm-protoc-dep.patch in the top level repo.
ERROR: in module dependency chain <root> -> protobuf@31.1:
error applying single_version_override patch
C:/b/bk-windows-326v/bazel-org-repo-root/output/rules_scala-7.1.0/examples/crossbuild/protobuf.patch
to module file:
Cannot find patch file:
C:/b/bk-windows-326v/bazel-org-repo-root/output/rules_scala-7.1.0/examples/crossbuild/protobuf.patch
My understanding is that Windows has supported symlinks since Windows 10. I'd expect them to work in the presubmit build.
Version
Development (host) and target OS/architectures:
Output of bazel --version:
Version of relevant rules from the WORKSPACE or MODULE.bazel file:
Language(s) and/or frameworks involved:
How to reproduce
git clone https://github.com/bazel-contrib/rules_scala.git
git checkout v7.1.0
cd examples/crossbuild
bazel build //...
Any other information?
I plan to create a pull request to make a copy of the patch file to unblock #5490. I'd like to know whether this will be a permanent workaround (unless protocolbuffers/protobuf#19679 finally clears) or if the Windows build will eventually support symlinks.
This may be related to bazelbuild/continuous-integration#2350 and #5205.
What happened?
All the Windows builds failed for #5490 (Publish rules_scala@7.1.0). The "missing" protobuf.patch file is a symlink to protoc/0001-protobuf-19679-rm-protoc-dep.patch in the top level repo.
My understanding is that Windows has supported symlinks since Windows 10. I'd expect them to work in the presubmit build.
Version
Development (host) and target OS/architectures:
Output of
bazel --version:Version of relevant rules from the
WORKSPACEorMODULE.bazelfile:Language(s) and/or frameworks involved:
How to reproduce
git clone https://github.com/bazel-contrib/rules_scala.git git checkout v7.1.0 cd examples/crossbuild bazel build //...Any other information?
I plan to create a pull request to make a copy of the patch file to unblock #5490. I'd like to know whether this will be a permanent workaround (unless protocolbuffers/protobuf#19679 finally clears) or if the Windows build will eventually support symlinks.
This may be related to bazelbuild/continuous-integration#2350 and #5205.