You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
build: failed to build Envoy after recent commit #18707
Description:
Envoy cannot been built after commit b404746, and the failure also happened in CI for incoming commits and PRs.
Repro steps:
# gcc --version
# gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
# uname -a
# Linux 5.8.0-63-generic #71~20.04.1-Ubuntu SMP Thu Jul 15 17:46:08 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
# git rev-parse --short HEAD
# b4047464f
bazel build -c fastbuild envoy
Logs:
ERROR: /envoy/source/extensions/clusters/dynamic_forward_proxy/BUILD:11:19: Compiling source/extensions/clusters/dynamic_forward_proxy/cluster.cc failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer '-std=c++0x' -MD -MF ... (remaining 188 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
source/extensions/clusters/dynamic_forward_proxy/cluster.cc: In member function 'virtual absl::optional<Envoy::Upstream::SelectedPoolAndConnection> Envoy::Extensions::Clusters::DynamicForwardProxy::Cluster::LoadBalancer::selectPool(Envoy::Upstream::LoadBalancerContext*, const Envoy::Upstream::Host&, std::vector<unsigned char>&)':
source/extensions/clusters/dynamic_forward_proxy/cluster.cc:197:68: error: 'dnsNameMatch' is not a member of 'Envoy::Extensions::TransportSockets::Tls::DefaultCertValidator'
197 | if (Extensions::TransportSockets::Tls::DefaultCertValidator::dnsNameMatch(hostname, san)) {
| ^~~~~~~~~~~~
Target //source/exe:envoy-static failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 2549.175s, Critical Path: 1405.51s
INFO: 4830 processes: 157 internal, 4672 linux-sandbox, 1 worker.
FAILED: Build did NOT complete successfully
Activity
alyssawilk commentedon Oct 21, 2021
looks like https://github.com/envoyproxy/envoy/pull/18285/files and #17874 had a non-merge conflict. Thanks for the report - we'll fix ASAP
build: fixing merge conflict (#18708)