Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 471286 - app-i18n/mozc-1.10.1390.102 - unused dev-libs/protobuf dependency?
Summary: app-i18n/mozc-1.10.1390.102 - unused dev-libs/protobuf dependency?
Status: RESOLVED DUPLICATE of bug 478094
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-26 01:49 UTC by Jack Chen
Modified: 2014-01-01 07:49 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jack Chen 2013-05-26 01:49:07 UTC
Current mozc ebuild is using in-tree protobuf source which is unpacked in the src_unpack phase, so it should not require protobuf from system.  (I saw that there's "use_libprotobuf=1" in the ebuild, but it is commented out.)

Thus, I suggest dropping "~dev-libs/protobuf-2.4.1" dependency from the ebuild.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-27 19:40:26 UTC
As per bug #251464 using the internal version is contrary to current QA policy.
Comment 2 Jack Chen 2013-05-28 01:19:59 UTC
(In reply to Jeroen Roovers from comment #1)
> As per bug #251464 using the internal version is contrary to current QA
> policy.

Oops, I didn't know that.  Thank you for pointing it out.
I'll keep in mind that I should avoid using internal library.

However, the change was done according to this upstream bug:
  https://code.google.com/p/mozc/issues/detail?id=14
And this upstream revision:
  https://code.google.com/p/mozc/source/detail?r=96
(see also Gentoo bug #407581)
They switched from linking shared protobuf to linking static protobuf by default in that version, so I followed that change.

It seems that linking to shared protobuf library causes some issue in mozc, but I haven't encountered one personally when mozc was still using shared protobuf by default (I'm using mozc with ibus).
The example given in the bug is related to uim-mozc.  I can't find uim-mozc support in current mozc ebuild.  If uim-mozc gets supported in the future, this issue may appear.

I'd like to know how such confliction (between QA policy and upstream default) should be solved.
Comment 3 Jack Chen 2013-07-31 09:37:21 UTC
I see there's bug 478094 which is fixed now. Should I close this one also?
Comment 4 Naohiro Aota gentoo-dev 2014-01-01 07:49:57 UTC

*** This bug has been marked as a duplicate of bug 478094 ***