Package Base Details: mozc-ut-full

Git Clone URL: https://aur.archlinux.org/mozc-ut-full.git (read-only, click to copy)
Submitter: brli
Maintainer: brli
Last Packager: brli
Votes: 6
Popularity: 0.38
First Submitted: 2022-07-04 17:27 (UTC)
Last Updated: 2024-06-13 07:15 (UTC)

Latest Comments

1 2 3 Next › Last »

soylens commented on 2024-07-14 17:03 (UTC) (edited on 2024-07-14 17:32 (UTC) by soylens)

So a few recent upstream updates implies that minor changes to PKGBUILD are needed. Anyone should be able to figure out within 10min by themself.

Anyway:

  1. merge-ut-dictionaries switched to python from ruby. one reads the old/new sources and modifies PKGBUILD accordingly.

  2. bazel relies on java 21 now. there is an explicit line setting JAVA_HOME in the PKGBUILD that causes issues. it's obvious what to do.

EDIT: also something is broken protobuf and causes problems when it gets to map_fields.cc there. Not sure what and when though.

jaro3 commented on 2024-07-02 17:09 (UTC)

That was after rm -rf /root/.cache/bazel

Now when I replaced bazel5 from AUR another error terminates the compilation:

==> Starting build()... Extracting Bazel installation... Starting local Bazel server and connecting to it... INFO: Reading rc options for 'build' from /usr/src/tmp/mozc-ut-full/src/mozc/src/.bazelrc: 'build' options: --cxxopt -std=c++20 --copt -funsigned-char --copt -Wno-sign-compare --copt -Wno-char-subscripts --host_cxxopt -std=c++20 --host_copt -funsigned-char --host_copt -Wno-sign-compare --host_copt -Wno-char-subscripts --objccopt -fsigned-char --noenable_bzlmod ERROR: --noenable_bzlmod :: Unrecognized option: --noenable_bzlmod ==> ERROR: A failure occurred in build(). Aborting...

This thing doesn't compile on current Arch installation, I am going to mozc-ut + ibus-mozc

brli commented on 2024-07-02 09:13 (UTC)

@jaro3: please use code tag to include output.

Also, make sure your using clean chroot.

But still, you can try to rm -rf /root/.cache, and retry.

jaro3 commented on 2024-07-02 08:46 (UTC)

==> UT Dictionary steps, rewrite of sh make.sh ==> 1. Append dictionaries ==> 2. Patch ruby scripts to avoid downloading renamed '/usr/src/tmp/mozc-ut-full/src/jawiki-latest-all-titles-in-ns0-20240612.gz' -> './jawiki-latest-all-titles-in-ns0.gz' ==> 3. Run the ruby scripts as in original make.sh, it may take some time... ==> 4. Finally add UT dictionary to mozc source ==> Starting pkgver()... ==> Removing existing $pkgdir/ directory... ==> Starting build()... Extracting Bazel installation... Starting local Bazel server and connecting to it... Server crashed during startup. Now printing /root/.cache/bazel/_bazel_root/6276fb3b2fa67ed9a558b53d6fb38290/server/jvm.out Error: LinkageError occurred while loading main class com.google.devtools.build.lib.bazel.Bazel java.lang.UnsupportedClassVersionError: com/google/devtools/build/lib/bazel/Bazel has been compiled by a more recent version of the Java Runtime (class file version 65.0), this version of the Java Runtime only recognizes class file versions up to 55.0 ==> ERROR: A failure occurred in build(). Aborting...

Bitals commented on 2024-04-14 10:38 (UTC)

Checksum still fails for mozcdic-ut-personal-names-20240331.txt.tar.bz2 and mozcdic-ut-sudachidict-20240331.txt.tar.bz2.

zwastik commented on 2023-11-22 17:17 (UTC)

==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    mozc ... Skipped
    x-ken-all-202110.zip ... Passed
    jigyosyo-202110.zip ... Passed
    abseil-cpp ... Skipped
    breakpad ... Skipped
    googletest ... Skipped
    gyp ... Skipped
    japanese-usage-dictionary ... Skipped
    jsoncpp ... Skipped
    protobuf ... Skipped
    merge-ut-dictionaries ... Skipped
    jawiki-latest-all-titles-in-ns0-20231008.gz ... FAILED
    mozcdic-ut-alt-cannadic-20231008.txt.tar.bz2 ... Passed
    mozcdic-ut-edict2-20231008.txt.tar.bz2 ... FAILED
    mozcdic-ut-jawiki-20231008.txt.tar.bz2 ... FAILED
    mozcdic-ut-neologd-20231008.txt.tar.bz2 ... Passed
    mozcdic-ut-personal-names-20231008.txt.tar.bz2 ... FAILED
    mozcdic-ut-place-names-20231008.txt.tar.bz2 ... FAILED
    mozcdic-ut-skk-jisyo-20231008.txt.tar.bz2 ... Passed
    mozcdic-ut-sudachidict-20231008.txt.tar.bz2 ... Passed
==> ERROR: One or more files did not pass the validity check!
 -> error downloading sources: /home/user/.cache/yay/mozc-ut-full 
         context: exit status 1 

Bitals commented on 2023-10-11 10:40 (UTC)

With clean as arctic ice bazel cache:

10:29:45 ERROR: Traceback (most recent call last):
10:29:45    File "/home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/qt_linux/BUILD.bazel", line 8, column 16, in <toplevel>
10:29:45        hdrs = glob([
10:29:45 Error in glob: pattern cannot be absolute
10:29:46 Analyzing: 6 targets (50 packages loaded, 138 targets configured)
10:29:47 Analyzing: 6 targets (50 packages loaded, 138 targets configured)
10:29:48 ERROR: /home/builder/.cache/aurutils/sync/mozc-ut-full/src/mozc/src/gui/tool/BUILD.bazel:95:18: no such target '@qt_linux//:qt_linux': target 'qt_linux' not declared in package '' defined by /home/builder/.cache/bazel/_bazel_builder/ad1e64ce2a5749c9b6295b7eb211686d/external/qt_linux/BUILD.bazel (Tip: use `query "@qt_linux//:*"` to see all the targets in that package) and referenced by '//gui/tool:mozc_tool'
10:29:48 ERROR: Analysis of target '//gui/tool:mozc_tool' failed; build aborted: Analysis failed
10:29:48 INFO: Elapsed time: 24.110s
10:29:48 INFO: 0 processes.
10:29:48 FAILED: Build did NOT complete successfully (51 packages loaded, 138 targets configured)

tkna commented on 2023-10-11 00:23 (UTC)

Aborting...

curl: (22) The requested URL returned error: 504
==> ERROR: Failure while downloading https://osdn.net/projects/ponsfoot-aur/storage/mozc/x-ken-all-202110.zip
error: failed to download sources for 'mozc-ut-full-2.29.5220.102.20230911-1 (mozc-ut-full-common fcitx5-mozc-ut-full)':

brli commented on 2023-09-24 05:54 (UTC)

Notes about this update:

  1. deprecated qt5-base as to qt6-base, to utilize the /usr/lib/mozc/mozc_tool
  2. remove gtk2 dependency as it is removed upstream.
  3. move away some qt5-base depends on multiple packages.

brli commented on 2023-08-31 19:09 (UTC)

@Score_Under: please rephrase the term: "Every time I get to it", because I can't understand that.

Let me explain a bit:

  1. The main repo, aka. fcitx's fork of mozc, is pinned to a certain commit, in the line _mozc_commit=e4617bf, which should be unique-hashed enough.
  2. The other libs are defined by the git submodule document in THAT mozc commit.
  3. The utuhiro78 additional dictionary helper is maintained by the author, and is fine to always follow up to main branch IMHO, as it won't pollute final binary.
  4. I admit that it isn't the best solution to use git repo as source. Also, Noted that I'm not always following the latest commit.
  5. The dictionaries are prefixed with the date-of-latest-push (well, not that accurate anyway)