Package Details: mozc-ut-united 2.23.2815.102.20201110-1

Git Clone URL: (read-only, click to copy)
Package Base: mozc-ut-united
Description: A Japanese Input Method for Chromium OS, Windows, Mac and Linux (the Open Source Edition of Google Japanese Input)
Upstream URL:
Licenses: GPL, custom, BSD
Conflicts: mozc, mozc-neologd-ut, mozc-neologd-ut+ut2, mozc-server, mozc-ut-unified, mozc-ut2, mozc-utils-gui
Provides: mozc=2.23.2815.102
Submitter: OrangeJuicelol
Maintainer: OrangeJuicelol
Last Packager: OrangeJuicelol
Votes: 3
Popularity: 0.72
First Submitted: 2020-06-26 15:05
Last Updated: 2020-11-10 15:12

Latest Comments

homocomputeris commented on 2020-11-01 23:01

Probably, this should be a makedep

==> Making package: mozc-ut-united 2.23.2815.102.20200924-1
==> Checking runtime dependencies...
==> Missing dependencies:
  -> zinnia
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.

Nocifer commented on 2020-10-16 08:19

There's an issue with generating the package version in pkgver(), instead of

printf "%s.%s.%s.%s" $MAJOR $MINOR $BUILD $REVISION

it should be something like

printf "%s.%s.%s.%s.%s" $MAJOR $MINOR $BUILD $REVISION $_utdicdate

so that the date seed is also included in the string.

dreamingincode commented on 2020-10-08 20:22

Thanks for the reply! But there is still another error after the update:

patch: **** Can't open patch file /home/zh/.cache/yay/mozc-ut-united/src/usage_dict.txt.patch : No such file or directory
==> ERROR: A failure occurred in prepare().

And after removing patch -Np1 -i ${srcdir}/usage_dict.txt.patch in prepare():

INFO: Running GYP...
INFO: Running: /usr/bin/gyp --depth=. --include=./gyp/common.gypi -D abs_depth=/home/zh/.cache/yay/mozc-ut-united/src/mozc/src -D ext_third_party_dir=/home/zh/.cache/yay/mozc-ut-united/src/mozc/src/third_party -D python_executable=/usr/bin/python ./base/base.gyp ./base/base_test.gyp ./client/client.gyp ./client/client_test.gyp ./composer/composer.gyp ./composer/composer_test.gyp ./config/config.gyp ./config/config_test.gyp ./converter/converter.gyp ./converter/converter_base.gyp ./converter/converter_main.gyp ./converter/converter_test.gyp ./data/test/session/scenario/scenario.gyp ./data/test/session/scenario/usage_stats/usage_stats.gyp ./data_manager/chromeos/chromeos_data_manager.gyp ./data_manager/chromeos/chromeos_data_manager_base.gyp ./data_manager/chromeos/chromeos_data_manager_test.gyp ./data_manager/data_manager.gyp ./data_manager/data_manager_base.gyp ./data_manager/data_manager_test.gyp ./data_manager/oss/oss_data_manager.gyp ./data_manager/oss/oss_data_manager_base.gyp ./data_manager/oss/oss_data_manager_test.gyp ./data_manager/testing/mock_data_manager.gyp ./data_manager/testing/mock_data_manager_base.gyp ./data_manager/testing/mock_data_manager_test.gyp ./dictionary/dictionary.gyp ./dictionary/dictionary_base.gyp ./dictionary/dictionary_test.gyp ./dictionary/file/dictionary_file.gyp ./dictionary/file/dictionary_file_test.gyp ./dictionary/system/system_dictionary.gyp ./dictionary/system/system_dictionary_test.gyp ./engine/engine.gyp ./engine/engine_test.gyp ./gui/gui.gyp ./gyp/tests.gyp ./handwriting/handwriting.gyp ./handwriting/handwriting_test.gyp ./handwriting/zinnia.gyp ./ipc/ipc.gyp ./mac/mac.gyp ./net/jsoncpp.gyp ./net/net.gyp ./net/net_test.gyp ./prediction/prediction.gyp ./prediction/prediction_base.gyp ./prediction/prediction_test.gyp ./protobuf/protobuf.gyp ./protocol/protocol.gyp ./renderer/renderer.gyp ./request/request.gyp ./rewriter/calculator/calculator.gyp ./rewriter/rewriter.gyp ./rewriter/rewriter_base.gyp ./rewriter/rewriter_test.gyp ./server/server.gyp ./session/session.gyp ./session/session_base.gyp ./session/session_test.gyp ./storage/storage.gyp ./storage/storage_test.gyp ./testing/testing.gyp ./transliteration/transliteration.gyp ./transliteration/transliteration_test.gyp ./unix/emacs/emacs.gyp ./unix/ibus/ibus.gyp ./usage_stats/usage_stats.gyp ./usage_stats/usage_stats_base.gyp ./usage_stats/usage_stats_test.gyp -D branding=Mozc -D use_qt=YES -D qt_dir= -D use_wix=NO -D build_base=/home/zh/.cache/yay/mozc-ut-united/src/mozc/src/out_linux -D build_short_base=out_linux -D warn_as_error=0 -D channel_dev=1 -D enable_cloud_handwriting=0 -D target_platform=Linux -D use_libibus=1 --generator-output=. -G output_dir=out_linux
Traceback (most recent call last):
  File "", line 1236, in <module>
  File "", line 1220, in main
    GypMain(cmd_opts, cmd_args)
  File "", line 736, in GypMain
    RunOrDie(gyp_command + gyp_options)
  File "/home/zh/.cache/yay/mozc-ut-united/src/mozc/src/build_tools/", line 92, in RunOrDie
    process = subprocess.Popen(argv)
  File "/usr/lib/python3.8/", line 854, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/lib/python3.8/", line 1702, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/bin/gyp'
==> ERROR: A failure occurred in build().

After adding gyp to makedepends, the package can be built.

However, I think the correct solution should be using the bundled gyp inside mozc's third_party directory, which can be done by removing --gypdir=/usr/bin --target_platform=Linux from python gyp --gypdir=/usr/bin --target_platform=Linux in build() (I found out this from mozc-ut2's PKGBUILD). After all, why not just makedepends on python2 and use python2 instead of python which is Python 3, to build the project, as done in mozc-ut2?

OrangeJuicelol commented on 2020-10-08 16:28

@dreamingincode Updated. Please respond if there's any error left with the build cause I'm not running Linux on my machine rn so I have no way to really check it. Thanks.

dreamingincode commented on 2020-10-04 21:25

makepkg is failing for another issue:

The next patch would create the file src/third_party/japanese_usage_dictionary/usage_dict.txt,
which already exists!  Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in prepare().

OrangeJuicelol commented on 2020-10-04 15:26

@dreamingincode Thanks for the notification.

dreamingincode commented on 2020-10-01 10:46

curl: (22) The requested URL returned error: 404 ==> Error: Cannot download

Visiting the URL directly also showed me a 404 page.

It seems upstream has updated to mozcdic-ut-20200924.1.tar.bz2, so I'll flag this package as outdated as well.