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

Breakage with Bazel 8.0.0rc3 #2604

Closed
meteorcloudy opened this issue Nov 25, 2024 · 4 comments · Fixed by #2609
Closed

Breakage with Bazel 8.0.0rc3 #2604

meteorcloudy opened this issue Nov 25, 2024 · 4 comments · Fixed by #2609
Assignees

Comments

@meteorcloudy
Copy link
Member

https://buildkite.com/bazel/bcr-bazel-compatibility-test/builds/56#01934ecf-1a69-41b9-a071-448b7cede248

(14:09:46) ERROR: Traceback (most recent call last):
	File "/private/var/tmp/_bazel_buildkite/9b98967bff338192b3559015e74bba67/external/rules_apple+/apple/internal/macos_rules.bzl", line 2386, column 42, in <toplevel>
		providers = [apple_common.AppleExecutableBinary],
Error: 'struct' value has no field or method 'AppleExecutableBinary'
Available attributes: Objc, XcodeProperties, XcodeVersionConfig, apple_host_system_env, apple_platform, apple_toolchain, compilation_support, dotted_version, get_apple_config, get_cpu, get_split_build_configs, get_split_prerequisites, new_objc_provider, platform, platform_type, target_apple_env
(14:09:46) ERROR: Skipping '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest': error loading package '@@rules_apple+//examples/macos/CommandLine': at /private/var/tmp/_bazel_buildkite/9b98967bff338192b3559015e74bba67/external/rules_apple+/apple/macos.bzl:23:5: initialization of module 'apple/internal/macos_rules.bzl' failed
(14:09:46) ERROR: error loading package '@@rules_apple+//examples/macos/CommandLine': at /private/var/tmp/_bazel_buildkite/9b98967bff338192b3559015e74bba67/external/rules_apple+/apple/macos.bzl:23:5: initialization of module 'apple/internal/macos_rules.bzl' failed
(14:09:46) INFO: Elapsed time: 4.618s

Relevant change: bazelbuild/bazel#24273

@meteorcloudy
Copy link
Member Author

/cc @pzembrod

@meteorcloudy
Copy link
Member Author

@pzembrod pointed out the fix is 46535af, but probably need bazel_features to make it also work with Bazel 7

@pzembrod
Copy link

Commit 2f3f608 will also be needed; it is this one that needs Bazel 8.

@keith
Copy link
Member

keith commented Dec 5, 2024

blocked on bazelbuild/bazel#24582

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 a pull request may close this issue.

4 participants