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

CLI Build Failure #27

Closed
maxdemaio opened this issue Jul 4, 2022 · 0 comments · Fixed by #28
Closed

CLI Build Failure #27

maxdemaio opened this issue Jul 4, 2022 · 0 comments · Fixed by #28

Comments

@maxdemaio
Copy link
Member

maxdemaio commented Jul 4, 2022

Note: I don't think this is an issue with ODict. This seems to be an issue withio_bazel_rules_go and possibly bazel_gazelle. This was highlighted on the thread bazel-contrib/rules_go#2795 and later adobe/rules_gitops#97.


Error reproduction:

$uname -a
Darwin Maxwells-MacBook-Pro.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T8101 arm64
$brew tap TheOpenDictionary/odict
$brew install odict

==> Downloading https://github.com/TheOpenDictionary/odict/archive/1.4.5.tar.gz
Already downloaded: /Users/maxwelldemaio/Library/Caches/Homebrew/downloads/d211af72b957bc23b404c5312d044ee9192ebd1fdeb2b8269e573895185c6c4d--odict-1.4.5.tar.gz
==> Installing odict from theopendictionary/odict
==> bazel build cli
Last 15 lines from /Users/maxwelldemaio/Library/Logs/Homebrew/odict/01.bazel:
Analyzing: target //cli:cli (30 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
Analyzing: target //cli:cli (31 packages loaded, 6 targets configured)
ERROR: /private/tmp/odict-20220704-48550-1fhv0s7/odict-1.4.5/cli/BUILD.bazel:24:10: While resolving toolchains for target //cli:cli: no matching toolchains found for types @io_bazel_rules_go//go:toolchain
ERROR: Analysis of target '//cli:cli' failed; build aborted: 
INFO: Elapsed time: 16.366s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (35 packages loaded, 200 targets configured)
FAILED: Build did NOT complete successfully (35 packages loaded, 200 targets configured)

Do not report this issue to Homebrew/brew or Homebrew/core!
@maxdemaio maxdemaio changed the title Apple Silicon CLI Build Failure CLI Build Failure Jul 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant