Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651692 - app-i18n/mozc-2.20.2673.102: protobuf >= 3.0.0 compile error
Summary: app-i18n/mozc-2.20.2673.102: protobuf >= 3.0.0 compile error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-27 11:31 UTC by Bazz
Modified: 2018-03-28 04:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge-info.txt,6.06 KB, text/plain)
2018-03-27 11:32 UTC, Bazz
Details
emerge output protoc compile error (compile-error.txt,530.76 KB, text/plain)
2018-03-27 11:33 UTC, Bazz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bazz 2018-03-27 11:31:03 UTC
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
Comment 1 Bazz 2018-03-27 11:32:26 UTC
Created attachment 525654 [details]
emerge --info
Comment 2 Bazz 2018-03-27 11:33:14 UTC
Created attachment 525656 [details]
emerge output protoc compile error
Comment 3 Bazz 2018-03-27 11:35:35 UTC
Anticipation to potential questions: 

running `protoc --version` always yielded the currently installed protobuf version.
Comment 4 Arfrever Frehtes Taifersar Arahesis 2018-03-28 00:29:14 UTC
Build log shows that headers from /usr/local/include were used.
Delete these old and unnecessary headers which cause this problem.
Comment 5 Arfrever Frehtes Taifersar Arahesis 2018-03-28 04:02:30 UTC
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.
Comment 6 Bazz 2018-03-28 04:29:55 UTC
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.