rules_kotlin icon indicating copy to clipboard operation
rules_kotlin copied to clipboard

[Bazel CI] Error for Bzlmod migration

Open sgowroji opened this issue 1 year ago • 1 comments

CI: https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/4093#0191abc3-dee3-4338-98a9-8be42098c87b

Platform: Ubuntu

Logs:

ERROR: [0merror loading package 'external': Both --enable_bzlmod and --enable_workspace are disabled, but one of them must be enabled to fetch external dependencies.

Culprit: https://github.com/bazelbuild/bazel/commit/5881c38

Note : This issue is due to https://github.com/bazelbuild/bazel/issues/23023. After --enable_workspace is flipped to false, users have to explicitly specify it where it's needed, or fully migrate to Bzlmod.

CC Greenteam @fweikert

sgowroji avatar Sep 02 '24 05:09 sgowroji

Will be fixed in https://github.com/bazelbuild/rules_kotlin/pull/1183

restingbull avatar Sep 06 '24 17:09 restingbull