Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 681702 - app-i18n/mozc-2.23.2815.102 fails to build with dev-libs/protobuf future version
Summary: app-i18n/mozc-2.23.2815.102 fails to build with dev-libs/protobuf future version
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL: https://github.com/google/mozc/issues...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-25 01:58 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2019-05-05 19:05 UTC (History)
1 user (show)

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 Arfrever Frehtes Taifersar Arahesis 2019-03-25 01:58:59 UTC
FAILED: obj/dictionary/user_dictionary.user_dictionary.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/dictionary/user_dictionary.user_dictionary.o.d -DOS_LINUX -DMOZC_BUILD -DCHANNEL_DEV -DENABLE_GTK_RENDERER -DNDEBUG -DQT_NO_DEBUG -DNO_LOGGING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/var/tmp/portage/app-i18n/mozc-9999/work/mozc-9999/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=native -O2 -pipe -Wno-deprecated -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c++11-narrowing -std=gnu++0x -std=gnu++0x  -c ../../dictionary/user_dictionary.cc -o obj/dictionary/user_dictionary.user_dictionary.o
In file included from ../../dictionary/user_dictionary.cc:51:
/var/tmp/portage/app-i18n/mozc-9999/work/mozc-9999/src/dictionary/user_dictionary_storage.h:77:7: error: cannot derive from ‘final’ base ‘mozc::user_dictionary::UserDictionaryStorage’ in derived type ‘mozc::UserDictionaryStorage’
 class UserDictionaryStorage : public user_dictionary::UserDictionaryStorage {
       ^~~~~~~~~~~~~~~~~~~~~
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-03-27 02:26:24 UTC
FAILED: obj/engine/engine.engine.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/engine/engine.engine.o.d -DOS_LINUX -DMOZC_BUILD -DCHANNEL_DEV -DENABLE_GTK_RENDERER -DNDEBUG -DQT_NO_DEBUG -DNO_LOGGING -DIGNORE_HELP_FLAG -DIGNORE_INVALID_FLAG -I/var/tmp/portage/app-i18n/mozc-9999/work/mozc-9999/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=native -O2 -pipe -Wno-deprecated -Wno-covered-switch-default -Wno-unnamed-type-template-args -Wno-c++11-narrowing -std=gnu++0x -std=gnu++0x  -c ../../engine/engine.cc -o obj/engine/engine.engine.o
In file included from ../../engine/engine.cc:59:
/var/tmp/portage/app-i18n/mozc-9999/work/mozc-9999/src/prediction/user_history_predictor.h:64:7: error: cannot derive from ‘final’ base ‘mozc::user_history_predictor::UserHistory’ in derived type ‘mozc::UserHistoryStorage’
 class UserHistoryStorage : public mozc::user_history_predictor::UserHistory {
       ^~~~~~~~~~~~~~~~~~
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-04-20 00:59:21 UTC
Protobuf upstream reverted this incompatible change in Protobuf 3.7.1 and deferred reintroduction of this incompatible change to unspecified future version of Protobuf.
Comment 3 Larry the Git Cow gentoo-dev 2019-05-05 19:05:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf8c637056d4c4ef0853e469361d252438a54cb6

commit cf8c637056d4c4ef0853e469361d252438a54cb6
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2019-05-05 02:19:04 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-05-05 19:04:01 +0000

    app-i18n/mozc: Fix building with dev-libs/protobuf future version.
    
    Fixes: https://bugs.gentoo.org/681702
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...protobuf_generated_classes_no_inheritance.patch | 1039 ++++++++++++++++++++
 app-i18n/mozc/mozc-2.23.2815.102.ebuild            |    1 +
 app-i18n/mozc/mozc-9999.ebuild                     |    1 +
 3 files changed, 1041 insertions(+)