Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-9196

app-i18n/mozc compilation failure on 1.4-release

    • emerge app-i18n/mozc with USE=ibus, though I think the same error would appear with emacs and fcitx4
    • Blocks app-i18n/mozc on the 1.4 release
    • Hide
      mozc is trying to reference an obsolete protobuf method. this might be fixed by upgrading the ebuild to mozc 2.26, like on gentoo https://packages.gentoo.org/packages/app-i18n/mozc, but i'm not sure how to test this out.

      this seems to be fixed in git master, https://github.com/google/mozc/blob/master/src/dictionary/user_dictionary_storage.cc#L103
      Show
      mozc is trying to reference an obsolete protobuf method. this might be fixed by upgrading the ebuild to mozc 2.26, like on gentoo https://packages.gentoo.org/packages/app-i18n/mozc, but i'm not sure how to test this out. this seems to be fixed in git master, https://github.com/google/mozc/blob/master/src/dictionary/user_dictionary_storage.cc#L103
    • Hide
      - i have USE=ibus set via a wildcard package.use line, */* ibus
      - epro show output is attached
      Show
      - i have USE=ibus set via a wildcard package.use line, */* ibus - epro show output is attached

      app-i18n/mozc-2.23.2815.102 fails to compile on intel64-skylake

      the offending compilation step seems to be here, but the full log is attached

      {{[475/758] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/dictionary/user_dictionary.user_dictionary_storage.o.d -DOS_LINUX -DMOZC_BUILD -DCHANNEL_DEV -DNDEBUG -DQT_NO_DEBUG -DNO_LOGGING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/var/tmp/portage/app-i18n/mozc-2.23.2815.102/work/mozc-2.23.2815.102/src -Igen -Igen/proto_out -Wall -Wno-char-subscripts -Wno-sign-compare -Wno-deprecated-declarations -Wwrite-strings -Wno-unknown-warning-option -Wno-inconsistent-missing-override -fPIC -fno-exceptions -fmessage-length=0 -fno-strict-aliasing -funsigned-char -pipe -pthread -fno-omit-frame-pointer -fstack-protector --param=ssp-buffer-size=4 -Wtype-limits -march=skylake -O2 -pipe -Wno-deprecated -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c+11-narrowing -std=gnu0x -std=gnu+0x  -c ../../dictionary/user_dictionary_storage.cc -o obj/dictionary/user_dictionary.user_dictionary_storage.o
      FAILED: obj/dictionary/user_dictionary.user_dictionary_storage.o 
      /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/dictionary/user_dictionary.user_dictionary_storage.o.d -DOS_LINUX -DMOZC_BUILD -DCHANNEL_DEV -DNDEBUG -DQT_NO_DEBUG -DNO_LOGGING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/var/tmp/portage/app-i18n/mozc-2.23.2815.102/work/mozc-2.23.2815.102/src -Igen -Igen/proto_out -Wall -Wno-char-subscripts -Wno-sign-compare -Wno-deprecated-declarations -Wwrite-strings -Wno-unknown-warning-option -Wno-inconsistent-missing-override -fPIC -fno-exceptions -fmessage-length=0 -fno-strict-aliasing -funsigned-char -pipe -pthread -fno-omit-frame-pointer -fstack-protector --param=ssp-buffer-size=4 -Wtype-limits -march=skylake -O2 -pipe -Wno-deprecated -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c+11-narrowing -std=gnu0x -std=gnu+0x  -c ../../dictionary/user_dictionary_storage.cc -o obj/dictionary/user_dictionary.user_dictionary_storage.o
      ../../dictionary/user_dictionary_storage.cc: In member function 'bool mozc::UserDictionaryStorage::LoadInternal()':
      ../../dictionary/user_dictionary_storage.cc:111:57: error: no matching function for call to 'google::protobuf::io::CodedInputStream::SetTotalBytesLimit(const size_t&, int)'
        111 |   decoder.SetTotalBytesLimit(kDefaultTotalBytesLimit, -1);
            |                                                         ^
      In file included from gen/proto_out/protocol/user_dictionary_storage.pb.h:23,
                       from /var/tmp/portage/app-i18n/mozc-2.23.2815.102/work/mozc-2.23.2815.102/src/dictionary/user_dictionary_storage.h:68,
                       from ../../dictionary/user_dictionary_storage.cc:30:
      /usr/include/google/protobuf/io/coded_stream.h:406:8: note: candidate: 'void google::protobuf::io::CodedInputStream::SetTotalBytesLimit(int)'
        406 |   void SetTotalBytesLimit(int total_bytes_limit);
            |        ^~~~~~~~~~~~~~~~~~
      /usr/include/google/protobuf/io/coded_stream.h:406:8: note:   candidate expects 1 argument, 2 provided
      At global scope:
      cc1plus: warning: unrecognized command line option '-Wno-c++11-narrowing'
      cc1plus: warning: unrecognized command line option '-Wno-unnamed-type-template-args'
      cc1plus: warning: unrecognized command line option '-Wno-covered-switch-default'
      cc1plus: warning: unrecognized command line option '-Wno-inconsistent-missing-override'
      cc1plus: warning: unrecognized command line option '-Wno-unknown-warning-option'
      }}

        1. epro-show.log
          3 kB
        2. mozc.log
          261 kB

            Unassigned Unassigned
            robbie robbie
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: