Fixed: unlike bazel, bazelisk does not implicitly pull unzip so we need to pull it explicitly.
Search Criteria
Package Details: ibus-mozc 3.33.6079.102-3
Package Actions
| Git Clone URL: | https://aur.archlinux.org/ibus-mozc.git (read-only, click to copy) |
|---|---|
| Package Base: | ibus-mozc |
| Description: | Mozc module for IBus |
| Upstream URL: | https://github.com/google/mozc |
| Licenses: | Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT AND NAIST-2003 AND Unicode-3.0 AND LicenseRef-Okinawa-Dictionary |
| Submitter: | Nocifer |
| Maintainer: | Nocifer |
| Last Packager: | Nocifer |
| Votes: | 16 |
| Popularity: | 0.000001 |
| First Submitted: | 2021-12-26 10:41 (UTC) |
| Last Updated: | 2026-01-21 13:56 (UTC) |
Dependencies (7)
- ibus (ibus-gitAUR)
- mozcAUR (mozc-utAUR)
- bazelisk (bazelisk-gitAUR, bazelisk-binAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- python (make)
- qt6-base (qt6-base-gitAUR, qt6-base-hifpsAUR, qt6-base-scrollfixAUR, qt6-base-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-xcb-private-headers-scrollfixAUR, qt6-base-headlessAUR) (make)
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR) (make)
Sources (8)
- git+https://github.com/abseil/abseil-cpp.git#commit=4447c7562e3bc702ade25105912dce503f0c4010
- git+https://github.com/chromium/gyp.git#commit=9ecf45e37677743503342ee4c6a76eaee80e4a7f
- git+https://github.com/google/breakpad.git#commit=216cea7bca53fa441a3ee0d0f5fd339a3a894224
- git+https://github.com/google/googletest.git#commit=b514bdc898e2951020cbdca1304b75f5950d1f59
- git+https://github.com/google/mozc.git#commit=3052f08b2bc0d60c84f640eecb74fcf77d05addc
- git+https://github.com/hiroyuki-komatsu/japanese-usage-dictionary.git#commit=e5b3425575734c323e1d947009dd74709437b684
- git+https://github.com/microsoft/wil.git#commit=fc5dbf55989fe20351c71d038a8d12de4b397a6d
- git+https://github.com/protocolbuffers/protobuf.git#commit=7cc670c1809e704ebeba90fb430d50e009f36727
Nocifer commented on 2026-01-21 13:57 (UTC)
dbb commented on 2026-01-21 12:33 (UTC)
Fails to build in a clean chroot at the package() step due to:
/startdir/PKGBUILD: line 93: unzip: command not found
Need to add unzip to makedepends to fix.
Nocifer commented on 2025-07-03 08:02 (UTC)
@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.
jaro3 commented on 2025-07-03 03:16 (UTC)
Fails to build even in clean chroot:
==> Starting build()...
Starting local Bazel server (8.2.1) and connecting to it...
INFO: Analyzed 3 targets (165 packages loaded, 11017 targets configured).
ERROR: /usr/src/tmp/ibus-mozc/src/mozc/src/unix/ibus/BUILD.bazel:98:16: Compiling unix/ibus/ibus_wrapper.cc failed: absolute path inclusion(s) found in rule '//unix/ibus:ibus_wrapper':
the source file 'unix/ibus/ibus_wrapper.cc' includes the following non-builtin files with absolute paths (if these are builtin files, make sure these paths are in your toolchain):
'/usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/stddef.h'
'/usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/limits.h'
'/usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/syslimits.h'
'/usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/float.h'
'/usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/stdarg.h'
'/usr/lib/gcc/x86_64-pc-linux-gnu/15.1.1/include/stdint.h'
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 9.454s, Critical Path: 2.54s
INFO: 9 processes: 1049 action cache hit, 9 internal.
ERROR: Build did NOT complete successfully
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build ibus-mozc.
Nocifer commented on 2024-03-09 13:09 (UTC)
Sorry for the fsck up, I don't even know how I managed to do that. Package permissions have (hopefully) been fixed.
thecheddarcheese commented on 2024-03-09 11:07 (UTC)
Ibus doesn't see mozc after updating for some reason. Changing file permissions to 755 didn't work
birchwhitebrain commented on 2024-03-09 04:32 (UTC)
The latest version seems to be broken. Cross-referencing a comment under the mozc package, I'm guessing it's due to the change in file permission for the targets mozc-renderer and ibus_mozc from 755 to 644. Changing them back to 755 in the PKGBUILD fixed it for me. Could you please fix these file permission issues? Thank you!
Nocifer commented on 2023-05-08 16:02 (UTC)
@mod20 I get the same build error even when building against the latest master. I've reported it upstream, so hopefully it'll get fixed soon.
mod20 commented on 2023-05-08 14:37 (UTC) (edited on 2023-05-08 14:39 (UTC) by mod20)
I am getting the following error when compiling with latest GCC (13.1.1):
ERROR: /home/modanese/.cache/aurutils/sync/ibus-mozc/src/ibus-mozc-git/src/unix/ibus/BUILD.bazel:85:16: Compiling unix/ibus/ibus_wrapper.cc failed: (Exit 1): gcc failed: error executing command (from target //unix/ibus:ibus_wrapper) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 60 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
unix/ibus/ibus_wrapper.cc: In member function 'void mozc::ibus::IbusBusWrapper::RequestName(absl::lts_20230125::string_view)':
unix/ibus/ibus_wrapper.cc:417:13: error: 'uint32_t' does not name a type
417 | constexpr uint32_t flags = 0;
| ^~~~~~~~
unix/ibus/ibus_wrapper.cc:31:1: note: 'uint32_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
30 | #include "unix/ibus/ibus_wrapper.h"
+++ |+#include <cstdint>
31 |
unix/ibus/ibus_wrapper.cc:418:44: error: 'flags' was not declared in this scope
418 | ibus_bus_request_name(bus_, name.data(), flags);
| ^~~~~
Tried deleting the bazel cache, but that didn't help.
Nocifer commented on 2023-03-05 18:33 (UTC)
Sorry about that, my cache folder still contained a mozc_renderer binary in renderer from the previous build and during testing the package managed to build successfully by reusing that, so I completely failed to notice the issue. Should be fixed now, thanks for reporting.
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/bazelby default).