Skip to content
This repository has been archived by the owner on Apr 7, 2024. It is now read-only.

I am going to install bazel 3.7.2, but following error occured. Target //src:bazel_nojdk failed to build #114

Open
HiddenStar0412 opened this issue May 27, 2022 · 0 comments

Comments

@HiddenStar0412
Copy link

HiddenStar0412 commented May 27, 2022

I am using a little old version of mediapipe. I already made an app by using this plugin on Windows and Android.
I am going to build ios framework for iOS build.
But I faced some issues on Mac OS Montrery and I thought I have to downgrade bazel.
but I faced this error during installing [email protected]

% brew install [email protected]
Running brew update --auto-update...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/cask).
==> Updated Casks
Updated 1 cask.

==> Downloading https://github.com/bazelbuild/bazel/releases/download/3.7.2/bazel-3.7.2-dist.zip
Already downloaded: /Users/hiddenstar/Library/Caches/Homebrew/downloads/66156404c0229400fe72d2b4bf6bf0cac3b8d9e25f6d906842bb3b27e81de2c8--bazel-3.7.2-dist.zip
==> Installing [email protected] from bazelbuild/tap
Warning: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.

==> ./compile.sh
Last 15 lines from /Users/hiddenstar/Library/Logs/Homebrew/[email protected]/01.compile.sh:
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 475.684s, Critical Path: 46.93s
INFO: 871 processes: 17 internal, 854 local.
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/bazelbuild/homebrew-tap/issues

Error: A newer Command Line Tools release is available.
Update them from Software Update in System Preferences or run:
softwareupdate --all --install --force

If that doesn't show you any updates, run:
sudo rm -rf /Library/Developer/CommandLineTools
sudo xcode-select --install

Alternatively, manually download them from:
https://developer.apple.com/download/all/.
You should download the Command Line Tools for Xcode 13.4.

@HiddenStar0412 HiddenStar0412 changed the title I am going to install bazel 3.7.2, but following error occured I am going to install bazel 3.7.2, but following error occured. Target //src:bazel_nojdk failed to build May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant