Package Details: mozc-ut2 2.23.2815.102.20171008-2

Git Clone URL: https://aur.archlinux.org/mozc-ut2.git (read-only)
Package Base: mozc-ut2
Description: Mozc the Japanese Input Method with Mozc UT2 Dictionary
Upstream URL: http://www.geocities.jp/ep3797/mozc-ut2.html
Licenses: GPL, custom, BSD, cc-by-sa
Groups: mozc-im
Conflicts: mozc, mozc-server, mozc-ut, mozc-utils-gui
Provides: mozc=2.23.2815.102
Replaces: mozc-server-ut, mozc-ut, mozc-utils-gui-ut
Submitter: ponsfoot
Maintainer: ponsfoot
Last Packager: ponsfoot
Votes: 9
Popularity: 0.011423
First Submitted: 2016-10-16 13:48
Last Updated: 2018-03-26 06:17

Latest Comments

makemeunsee commented on 2018-05-23 20:29

you want to add these lines to src/mozc-ut2-2.23.2815.102.20171008/src/prediction/zero_query_dict.h:128

iterator &operator--() {
  ptr_ -= kTokenByteSize;
  return *this;
}

Fandekasp commented on 2018-05-13 03:29

Doesn't work even when reinstalling ruby

In file included from /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../include/c++/8.1.0/bits/stl_algobase.h:66:                                                                
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../include/c++/8.1.0/bits/stl_iterator_base_funcs.h:183:2: error: cannot decrement value of type 'mozc::ZeroQueryDict::iterator'  
        --__i;
        ^ ~~~
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../include/c++/8.1.0/bits/stl_iterator_base_funcs.h:206:12: note: in instantiation of function template specialization 'std::__advance<mozc::ZeroQueryDict::iterator, long>' requested here
      std::__advance(__i, __d, std::__iterator_category(__i));
           ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../include/c++/8.1.0/bits/stl_algo.h:2137:9: note: in instantiation of function template specialization 'std::advance<mozc::ZeroQueryDict::iterator, long>' requested here
          std::advance(__middle, __half);
               ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/8.1.0/../../../../include/c++/8.1.0/bits/stl_algo.h:2190:19: note: in instantiation of function template specialization 'std::__equal_range<mozc::ZeroQueryDict::iterator, unsigned long, __gnu_cxx::__ops::_Iter_less_val, __gnu_cxx::__ops::_Val_less_iter>' requested here                                                                
      return std::__equal_range(__first, __last, __val,
                  ^
/home/dori/.cache/yay/mozc-ut2/src/mozc-ut2-2.23.2815.102.20171008/src/prediction/zero_query_dict.h:213:17: note: in instantiation of function template specialization 'std::equal_range<mozc::ZeroQueryDict::iterator, unsigned long>' requested here
    return std::equal_range(begin(), end(), iter.index());
                ^
1 error generated.
[779/930] CXX obj...story_predictor.o
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "build_mozc.py", line 1236, in <module>
    main()
  File "build_mozc.py", line 1223, in main
    BuildMain(cmd_opts, cmd_args)
  File "build_mozc.py", line 854, in BuildMain
    BuildWithNinja(options, targets)
  File "build_mozc.py", line 828, in BuildWithNinja
    RunOrDie([ninja, '-C', build_arg] + ninja_targets)
  File "/home/dori/.cache/yay/mozc-ut2/src/mozc-ut2-2.23.2815.102.20171008/src/build_tools/util.py", line 99, in RunOrDie                                                                  
    '==========']))
build_tools.util.RunOrDieError:
==========
 ERROR: ninja -C out_linux/Release mozc_server mozc_tool ibus_mozc mozc_renderer
==========
==> ERROR: A failure occurred in build().
    Aborting...
Error making: uim-mozc-ut2

Fandekasp commented on 2018-05-13 02:55

@ponsfoot an answer would be appreciated.

Fandekasp commented on 2018-04-20 06:08

Failed to install due to ruby dependency. Running rvm, I have the ruby-2.4 executable available, but not ruby. Creating an alias ruby=ruby-2.4 didn't solve the issue. Had to manually reinstall the package after modifying mod-generate-dictionary.sh myself.

You might want to improve the mod-generate-dictionary.sh script to find the proper executable.