Package Details: ibus-mozc-ut-full 2.31.5712.102.20250110-1

Git Clone URL: https://aur.archlinux.org/mozc-ut-full.git (read-only, click to copy)
Package Base: mozc-ut-full
Description: IBus engine module for Mozc with UT dictionary
Upstream URL: https://github.com/fcitx/mozc
Licenses: custom
Conflicts: ibus-mozc
Replaces: ibus-mozc
Submitter: brli
Maintainer: brli
Last Packager: brli
Votes: 6
Popularity: 0.003791
First Submitted: 2022-07-04 17:27 (UTC)
Last Updated: 2025-01-19 07:19 (UTC)

Required by (0)

Sources (21)

Latest Comments

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

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.

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.