[Bug 258963] www/envoy: fails to build (field of type 'const envoy::type::FractionalPercent' has protected constructor)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Oct 2021 14:33:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258963

            Bug ID: 258963
           Summary: www/envoy: fails to build (field of type 'const
                    envoy::type::FractionalPercent' has protected
                    constructor)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: fuz@fuz.su
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

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

-- 
You are receiving this mail because:
You are the assignee for the bug.