Skip to content
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

update rules scala #16

Merged
merged 1 commit into from
Feb 21, 2024
Merged

update rules scala #16

merged 1 commit into from
Feb 21, 2024

Conversation

stmitt
Copy link

@stmitt stmitt commented Feb 21, 2024

This fixes this error:

ERROR: /private/var/tmp/_bazel_stefan/e163f22b8b86a0fc6a37d2590d6618d1/external/io_bazel_rules_scala_scala_library/BUILD:9:13: in scala_import rule @@io_bazel_rules_scala_scala_library//:io_bazel_rules_scala_scala_library:
Traceback (most recent call last):
	File "/private/var/tmp/_bazel_stefan/e163f22b8b86a0fc6a37d2590d6618d1/external/io_bazel_rules_scala/scala/scala_import.bzl", line 34, column 19, in _scala_import_impl
		_stamp_jar(ctx, jar)
	File "/private/var/tmp/_bazel_stefan/e163f22b8b86a0fc6a37d2590d6618d1/external/io_bazel_rules_scala/scala/scala_import.bzl", line 12, column 33, in _stamp_jar
		return java_common.stamp_jar(
	File "/virtual_builtins_bzl/common/java/java_common.bzl", line 117, column 68, in _stamp_jar
Error in _check_java_toolchain_is_declared_on_rule: Rule 'scala_import' in '/private/var/tmp/_bazel_stefan/e163f22b8b86a0fc6a37d2590d6618d1/external/io_bazel_rules_scala_scala_library/BUILD:9:13' must declare '@@bazel_tools//tools/jdk:toolchain_type' toolchain in order to use java_common. See https://github.com/bazelbuild/bazel/issues/18970.
ERROR: /private/var/tmp/_bazel_stefan/e163f22b8b86a0fc6a37d2590d6618d1/external/io_bazel_rules_scala_scala_library/BUILD:9:13: Analysis of target '@@io_bazel_rules_scala_scala_library//:io_bazel_rules_scala_scala_library' failed
ERROR: Analysis of target '//src:djinni' failed; build aborted: Analysis failed
INFO: Elapsed time: 0.066s, Critical Path: 0.00s
INFO: 1 process: 1 internal.
ERROR: Build did NOT complete successfully

@maurhofer-ubique maurhofer-ubique merged commit a6469d9 into master Feb 21, 2024
@M-Wong M-Wong deleted the feature/update-rules_scala branch March 1, 2024 07:55
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.

2 participants