Sadly, I'm also unable to build it.
==> 1. Build the rust program(dict-to-mozc), it may take some time...
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2025-08-07, rust version 1.89.0 (29483883e 2025-08-04)
info: component 'cargo' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustc' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: downloading component 'llvm-tools'
info: latest update on 2025-08-07, rust version 1.89.0 (29483883e 2025-08-04)
info: component 'cargo' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustc' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: downloading component 'llvm-tools'
info: downloading component 'rust-src'
info: installing component 'llvm-tools'
error: component download failed for llvm-tools-x86_64-unknown-linux-gnu: could not rename downloaded file from '/build/.rustup/downloads/bb0ced899fd1ac628f26e375adabc970b415c516ec82fb7cf9ac3c63cb4d0fee.partial' to '/build/.rustup/downloads/bb0ced899fd1ac628f26e375adabc970b415c516ec82fb7cf9ac3c63cb4d0fee': No such file or directory (os error 2)
Usage: grep [OPTION]... PATTERNS [FILE]...
Try 'grep --help' for more information.
info: installing component 'rust-src'
error: "--target" takes a target architecture as an argument.
Run `rustup target list` to see possible targets.
error: "--target" takes a target architecture as an argument.
Run `rustup target list` to see possible targets.
@phoepsilonix could you try to verify that it builds in a clean chroot?
git clone https://aur.archlinux.org/mozc-with-jp-dict.git
pkgctl build --repo extra mozc-with-jp-dict
should do that.
Pinned Comments
phoepsilonix commented on 2024-08-26 00:02 (UTC) (edited on 2025-07-05 04:36 (UTC) by phoepsilonix)
If you're encountering errors during the build process, try deleting your Bazel cache (located at ~/.cache/bazel by default).
or
The development of Fcitx has transitioned to Fcitx5, and Fcitx-Mozc is no longer maintained. Please try the following command.
If you are looking for pre-built package files, please check the following GitHub site.
https://github.com/phoepsilonix/mozc-arch/releases