Package Base Details: mozc-ut-united

Git Clone URL: https://aur.archlinux.org/mozc-ut-united.git (read-only, click to copy)
Submitter: OrangeJuicelol
Maintainer: silverhikari
Last Packager: silverhikari
Votes: 6
Popularity: 0.032625
First Submitted: 2020-06-26 15:05 (UTC)
Last Updated: 2022-10-30 00:48 (UTC)

Pinned Comments

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

1 2 3 Next › Last »

silverhikari commented on 2022-07-11 19:15 (UTC) (edited on 2022-07-11 19:15 (UTC) by silverhikari)

@codewiz figured out the problem, after removing the patches(as they are no longer needed) i had forgotten to remove the sums for those patches causing there to be more sums than there are sources. i removed the sums after noticing the problem but i had forgotten before pushing the commit to increment the pkgrel. the new version should fix this issue

codewiz commented on 2022-07-10 01:58 (UTC) (edited on 2022-07-10 01:58 (UTC) by codewiz)

Updating to mozc-ut-united 2.28.4750.102_20220623_2.26.4660.102.r205.g9da52ff9-1 fails with:

  ==> ERROR: Integrity checks (sha1) differ in size from the source array.
   -> error downloading sources: mozc-ut-united
           context: exit status 1

Known problem?

silverhikari commented on 2022-05-15 04:10 (UTC) (edited on 2022-05-15 04:10 (UTC) by silverhikari)

@jimreynold2nd it should build fine using the java version specified by bazel which is jdk11-openjdk

jimreynold2nd commented on 2022-05-13 19:27 (UTC)

I have the same problem with homocomputeris. What's the java version used?

silverhikari commented on 2022-03-29 05:37 (UTC)

@homocomputeris i can not replicate this error on my systems, you may want to send this upstream to the bazel issues as this seems to be caused by something going wrong with bazel and java

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.