nooop3 / fcitx

Automatically exported from code.google.com/p/fcitx
GNU General Public License v2.0
0 stars 0 forks source link

We can't build fcitx-mozc-1.15.1834.102.1 with mozc-r544 #747

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hello,

We can't build fcitx-mozc-1.15.1834.102.1 with mozc-r544.

---------------------------------------
../../unix/fcitx/fcitx_mozc.cc:426:12: error: redefinition of 'FcitxMozc'
FcitxMozc::FcitxMozc(const mozc::fcitx::FcitxMozc& )
           ^
mozc/pkgbuild/src/mozc-2.16.2061.102/unix/fcitx/fcitx_mozc.h:168:32: note: 
previous definition is here
    DISALLOW_COPY_AND_ASSIGN ( FcitxMozc );
                               ^
mozc/pkgbuild/src/mozc-2.16.2061.102/base/port.h:102:5: note: expanded from 
macro 'DISALLOW_COPY_AND_ASSIGN'
    TypeName(const TypeName&) = delete;       \
    ^
1 error generated.
[327/401] ACTION(host) [oss] Generatin...anager/oss/embedded_dictionary_data.h.
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
  File "build_mozc.py", line 1454, in <module>
    main()
  File "build_mozc.py", line 1450, in main
    procedure[1](cmd_opts, cmd_args, original_directory_name)
  File "build_mozc.py", line 1070, in BuildMain
    BuildOnLinux(options, targets, original_directory_name)
  File "build_mozc.py", line 1026, in BuildOnLinux
    RunOrDie([make_command] + build_args + target_names)
  File "mozc/pkgbuild/src/mozc-2.16.2061.102/build_tools/util.py", line 99, in RunOrDie
    '==========']))
build_tools.util.RunOrDieError: 
==========
 ERROR: ninja -j 16 -C out_linux/Release mozc_server mozc_tool fcitx-mozc gen_fcitx_mozc_i18n mozc_renderer
==========
---------------------------------------

mozc-r510 works fine with fcitx-mozc-1.15.1834.102.1.
mozc developers has changed something...

Original issue reported on code.google.com by heathros...@gmail.com on 11 Feb 2015 at 3:49

GoogleCodeExporter commented 8 years ago
Hi, latest patch should fix this issue. Thanks!

Original comment by wen...@gmail.com on 11 Feb 2015 at 10:56

GoogleCodeExporter commented 8 years ago
The new patch includes "a/README.md" and "a/scripts/" files,
so "patch -Np2 -i fcitx-mozc-1.15.1834.102.1.patch" shows errors.
(Arch Linux packagers run the command to patch fcitx-mozc.)

I removed the lines from the new patch and I could build new fcitx-mozc.
Please check the attached file and update the patch.

I use fcitx-mozc every day. :-)
Thank you so much!

Original comment by heathros...@gmail.com on 12 Feb 2015 at 6:44

Attachments:

GoogleCodeExporter commented 8 years ago
ah, sorry... It's quite long time after I released last patch, I forgot I 
should only include src/ dir.

This one should be fine.
http://download.fcitx-im.org/fcitx-mozc/fcitx-mozc-2.16.2037.102.2.patch

Original comment by wen...@gmail.com on 12 Feb 2015 at 4:24

GoogleCodeExporter commented 8 years ago
Thanks!
It works fine. :-)

Original comment by heathros...@gmail.com on 12 Feb 2015 at 5:28