Skip to content

Conversation

restingbull
Copy link
Collaborator

@restingbull restingbull commented Jul 5, 2024

bazel @ head has an added dependency @rule_java_builtin java_common that is not satisfiable via import the built-in bazel srcs.

The simplest solution it to stop using the toolchain utilities, and resolve the toolchains in a backwards compatible manner.

Still a potential problem in third_party, as it will pick up toolchain_utils from bazel_tools -- unfortunately, the filegroup that won't pull in the toolchain_utils is private. :/

fixes: #1180

@restingbull restingbull force-pushed the restingbull/1182-java_common branch 2 times, most recently from 6a4411f to d42aa92 Compare July 5, 2024 21:55
bazel @ head has an added dependency @rule_java_builtin java_common that is not satisfiable via import the built-in bazel srcs.

Fixing this requires:
* Bump `rules_java` version to one with the toolchain_utils
* Import toolchain_utils from rules_java, not `bazeltools`

Still a potential problem in third_party, as it will pick up toolchain_utils from `bazel_tools` -- unfortunately, the `filegroup` that won't pull in the toolchain_utils is private. :/
@restingbull restingbull force-pushed the restingbull/1182-java_common branch from d42aa92 to 468a46b Compare July 5, 2024 22:11
@restingbull restingbull changed the title test at head Fix stardoc breakage in bazel @ HEAD Jul 5, 2024
@restingbull restingbull marked this pull request as ready for review July 5, 2024 22:15
@restingbull restingbull merged commit 4062c35 into master Jul 5, 2024
@restingbull restingbull deleted the restingbull/1182-java_common branch July 5, 2024 22:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bazel CI] Test docs:are_docs_up_to_date_test is failing in Bazel@HEAD

2 participants