Bug 258963 - www/envoy: fails to build (field of type 'const envoy::type::FractionalPercent' has protected constructor)
Summary: www/envoy: fails to build (field of type 'const envoy::type::FractionalPercen...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Alexey Dokuchaev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-06 14:33 UTC by Robert Clausecker
Modified: 2021-10-06 14:33 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (danfe)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Clausecker 2021-10-06 14:33:27 UTC
While trying to verify my patch for bug #258906, I tried compiling www/envoy to check if the updated libcircllhist version still works for building www/envoy.

Unfortunately www/envoy does not seem to build with an unrelated error:

common/router/config_impl.cc:66:29: error: field of type 'const envoy::type::FractionalPercent' has protected constructor
    : initial_requests_(1), additional_request_chance_({}), hedge_on_per_try_timeout_(false) {}
                            ^
../api/envoy/type/percent.pb.h:332:12: note: declared protected here
  explicit FractionalPercent(::PROTOBUF_NAMESPACE_ID::Arena* arena);
           ^

Tested on amd64 FreeBSD 13 like such:

cd www/envoy && env MAKE_JOBS_UNSAFE=yes make DEFAULT_VERSIONS=ssl=boringssl