Created attachment 497600 [details] app-i18n/mozc-2.20.2673.102 ebuild with dependency issues resolved I tried to build the new mozc release with the following USE flags: fcitx4, gui, handwriting-tegaki At first this seemed like an upstream issue, but rather it's one with the latest ebuild. Firstly, 'jsoncpp' was listed by ninja as a missing package. Easily resolved by installing dev-libs/jsoncpp After opening this issue on the upstream github repository (https://github.com/google/mozc/issues/423), while trying to resolve the issues with the syntax errors reported by ninja while building mozc, I upgraded dev-libs/protobuf from 2.6.1-r3 to 3.4.1. After that, mozc built completely fine, without any issues to be had. I then downgraded protobuf to 3.0.2 to test what was the earliest version mozc was able to be built with. There were no issues with dev-libs/protobuf-3.0.2. Attached is an ebuild that resolves these issues, adding dev-libs/jsoncpp as an RDEPEND and changing the protobuf RDEPEND from 'dev-libs/protobuf:=' to '>=dev-libs/protobuf-3.0.0'.
I will fix build system to not require dev-libs/jsoncpp unconditionally. dev-libs/jsoncpp is needed only for test suite.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e174f0bb9d7ba4b6d5e8cd89676fdcdda88b276 commit 1e174f0bb9d7ba4b6d5e8cd89676fdcdda88b276 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2017-10-05 18:32:55 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-10-05 18:57:12 +0000 app-i18n/mozc: Depend on >=dev-libs/protobuf-3.0.0. Bug: https://bugs.gentoo.org/633458 app-i18n/mozc/mozc-2.20.2673.102.ebuild | 2 +- app-i18n/mozc/mozc-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e39fb4302b42981b5eee984cdccc933a44692b1 commit 2e39fb4302b42981b5eee984cdccc933a44692b1 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> AuthorDate: 2017-10-05 18:24:51 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2017-10-05 18:57:10 +0000 app-i18n/mozc: Disable check for jsoncpp.pc with USE="-test". Bug: https://bugs.gentoo.org/633458 .../mozc-2.20.2673.102-system_libraries.patch | 254 +++++++++++++++++---- app-i18n/mozc/mozc-2.20.2673.102.ebuild | 2 + app-i18n/mozc/mozc-9999.ebuild | 2 + 3 files changed, 210 insertions(+), 48 deletions(-)}