Skip to content

Build issues with Bazel 8.0 #5

@vyi

Description

@vyi

Hi John,

I tried to build this project using Bazel 8.0.0 on ubuntu system, the build fails with the following output:

bazel build --cpu=armeabi-v7a java/com/purplehatstands/wwf/cheating:cheating --enable_workspace=True
ERROR: Failed to load Starlark extension '@@bazel_skylib//lib:sets.bzl'.
Cycle in the workspace file detected. This indicates that a repository is used prior to being defined.
The following chain of repository dependencies lead to the missing definition.
 - @@bazel_skylib
This could either mean you have to add the '@@bazel_skylib' repository with a statement like `http_archive` in your WORKSPACE file (note that transitive dependencies are not added automatically), or move an existing definition earlier in your WORKSPACE file.
ERROR: Error computing the main repository mapping: cycles detected during computation of main repo mapping
Computing main repo mapping: 

If I'm able to resolve the issue on my own, I will post it here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions