Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 686988

Summary: net-libs/grpc-1.21.1 - src/cpp/server/channelz/channelz_service.cc:30:11: error: ‘struct google::protobuf::util::JsonParseOptions’ has no member named ‘case_insensitive_enum_parsing’
Product: Gentoo Linux Reporter: Michael Moon <triffid.hunter>
Component: Current packagesAssignee: Jason Zaman <perfinion>
Status: RESOLVED FIXED    
Severity: normal CC: gyakovlev, jstein
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
grpc-1.21.1 build log

Description Michael Moon 2019-05-30 09:41:28 UTC
Created attachment 578036 [details]
emerge --info

... after many pages of compile output ...
x86_64-pc-linux-gnu-g++ -Ithird_party/googletest/googletest/include -Ithird_party/googletest/googlemock/include  -Ithird_party/address_sorting/include -g -Wall -Wextra  -Wno-long-long -Wno-unused-parameter -DOSATOMIC_USE_INLINED=1 -Wno-deprecated-declarations -Ithird_party/nanopb -DPB_FIELD_32BIT -O2 -Wframe-larger-than=16384 -fPIC -I. -Iinclude -I/var/tmp/portage/net-libs/grpc-1.21.1/work/grpc-1.21.1/gens -DNDEBUG -DINSTALL_PREFIX=\"/usr\"     -pthread -O2 -pipe -march=native -MMD -MF /var/tmp/portage/net-libs/grpc-1.21.1/work/grpc-1.21.1/objs/opt/src/cpp/codegen/codegen_init.dep -c -o /var/tmp/portage/net-libs/grpc-1.21.1/work/grpc-1.21.1/objs/opt/src/cpp/codegen/codegen_init.o src/cpp/codegen/codegen_init.cc
src/cpp/server/channelz/channelz_service.cc: In function ‘grpc::protobuf::util::Status grpc::ParseJson(const char*, grpc::protobuf::Message*)’:
src/cpp/server/channelz/channelz_service.cc:30:11: error: ‘struct google::protobuf::util::JsonParseOptions’ has no member named ‘case_insensitive_enum_parsing’
options.case_insensitive_enum_parsing = true;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

dev-libs/protobuf-3.6.1.3 is installed.
Comment 1 Jonas Stein gentoo-dev 2019-05-30 14:01:40 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Michael Moon 2019-05-31 04:30:39 UTC
Created attachment 578128 [details]
grpc-1.21.1 build log
Comment 3 Michael Moon 2019-05-31 04:31:20 UTC
Here's the build log
Comment 4 Georgy Yakovlev archtester gentoo-dev 2019-05-31 19:26:40 UTC
thanks, missed that they bumped minimal protobuf to 3.7.0
Comment 5 Larry the Git Cow gentoo-dev 2019-05-31 19:26:42 UTC
The bug has been closed via the following commit(s):

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

commit 056704d24f97bdc39df889f12347913f775269a0
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-31 19:25:47 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-31 19:25:47 +0000

    net-libs/grpc: revbump 1.2x series, bump protobuf dep to >=3.7.0
    
    Closes: https://bugs.gentoo.org/686988
    Package-Manager: Portage-2.3.67, Repoman-2.3.13
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 net-libs/grpc/{grpc-1.20.1.ebuild => grpc-1.20.1-r1.ebuild} | 2 +-
 net-libs/grpc/{grpc-1.21.1.ebuild => grpc-1.21.1-r1.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)