I've tried various versions of dev-libs/protobuf 3.0.0_beta3_p1 3.0.2 3.1.0 3.4.1 3.5.1.1 but they all produce the same compile error in mozc. I am attaching the emerge output. Reproducible: Always Steps to Reproduce: 1. emerge =app-i18n/mozc-2.20.2673.102 2. 3. Actual Results: compile error Expected Results: build success I will be attaching `emerge --info` and the build output immediately
Created attachment 525654 [details] emerge --info
Created attachment 525656 [details] emerge output protoc compile error
Anticipation to potential questions: running `protoc --version` always yielded the currently installed protobuf version.
Build log shows that headers from /usr/local/include were used. Delete these old and unnecessary headers which cause this problem.
And it is possible that there are some old libraries in /usr/local/lib, /usr/local/lib32 or /usr/local/lib64. Delete them as well.
thank you! You're a genius! :) I had installed protobuf2 there for another project. For now, I renamed /usr/local/include/{google,google2} At least, I could install mozc successfully now! Thank you! Sorry for false alarm.