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

Flag --incompatible_config_setting_private_default_visibility will break Buildfarm in Bazel 7.0 #1221

Open
keertk opened this issue Nov 23, 2022 · 2 comments

Comments

@keertk
Copy link
Member

keertk commented Nov 23, 2022

Incompatible flag --incompatible_config_setting_private_default_visibility will be enabled by default in the next major release (Bazel 7.0), thus breaking Buildfarm. Please migrate to fix this and unblock the flip of this flag.

The flag is documented here: bazelbuild/bazel#12933.

Please check the following CI builds for build and test results:

Never heard of incompatible flags before? We have documentation that explains everything.
If you have any questions, please file an issue in https://github.com/bazelbuild/continuous-integration.

@keertk keertk changed the title Flag --incompatible_config_setting_private_default_visibility will break Buildfarm in a future Bazel release Flag --incompatible_config_setting_private_default_visibility will break Buildfarm in Bazel 7.0 Nov 29, 2022
@keertk
Copy link
Member Author

keertk commented Jan 30, 2023

No longer seeing these issues.

@keertk keertk closed this as completed Jan 30, 2023
@sgowroji
Copy link
Member

Hi @keertk, We are still seeing the error in the latest pipeline .Can you please reopen.

(03:09:51) ERROR: /private/var/tmp/_bazel_buildkite/f91d193ad4c9fa9d1b29ee7f4d5fc5de/external/io_bazel_rules_go/BUILD.bazel:107:10: in go_config rule @io_bazel_rules_go//:go_config: target '@io_bazel_rules_go//go/private:stamp' is not visible from target '@io_bazel_rules_go//:go_config'. Check the visibility declaration of the former target if you think the dependency is legitimate
(03:09:51) ERROR: /private/var/tmp/_bazel_buildkite/f91d193ad4c9fa9d1b29ee7f4d5fc5de/external/io_bazel_rules_go/BUILD.bazel:107:10: Analysis of target '@io_bazel_rules_go//:go_config' failed
(03:09:51) ERROR: Analysis of target '//kubernetes/deployments:redis-cluster.resolve' failed; build aborted:
(03:09:51) INFO: Elapsed time: 1.323s
(03:09:51) INFO: 0 processes.
(03:09:51) ERROR: Build did NOT complete successfully

@keertk keertk reopened this May 24, 2023
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

No branches or pull requests

2 participants