Is there a way to fix this build error?
==> Starting build()...
=====================================================
*** Build Info ***
The following package files will be generated:
* mozc-ut-united-2.26.4666.102_20220305_2018.02.26.r307.g1b950579-1-x86_64.pkg.tar.zst
* ibus-mozc-ut-united-2.26.4666.102_20220305_2018.02.26.r307.g1b950579-1-x86_64.pkg.tar.zst
=====================================================
Starting make...
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US)
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
WARNING: ignoring _JAVA_OPTIONS in environment.
INFO: SHA256 (https://www.post.japanpost.jp/zipcode/dl/jigyosyo/zip/jigyosyo.zip) = 80c7a198f03a9f7b954491f7c99c7b3a3af43e29ec0dafb8716ca987d915c98a
DEBUG: Rule 'zip_code_jigyosyo' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "80c7a198f03a9f7b954491f7c99c7b3a3af43e29ec0dafb8716ca987d915c98a"
DEBUG: Repository zip_code_jigyosyo instantiated at:
/home/user/.cache/paru/clone/mozc-ut-united/src/mozc/src/WORKSPACE.bazel:186:13: in <toplevel>
Repository rule http_archive defined at:
/home/user/.cache/paru/clone/mozc-ut-united/src/bazel-cache/88591a71fda356e20b2f340c858c6981/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: SHA256 (https://www.post.japanpost.jp/zipcode/dl/kogaki/zip/ken_all.zip) = 1e8a27f9dac60f9288b3cd9d41921f896b44d25f1ea97e16576552ca8f49706c
DEBUG: Rule 'zip_code_ken_all' indicated that a canonical reproducible form can be obtained by modifying arguments sha256 = "1e8a27f9dac60f9288b3cd9d41921f896b44d25f1ea97e16576552ca8f49706c"
DEBUG: Repository zip_code_ken_all instantiated at:
/home/user/.cache/paru/clone/mozc-ut-united/src/mozc/src/WORKSPACE.bazel:180:13: in <toplevel>
Repository rule http_archive defined at:
/home/user/.cache/paru/clone/mozc-ut-united/src/bazel-cache/88591a71fda356e20b2f340c858c6981/external/bazel_tools/tools/build_defs/repo/http.bzl:336:31: in <toplevel>
INFO: Analyzed target //:package (112 packages loaded, 4561 targets configured).
INFO: Found 1 target...
[0 / 13] [Prepa] BazelWorkspaceStatusAction stable-status.txt
FATAL: bazel crashed due to an internal error. Printing stack trace:
java.lang.ExceptionInInitializerError
at com.google.devtools.build.lib.actions.ParameterFile.writeContent(ParameterFile.java:118)
at com.google.devtools.build.lib.actions.ParameterFile.writeParameterFile(ParameterFile.java:111)
at com.google.devtools.build.lib.analysis.actions.ParameterFileWriteAction$ParamFileWriter.writeOutputFile(ParameterFileWriteAction.java:175)
at com.google.devtools.build.lib.exec.FileWriteStrategy.beginWriteOutputToFile(FileWriteStrategy.java:58)
at com.google.devtools.build.lib.analysis.actions.AbstractFileWriteAction.beginExecution(AbstractFileWriteAction.java:66)
at com.google.devtools.build.lib.actions.Action.execute(Action.java:127)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$5.execute(SkyframeActionExecutor.java:855)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.continueAction(SkyframeActionExecutor.java:1016)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor$ActionRunner.run(SkyframeActionExecutor.java:975)
at com.google.devtools.build.lib.skyframe.ActionExecutionState.runStateMachine(ActionExecutionState.java:129)
at com.google.devtools.build.lib.skyframe.ActionExecutionState.getResultOrDependOnFuture(ActionExecutionState.java:81)
at com.google.devtools.build.lib.skyframe.SkyframeActionExecutor.executeAction(SkyframeActionExecutor.java:472)
at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.checkCacheAndExecuteIfNeeded(ActionExecutionFunction.java:834)
at com.google.devtools.build.lib.skyframe.ActionExecutionFunction.compute(ActionExecutionFunction.java:307)
at com.google.devtools.build.skyframe.AbstractParallelEvaluator$Evaluate.run(AbstractParallelEvaluator.java:477)
at com.google.devtools.build.lib.concurrent.AbstractQueueVisitor$WrappedRunnable.run(AbstractQueueVisitor.java:398)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make java.lang.String(byte[],byte) accessible: module java.base does not "opens java.lang" to unnamed module @30ee2816
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181)
at com.google.devtools.build.lib.unsafe.StringUnsafe.<init>(StringUnsafe.java:75)
at com.google.devtools.build.lib.unsafe.StringUnsafe.initInstance(StringUnsafe.java:56)
at com.google.devtools.build.lib.unsafe.StringUnsafe.<clinit>(StringUnsafe.java:37)
... 19 more
==> ERROR: A failure occurred in build().
Aborting...
error: failed to build 'mozc-ut-united-2.26.4646.102_20220305_2018.02.26.r289.g650e8de7-1 (ibus-mozc-ut-united)':
error: packages failed to build: mozc-ut-united-2.26.4646.102_20220305_2018.02.26.r289.g650e8de7-1 (ibus-mozc-ut-united)
Pinned Comments
silverhikari commented on 2023-01-28 17:34 (UTC) (edited on 2023-02-24 05:20 (UTC) by silverhikari)
at the moment this project is now dead, as the maintainer for the mozcdic-ut is no longer publishing the ut dictionary and at the moment they are trying to split it into a version that can be distributed. if you need to something similar i would recommend switching to mozc-ut and ibus-mozc.
direct url to info: http://linuxplayers.g1.xrea.com/mozc-ut.html
OrangeJuicelol commented on 2020-12-10 14:45 (UTC) (edited on 2022-01-13 19:08 (UTC) by OrangeJuicelol)
Notice: If you are building for Emacs, please enable toggle for Emacs and disable toggle for IBus in pkgbuild (Read: https://wiki.archlinux.org/index.php/Mozc#Installation)