Package Details: ibus-mozc-ut-united 2.28.4960.102_20230107_2.28.4880.102.r161.g7ec82c93-1

Git Clone URL: https://aur.archlinux.org/mozc-ut-united.git (read-only, click to copy)
Package Base: mozc-ut-united
Description: IBus engine module for Mozc with UT dictionary
Upstream URL: https://osdn.net/users/utuhiro/pf/utuhiro/files/
Licenses: GPL, custom, BSD
Conflicts: ibus-mozc, ibus-mozc-ut2
Provides: ibus-mozc
Submitter: OrangeJuicelol
Maintainer: None
Last Packager: silverhikari
Votes: 6
Popularity: 0.000001
First Submitted: 2020-06-26 15:05 (UTC)
Last Updated: 2023-01-07 00:33 (UTC)

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)

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

homocomputeris commented on 2022-03-24 21:52 (UTC)

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)

hegstal commented on 2022-02-27 15:20 (UTC)

android-fix.patch appears to be broken now due to a slight change in the surrounding code in WORKSPACE.bazel for mozc master (namely reffers -> refers to in commit cf3a9de of mozc).

Can be temporarily worked around by manually making the relevant changes to android-fix.patch:

--- WORKSPACE.bazel 2022-01-31 15:44:11.510958782 -0500
+++ WORKSPACE-new.bazel 2022-01-31 15:48:42.861958776 -0500
@@ -5,11 +5,11 @@
 load("//:config.bzl", "QT_BASE_PATH")

 # This rule refers to $ANDROID_SDK_HOME.
-android_sdk_repository(name = "androidsdk")
+#android_sdk_repository(name = "androidsdk")

 # Android NDK version should be r11c+ for Abseil.
 # This rule refers to $ANDROID_NDK_HOME.
-android_ndk_repository(name = "androidndk")
+#android_ndk_repository(name = "androidndk")

 local_repository(
     name = "com_google_absl",

clay53 commented on 2022-02-19 05:45 (UTC)

@silverhikari Thanks, seems to work now. Still have the preferences window problem. Probably not a problem with this packaging so I might make a git issue for that but it also might be a problem with the WM I'm using (leftwm) or my general setup (kinda edge-casey - Chromebook with a 3rd party legacy bios to boot Arch off a microSD).

martoko commented on 2022-02-13 13:35 (UTC)

I had to install python-six as well to build, and set my JAVAHOME (using archlinux-java) to Java 11 in order for it to build.

silverhikari commented on 2022-02-03 04:44 (UTC)

@hina yep that is what the android-fix.patch files is doing, along with adding a comment mark to the sdk line just to be extra sure

hina commented on 2022-02-03 04:33 (UTC)

A simple comment-out patch is effective for fixing Android errors. https://github.com/google/mozc/issues/544#issuecomment-1025122998

For example, mozc-ut-common: https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=mozc-ut-common&id=46a1b8136f02590caeaf12630a64b59b418f484d

silverhikari commented on 2022-02-02 03:54 (UTC)

@clay53 this new uploaded version should fix the android error that appears with bazel 5.0.0

clay53 commented on 2022-01-29 03:10 (UTC)

@silverhikary Thank you, I downgraded my bazel install to 4.2.2 (https://wiki.archlinux.org/title/Arch_Linux_Archive) and it successfully installed. I don't seem to be able to open the preferences window but I don't imagine that that's related.

silverhikari commented on 2022-01-28 18:44 (UTC)

@clay53 after some messages between npreining and i, we have found out the reason this is happening as this seems to be caused by the repository not working well with the new version of bazel(5.0.0) as the version i had tested and build successfully with was 4.2.2