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

Use of new @bazel_tools//src/conditions targets breaks build on old Bazel versions #16

Open
jmillikin opened this issue May 15, 2023 · 0 comments

Comments

@jmillikin
Copy link
Owner

Example error:

ERROR: While resolving configuation keys for @m4_v1.4.18//gnulib:gnulib: no such target '@bazel_tools//src/conditions:openbsd': target 'openbsd' not declared in package 'src/conditions' (did you mean 'freebsd'?) defined by /github/home/.cache/bazel/_bazel_root/96335d2574d677ca0e31aa2073ba4534/external/bazel_tools/src/conditions/BUILD

Work to be done:

  • Copy Github Actions configuration from rules_flex[0] to verify building with older Bazel versions.
  • Change the select() matches to use targets not bundled into Bazel (@platforms// seems like the correct replacement).

[0] https://github.com/jmillikin/rules_flex/blob/e32e634a3f91837c66059f58aa0829f9b8caf1f4/.github/workflows/tests.yaml

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

1 participant