Edit: I just realized that I need to be installing fxitx5-mozc-ut. My bad chat. This can be ignored.
Build failing (note: I cleaned my ~/.cache/bazel directory):
Starting local Bazel server (8.5.0) and connecting to it...
WARNING: --enable_bzlmod is set, but no MODULE.bazel file was found at the workspace root. Bazel will create an empty MODULE.bazel file. Please consider migrating your external dependencies from WORKSPACE to MODULE.bazel. For more details, please refer to https://github.com/bazelbuild/bazel/issues/18958.
ERROR: Skipping 'unix/icons': error loading package 'unix': at /home/john/.cache/yay/fcitx-mozc-ut/src/fcitx-mozc-ut-git/src/build_defs.bzl:49:6: Unable to find package for @@[unknown repo 'build_bazel_rules_apple' requested from @@]//apple:apple_binary.bzl: The repository '@@[unknown repo 'build_bazel_rules_apple' requested from @@]' could not be resolved: No repository visible as '@build_bazel_rules_apple' 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.
ERROR: error loading package 'unix': at /home/john/.cache/yay/fcitx-mozc-ut/src/fcitx-mozc-ut-git/src/build_defs.bzl:49:6: Unable to find package for @@[unknown repo 'build_bazel_rules_apple' requested from @@]//apple:apple_binary.bzl: The repository '@@[unknown repo 'build_bazel_rules_apple' requested from @@]' could not be resolved: No repository visible as '@build_bazel_rules_apple' 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: 5.627s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
Aborting...
-> error making: fcitx-mozc-ut-exit status 4
-> Failed to install the following packages. Manual intervention is required:
fcitx-mozc-ut - exit status 4
I think I have already built this package on another computer so I can likely grab it and install it from there in the mean time but thought I'd flag it
Pinned Comments
Nocifer commented on 2022-05-29 21:56 (UTC)
Due to the recent GCC 12.1 update, if you try to update a Mozc package that was built with an older GCC version you will need to yet again delete your Bazel cache (
~/.cache/bazel/...by default) in order to prevent the following error (or some such):It's more than likely that this error can also be prevented by removing one or more specific files within Bazel's cache instead of the whole lot of it, so in the future such toolchain updates may become much less painful; but for the time being, and unless otherwise noted, be aware that an updated toolchain will always mean that you need to delete Bazel's cache and suffer a full recompilation.