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

Error no such attribute 'exec_tools' in 'genrule' rule on Bazel@HEAD. #19130

Closed
sgowroji opened this issue Jul 31, 2023 · 4 comments
Closed

Error no such attribute 'exec_tools' in 'genrule' rule on Bazel@HEAD. #19130

sgowroji opened this issue Jul 31, 2023 · 4 comments
Labels
breakage team-Configurability platforms, toolchains, cquery, select(), config transitions type: bug untriaged

Comments

@sgowroji
Copy link
Member

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3202#0189aa1f-7d0d-42e1-8905-49d1986bd094

Platform : Ubuntu, Windows, MacOS

Logs:

ERROR: /private/var/tmp/_bazel_buildkite/8c08c49ddb355665dd925b998661185f/external/desugar_jdk_libs/BUILD:13:8: @desugar_jdk_libs//:maven_release: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)
(06:10:28) ERROR: /private/var/tmp/_bazel_buildkite/8c08c49ddb355665dd925b998661185f/external/desugar_jdk_libs/BUILD:30:8: @desugar_jdk_libs//:maven_release_jdk11: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)

(06:10:29) ERROR: /Users/buildkite/builds/bk-macstudio-2/bazel-downstream-projects/bazel/tools/android/runtime_deps/BUILD.bazel:70:8: Target '@desugar_jdk_libs//:desugar_jdk_libs' contains an error and its package is in error and referenced by '//tools/android/runtime_deps:desugar_jdk_libs'
(06:10:29) ERROR: Analysis of target '//src/test/shell/bazel:bazel_android_tools_test' failed; build aborted: Analysis failed

Breaking commit : c061e57a7004a88eeb2f84d094d9a88b56c146b6

CC Greenteam @meteorcloudy

@sgowroji sgowroji added type: bug breakage team-Configurability platforms, toolchains, cquery, select(), config transitions untriaged labels Jul 31, 2023
@sgowroji sgowroji changed the title "Error no such attribute 'exec_tools' in 'genrule' rule " on Bazel@HEAD. Error no such attribute 'exec_tools' in 'genrule' rule on Bazel@HEAD. Jul 31, 2023
@sgowroji
Copy link
Member Author

sgowroji commented Jul 31, 2023

Protobuf is also failing with the similar error https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3202#0189a9b6-1927-4b8c-8bfb-cf5b47ea3bd7



(04:11:47) ERROR: /Users/buildkite/builds/bk-imacpro-19/bazel-downstream-projects/protobuf/conformance/BUILD.bazel:255:17: //conformance:conformance_php_genrule: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)
(04:11:47) ERROR: /Users/buildkite/builds/bk-imacpro-19/bazel-downstream-projects/protobuf/conformance/BUILD.bazel:275:17: //conformance:conformance_php_c_genrule: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)
(04:11:47) ERROR: /Users/buildkite/builds/bk-imacpro-19/bazel-downstream-projects/protobuf/conformance/BUILD.bazel:294:17: //conformance:conformance_csharp_genrule: no such attribute 'exec_tools' in 'genrule' rule (did you mean 'executable'?)
(04:11:47) ERROR: /Users/buildkite/builds/bk-imacpro-19/bazel-downstream-projects/protobuf/java/core/BUILD.bazel:345:17: Target '//conformance:text_format_failure_list_java.txt' contains an error and its package is in error and referenced by '//java/core:conformance_test'
(04:11:47) ERROR: Analysis of target '//java/core:conformance_test' failed; build aborted: Analysis failed

@meteorcloudy
Copy link
Member

Breaking commit rollbacked at 0c91725

/cc @katre

@katre
Copy link
Member

katre commented Jul 31, 2023

Migration issue: #19132

@meteorcloudy
Copy link
Member

Thanks, the breakage has been resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breakage team-Configurability platforms, toolchains, cquery, select(), config transitions type: bug untriaged
Projects
None yet
Development

No branches or pull requests

3 participants