@jaro3 Your error is a typical example of an outdated Bazel cache that can be fixed by deleting ~/.cache/bazel
(or an equivalent non-default path). "Typical" as in, there were some people just the other day who were getting the exact same error with the fcitx-mozc-ut
package, and they successfully resolved it by deleting Bazel's cache.
Are you sure you're trying to build in a clean chroot? Did you create the chroot from scratch? If you've used it even once before your testing, then Bazel's cache inside the chroot will not be cleaned before running the build.
Pinned Comments
Nocifer commented on 2022-05-29 21:56 (UTC) (edited on 2023-08-22 09:32 (UTC) by Nocifer)
If you're getting compilation errors, please delete your Bazel cache (
~/.cache/bazel
by default).