Package Details: mozc-ut-full-common 2.30.5618.102.20241212-1

Git Clone URL: https://aur.archlinux.org/mozc-ut-full.git (read-only, click to copy)
Package Base: mozc-ut-full
Description: A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)
Upstream URL: https://github.com/fcitx/mozc
Licenses: custom
Submitter: brli
Maintainer: brli
Last Packager: brli
Votes: 6
Popularity: 0.021865
First Submitted: 2022-07-04 17:27 (UTC)
Last Updated: 2024-12-13 02:40 (UTC)

Sources (21)

Latest Comments

1 2 3 4 Next › Last »

Dettorer commented on 2024-11-03 01:01 (UTC)

I think this package wasn't update along the recent design changes:

  • the dictionaries' filename in source changed, they end with .txt.bz2 instead of .txt.tar.bz2 now;
  • their respective checksum changed accordingly;
  • the file names also contain the _dictdate value in them it seems, so the cat command fails;
  • the script used in the PKGBUILD don't exist anymore (I guess the were replaced with the merge/tmerge_dictionaries.py script?).

ToastedWookiee commented on 2024-10-24 14:14 (UTC) (edited on 2024-10-25 06:12 (UTC) by ToastedWookiee)

In "merge-ut-dictionaries" in a commit 3 days ago the files for "remove_duplicate_ut_entries.py", "count_word_hits.py", and "apply_word_hits.py" were removed from the "src" directory and are located in "src/merge"

https://github.com/utuhiro78/merge-ut-dictionaries/commit/b2198e7f15145f1ed4ef84ac0ffaa5f81a8931e0

==> 2. Patch python scripts to avoid downloading
sed: can't read count_word_hits.py: No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mozc-ut-full-exit status 4

but then in the current file, there is an error, due to the removal of the file download line, which has been changed in the src:

==> 3. Run the python scripts as in original make.sh, it may take some time...
  File "/home/scott/.cache/yay/mozc-ut-full/src/merge-ut-dictionaries/src/merge/count_word_hits.py", line 11
    ['wget', '-N', 'https://dumps.wikimedia.org/jawiki/latest/' +
IndentationError: unexpected indent
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: mozc-ut-full-exit status 4

ToastedWookiee commented on 2024-10-24 07:21 (UTC) (edited on 2024-10-24 07:22 (UTC) by ToastedWookiee)

==> Validating source files with sha512sums...
    mozc ... Passed
    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-20241022.gz ... FAILED
    mozcdic-ut-alt-cannadic-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-edict2-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-jawiki-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-neologd-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-personal-names-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-place-names-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-skk-jisyo-20241022.txt.tar.bz2 ... Passed
    mozcdic-ut-sudachidict-20241022.txt.tar.bz2 ... Passed
==> ERROR: One or more files did not pass the validity check!

BudgieUser commented on 2024-10-22 15:48 (UTC) (edited on 2024-10-22 15:49 (UTC) by BudgieUser)

==> Validating source files with sha512sums...
    …
    mozcdic-ut-alt-cannadic-20241015.txt.tar.bz2 ... FAILED
    mozcdic-ut-jawiki-20241015.txt.tar.bz2 ... FAILED
    mozcdic-ut-neologd-20241015.txt.tar.bz2 ... FAILED
    mozcdic-ut-place-names-20241015.txt.tar.bz2 ... FAILED
==> ERROR: One or more files did not pass the validity check!
error: failed to download sources for 'mozc-ut-full-2.30.5618.102.20241015-1 (mozc-ut-full-common ibus-mozc-ut-full)': 
error: packages failed to build: mozc-ut-full-2.30.5618.102.20241015-1 (mozc-ut-full-common ibus-mozc-ut-full)

hearth commented on 2024-08-03 09:15 (UTC)

The url for x-ken-all-202110.zip appears to be incorrect:

curl: (22) The requested URL returned error: 404
==> ERROR: Failure while downloading https://gitlab.com/BrLi/brli-aur/-/raw/fcitx5-mozc-ut-full/x-ken-all-202110.zip
    Aborting...

brli commented on 2024-07-30 00:34 (UTC)

hi,

thanks for using this aur and posting issues.

sorry for the late update that takes so far.

I was having issue accessing my build box, but hopefully that is fixed.

this push of 20240730 should have fixed a couple of mentioned issues including the protobuf build error and python switch.

soylens commented on 2024-07-29 06:11 (UTC)

Apparently either something in GCC or in Protobuf is causing problems for me. Anyone else?

ERROR: (bazel_cache_dir)/external/com_google_protobuf/src/google/protobuf/BUILD.bazel:583:11: Compiling src/google/protobuf/map_field.cc [for tool] failed: (Exit 1): gcc failed: error executing CppCompile command (from target @@com_google_protobuf//src/google/protobuf:protobuf) /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 ... (remaining 62 arguments skipped)

In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/string:54,
                 from bazel-out/k8-opt-exec-ST-a828a81199fe/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf/google/protobuf/map_field.h:15,
                 from external/com_google_protobuf/src/google/protobuf/map_field.cc:8:
In member function 'constexpr std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::pointer std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_data() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]',
    (skipping 70 lines of "inlined from ...")
    inlined from 'static void google::protobuf::internal::TypeDefinedMapFieldBase<Key, T>::SwapImpl(google::protobuf::internal::MapFieldBase&, google::protobuf::internal::MapFieldBase&) [with Key = google::protobuf::MapKey; T = google::protobuf::MapValueRef]' at bazel-out/k8-opt-exec-ST-a828a81199fe/bin/external/com_google_protobuf/src/google/protobuf/_virtual_includes/protobuf/google/protobuf/map_field_inl.h:133:55:
/usr/lib/gcc/x86_64-pc-linux-gnu/14.1.1/../../../../include/c++/14.1.1/bits/basic_string.h:1182:30: error: '*(const std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*)((char*)<unknown> + 8).std::__cxx11::basic_string<char>::<anonymous>.std::__cxx11::basic_string<char>::<unnamed union>::_M_allocated_capacity' may be used uninitialized [-Werror=maybe-uninitialized]
 1182 |         return _M_is_local() ? size_type(_S_local_capacity)
      |                ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1183 |                              : _M_allocated_capacity;
      |                              ~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors

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.