-
Bug
-
Resolution: Unresolved
-
Severe (Ebuild)
-
None
-
None
-
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
-
-
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'
}}