Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] I can't install fcitx5-mozc anymore (Read 644 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] I can't install fcitx5-mozc anymore

I was trying to install fcitx5-mozc and everything was going fine until I entered my password wrong too many times. I was still getting used to KDE Plasma and was experimenting with the keyboard delay. When I tried to install it again, it just kept on failing to install.


Code: [Select]
[user@laptop ~]$ yay -S fcitx5-mozc
:: There are 3 providers available for mozc>=2.28.4740.102:
:: Repository AUR
    1) mozc 2) mozc-ut 3) mozc-ut-united

Enter a number (default=1):
==> 1
:: There are 10 providers available for bazel:
:: Repository AUR
    1) bazel-git 2) bazel024 3) bazel024-bin 4) bazel2 5) bazel3 6) bazel3-bin 7) bazel31 8) bazel31-bin 9) bazelisk 10) bazelisk-bin

Enter a number (default=1):
==> 1
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:2]  mozc-2.28.4740.102-1  fcitx5-mozc-ut-2.28.4740.102-1
[Aur Make:2]  bazel-bootstrap-3.2.0-1  bazel-git-r24502.9ec89b9194-1

==> Remove make dependencies after install? [y/N] n
  4 bazel-bootstrap                          (Build Files Exist)
  3 bazel-git                                (Build Files Exist)
  2 mozc                                     (Build Files Exist)
  1 fcitx5-mozc-ut                           (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/4): /home/user/.cache/yay/bazel-bootstrap
:: Deleting (2/4): /home/user/.cache/yay/bazel-git
:: Deleting (3/4): /home/user/.cache/yay/mozc
:: Deleting (4/4): /home/user/.cache/yay/fcitx5-mozc-ut
:: (1/4) Downloaded PKGBUILD: bazel-git
:: (2/4) Downloaded PKGBUILD: mozc
:: (3/4) Downloaded PKGBUILD: fcitx5-mozc-ut
:: (4/4) Downloaded PKGBUILD: bazel-bootstrap
  4 bazel-bootstrap                          (Build Files Exist)
  3 bazel-git                                (Build Files Exist)
  2 mozc                                     (Build Files Exist)
  1 fcitx5-mozc-ut                           (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/4) Parsing SRCINFO: bazel-bootstrap
:: (2/4) Parsing SRCINFO: bazel-git
:: (3/4) Parsing SRCINFO: mozc
:: (4/4) Parsing SRCINFO: fcitx5-mozc-ut
==> Making package: mozc 2.28.4740.102-1 (Mon 06 Jun 2022 06:45:52 PM -05)
==> Retrieving sources...
==> Making package: fcitx5-mozc-ut 2.28.4740.102-1 (Mon 06 Jun 2022 06:45:52 PM -05)
==> Retrieving sources...
  -> Cloning mozc-git git repo...
Cloning into bare repository '/home/user/.cache/yay/mozc/mozc-git'...
  -> Cloning fcitx5-mozc-ut-git git repo...
Cloning into bare repository '/home/user/.cache/yay/fcitx5-mozc-ut/fcitx5-mozc-ut-git'...
remote: Enumerating objects: 53803, done.
remote: Enumerating objects: 53803, done.
remote: Counting objects: 100% (5443/5443), done.
remote: Counting objects: 100% (5443/5443), done.
remote: Compressing objects: 100% (1507/1507), done.
remote: Compressing objects: 100% (1507/1507), done.
==> Making package: bazel-git r24502.9ec89b9194-1 (Mon 06 Jun 2022 06:45:53 PM -05)
==> Retrieving sources...
  -> Cloning bazel-git git repo...
Cloning into bare repository '/home/user/.cache/yay/bazel-git/bazel-git'...
==> Making package: bazel-bootstrap 3.2.0-1 (Mon 06 Jun 2022 06:45:53 PM -05)
==> Retrieving sources...
  -> Downloading bazel-bootstrap-3.2.0.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
remote: Enumerating objects: 784143, done.
remote: Counting objects: 100% (3884/3884), done.
remote: Compressing objects: 100% (2146/2146), done.
100  256M  100  256M    0     0  31.6M      0  0:00:08  0:00:08 --:--:-- 31.8MReceiving objects:  40% (21838/53803), 140.98 MiB | 14.15 MiB/s
  -> Downloading bazel-bootstrap-3.2.0.zip.sig...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100   566  100   566    0     0   1688      0 --:--:-- --:--:-- --:--:--  1688
==> Validating source files with sha512sums...
Passeding objects:  36% (19874/53803), 120.69 MiB | 9.97 MiB/s 0/53803), 147.08 MiB | 13.48 MiB/s
    bazel-bootstrap-3.2.0.zip.sig ... Skipped
==> Verifying source file signatures with gpg...
Passeding objects:   8% (62732/784143), 138.70 MiB | 23.41 MiB/s/784143), 98.36 MiB | 21.85 MiB/s
remote: Total 53803 (delta 4232), reused 5073 (delta 3917), pack-reused 48360
Receiving objects: 100% (53803/53803), 603.57 MiB | 17.46 MiB/s, done.
Resolving deltas: 100% (44904/44904), done.86 MiB | 22.68 MiB/s/s
remote: Total 53803 (delta 4232), reused 5073 (delta 3917), pack-reused 48360
Receiving objects: 100% (53803/53803), 603.57 MiB | 13.38 MiB/s, done.
  -> Found fcitx5.patch(40600/44904)43), 886.93 MiB | 20.63 MiB/s
==> Validating source files with sha256sums...
    fcitx5-mozc-ut-git ... Skipped
    fcitx5.patch ... Passed
Resolving deltas: 100% (44904/44904), done.4.00 MiB | 20.02 MiB/s
remote: Total 784143 (delta 2038), reused 2587 (delta 1187), pack-reused 780259
Receiving objects: 100% (784143/784143), 1.11 GiB | 19.65 MiB/s, done.
==> Validating source files with sha256sums...
    mozc-git ... Skipped
Resolving deltas: 100% (488693/488693), done.
==> Validating source files with sha512sums...
    bazel-git ... Skipped
==> Making package: bazel-bootstrap 3.2.0-1 (Mon 06 Jun 2022 06:47:07 PM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found bazel-bootstrap-3.2.0.zip
  -> Found bazel-bootstrap-3.2.0.zip.sig
==> Validating source files with sha512sums...
    bazel-bootstrap-3.2.0.zip ... Passed
    bazel-bootstrap-3.2.0.zip.sig ... Skipped
==> Verifying source file signatures with gpg...
    bazel-bootstrap-3.2.0.zip ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting bazel-bootstrap-3.2.0.zip with bsdtar
==> Sources are ready.
==> Making package: bazel-bootstrap 3.2.0-1 (Mon 06 Jun 2022 06:47:14 PM -05)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
🍃  Building Bazel from scratch......
🍃  Building Bazel with Bazel.
DEBUG: /tmp/bazel_zqZdkqjL/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_zqZdkqjL/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1804_java11 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_zqZdkqjL/out/external/bazel_toolchains/rules/rbe_repo/version_check.bzl:59:14:
Current running Bazel is not a release version and one was not defined explicitly in rbe_autoconfig target. Falling back to '3.1.0'
DEBUG: /tmp/bazel_zqZdkqjL/out/external/bazel_toolchains/rules/rbe_repo/checked_in.bzl:103:14: rbe_ubuntu1604_java8 not using checked in configs as detect_java_home was set to True
DEBUG: /tmp/bazel_zqZdkqjL/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:47:14:
Current Bazel is not a release version, cannot check for compatibility.
DEBUG: /tmp/bazel_zqZdkqjL/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:49:14: Make sure that you are running at least Bazel 0.21.0.
DEBUG: /tmp/bazel_zqZdkqjL/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:47:14:
Current Bazel is not a release version, cannot check for compatibility.
DEBUG: /tmp/bazel_zqZdkqjL/out/external/build_bazel_rules_nodejs/internal/common/check_bazel_version.bzl:49:14: Make sure that you are running at least Bazel 0.21.0.
INFO: Analyzed target //src:bazel_nojdk (278 packages loaded, 8693 targets configured).
INFO: Found 1 target...
[0 / 1,138] [Prepa] Writing file src/embedded_tools_nojdk.params
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.google.devtools.build.lib.unsafe.StringUnsafe (file:/tmp/bazel_zqZdkqjL/archive/libblaze.jar) to constructor java.lang.String(byte[],byte)
WARNING: Please consider reporting this to the maintainers of com.google.devtools.build.lib.unsafe.StringUnsafe
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
INFO: From Compiling src/main/tools/daemonize.c:
src/main/tools/daemonize.c: In function 'WritePidFile':
src/main/tools/daemonize.c:95:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
   95 |   write(pid_done_fd, &dummy, sizeof(dummy));
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ERROR: /home/user/.cache/yay/bazel-bootstrap/src/third_party/ijar/BUILD:47:11: C++ compilation of rule '//third_party/ijar:zlib_client' failed (Exit 1): gcc failed: error executing command
  (cd /tmp/bazel_zqZdkqjL/out/execroot/io_bazel && \
  exec env - \
    PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl \
    PWD=/proc/self/cwd \
  /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 -fdata-sections '-std=c++0x' -MD -MF bazel-out/k8-opt/bin/third_party/ijar/_objs/zlib_client/zlib_client.d '-frandom-seed=bazel-out/k8-opt/bin/third_party/ijar/_objs/zlib_client/zlib_client.o' -iquote . -iquote bazel-out/k8-opt/bin -isystem third_party/zlib -isystem bazel-out/k8-opt/bin/third_party/zlib -fno-canonical-system-headers -Wno-builtin-macro-redefined '-D__DATE__="redacted"' '-D__TIMESTAMP__="redacted"' '-D__TIME__="redacted"' -c third_party/ijar/zlib_client.cc -o bazel-out/k8-opt/bin/third_party/ijar/_objs/zlib_client/zlib_client.o)
Execution platform: //:default_host_platform
In file included from third_party/ijar/zlib_client.cc:20:
./third_party/ijar/zlib_client.h:64:46: error: 'numeric_limits' is not a member of 'std'
   64 |   static const size_t MAX_BUFFER_SIZE = std::numeric_limits<int32_t>::max();
      |                                              ^~~~~~~~~~~~~~
./third_party/ijar/zlib_client.h:64:68: error: expected primary-expression before '>' token
   64 |   static const size_t MAX_BUFFER_SIZE = std::numeric_limits<int32_t>::max();
      |                                                                    ^
./third_party/ijar/zlib_client.h:64:71: error: '::max' has not been declared; did you mean 'std::max'?
   64 |   static const size_t MAX_BUFFER_SIZE = std::numeric_limits<int32_t>::max();
      |                                                                       ^~~
      |                                                                       std::max
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/algorithm:61,
                 from third_party/ijar/zlib_client.cc:16:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../include/c++/12.1.0/bits/stl_algo.h:5756:5: note: 'std::max' declared here
 5756 |     max(initializer_list<_Tp> __l, _Compare __comp)
      |     ^~~
Target //src:bazel_nojdk failed to build
INFO: Elapsed time: 6.679s, Critical Path: 0.69s
INFO: 9 processes: 9 local.
FAILED: Build did NOT complete successfully

ERROR: Could not build Bazel
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: bazel-bootstrap

Re: I can't install fcitx5-mozc anymore

Reply #1
you have to wait like 10 minutes or reboot if you enter your password 3 times in a row incorrectly

also, you can clean build if you get an error and try again.  also you should read the output to see what exactly caused the fail and see if you can correct the issue causing the problem.
Cat Herders of Linux

 

Re: I can't install fcitx5-mozc anymore

Reply #2
Nvm, I didn't install the Arch community repository.