Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939593 - dev-util/bear: struct google::protobuf::json::PrintOptions’ {aka ‘struct google::protobuf::json::PrintOptions’} has no member named ‘always_print_primitive_fields’
Summary: dev-util/bear: struct google::protobuf::json::PrintOptions’ {aka ‘struct goog...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2024-09-13 15:14 UTC by Lemon Lime
Modified: 2024-09-15 18:32 UTC (History)
3 users (show)

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


Attachments
emerge --info output (bear_build_bug.txt,10.19 KB, text/plain)
2024-09-13 15:14 UTC, Lemon Lime
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lemon Lime 2024-09-13 15:14:15 UTC
Created attachment 902911 [details]
emerge --info output

Bear-3.1.3 fails to build stating:

/var/tmp/portage/dev-util/bear-3.1.3/work/Bear-3.1.3/source/intercept/source/collect/db/EventsDatabaseWriter.cc:39:23: error: ‘using google::protobuf::util::JsonPrintOptions = struct google::protobuf::json::PrintOptions’ {aka ‘struct google::protobuf::json::PrintOptions’} has no member named ‘always_print_primitive_fields’
   39 |         print_options.always_print_primitive_fields = true;
      |                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~


This seems to be an issue that was solved on a newer release: 

https://github.com/rizsotto/Bear/issues/566
Comment 1 Lemon Lime 2024-09-13 15:20:27 UTC
Bear-3.1.4 built correctly. Maybe version 3.1.3 is no longer working unless a patch is applied.
Comment 2 Alexey 2024-09-15 18:32:03 UTC
3.1.3 is dropped from tree