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

Build failed with Bazel 8.0.0 #2

Open
utzcoz opened this issue Dec 20, 2024 · 0 comments · May be fixed by #3
Open

Build failed with Bazel 8.0.0 #2

utzcoz opened this issue Dec 20, 2024 · 0 comments · May be fixed by #3

Comments

@utzcoz
Copy link

utzcoz commented Dec 20, 2024

Bazel version

bazel 8.0.0

Running command

bazel build //openxr:libandroidx.xr.openxr.so --config=android_arm64-v8a

Got errors

ERROR: com.google.devtools.build.lib.packages.BuildFileNotFoundException: no such package '@@[unknown repo 'com_google_jxr_natives' requested from @@]//platforms': The repository '@@[unknown repo 'com_google_jxr_natives' requested from @@]' could not be resolved: No repository visible as '@com_google_jxr_natives' from main repository. Was the repository introduced in WORKSPACE? The WORKSPACE file is disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025), please migrate to Bzlmod. See https://bazel.build/external/migration
INFO: Elapsed time: 18.793s, Critical Path: 0.00s
INFO: 0 processes.
ERROR: Build did NOT complete successfully

Maybe the building script should support bzl_mode?

@utzcoz utzcoz linked a pull request Dec 22, 2024 that will close this issue
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.

1 participant