bazelbuild / stardoc

Stardoc: Starlark Documentation Generator
Apache License 2.0
108 stars 45 forks source link

Update rules_pkg to 0.8 #140

Closed gregestren closed 2 years ago

gregestren commented 2 years ago

Resolves config_setting visibility failures from https://github.com/bazelbuild/bazel/issues/12933:

ERROR: /var/lib/buildkite-agent/builds/bk-docker-zr2k/bazel-downstream-projects/stardoc/distro/BUILD:33:8: in
pkg_tar_impl rule //distro:distro_bins: target '@rules_pkg//pkg/private:private_stamp_detect' is not visible from
target '//distro:distro_bins'. Check the visibility declaration of the former target if you think the dependency is
legitimate

See https://buildkite.com/bazel/bazelisk-plus-incompatible-flags/builds/1320#018435e1-7429-4329-808a-731599f24623.

aiuto commented 2 years ago

Sadly, I don't see bzlmod helping with this, unless you can specify modules by compatibility level instead of version.