envoyproxy / envoy

Cloud-native high-performance edge/middle/service proxy
https://www.envoyproxy.io
Apache License 2.0
24.8k stars 4.77k forks source link

FAILED: Build did NOT complete successfully #24577

Closed Webster-Yang closed 1 year ago

Webster-Yang commented 1 year ago

uname -a Linux tv3--c9d4bf90 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

gcc --version gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

llvm-as --version Ubuntu LLVM version 14.0.0

Optimized build. Default target: x86_64-pc-linux-gnu Host CPU: broadwell

clang --version Ubuntu clang version 13.0.1-2ubuntu2.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin

ldd --version ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper.

bazel version Build label: 6.0.0-pre.20220421.3 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue May 3 16:41:11 2022 (1651596071) Build timestamp: 1651596071 Build timestamp as int: 1651596071

envoy tag: v1.24.1

bazel build \ --jobs=12 \ --test_filter="skip-all-test" \ --copt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" \ --cxxopt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" \ --define=ENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 \ --cxxopt='-std=c++17' \ --//bazel:http3=False \ --subcommands \ --verbose_failures \ --sandbox_debug \ --cxxopt="-Wno-type-limits" \ --copt="-Wno-array-bounds" \ --copt="-Wno-vla-parameter" \ --copt="-Werror=range-loop-construct" \ -c dbg //source/exe:envoy-static

error: In file included from external/com_google_absl/absl/base/config.h:86, from external/com_google_absl/absl/hash/internal/city.h:53, from external/com_google_absl/absl/hash/internal/city.cc:22: external/com_google_absl/absl/base/policy_checks.h:79:2: error: #error "C++ versions less than C++14 are not supported." 79 | #error "C++ versions less than C++14 are not supported." | ^~~~~ 1671159953.759135207: src/main/tools/linux-sandbox-pid1.cc:498: wait returned pid=2, status=0x100 1671159953.759154293: src/main/tools/linux-sandbox-pid1.cc:516: child exited normally with code 1 1671159953.759500705: src/main/tools/linux-sandbox.cc:233: child exited normally with code 1 Target //source/exe:envoy-static failed to build INFO: Elapsed time: 329.238s, Critical Path: 2.04s INFO: 15 processes: 14 internal, 1 linux-sandbox. FAILED: Build did NOT complete successfully

Webster-Yang commented 1 year ago

uname -a Linux tv3--c9d4bf90 5.15.0-52-generic https://github.com/envoyproxy/envoy/pull/58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

gcc --version gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

llvm-as --version Ubuntu LLVM version 14.0.0

Optimized build. Default target: x86_64-pc-linux-gnu Host CPU: broadwell

clang --version Ubuntu clang version 13.0.1-2ubuntu2.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/bin

ldd --version ldd (Ubuntu GLIBC 2.35-0ubuntu3.1) 2.35 Copyright (C) 2022 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Written by Roland McGrath and Ulrich Drepper.

bazel version Build label: 6.0.0-pre.20220421.3 Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar Build time: Tue May 3 16:41:11 2022 (1651596071) Build timestamp: 1651596071 Build timestamp as int: 1651596071

envoy tag: v1.23.1

bazel build --jobs=12 --test_filter="skip-all-test" --copt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" --cxxopt="-DENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1" --define=ENVOY_IGNORE_GLIBCXX_USE_CXX11_ABI_ERROR=1 --cxxopt='-std=c++17' --//bazel:http3=False --subcommands --verbose_failures --sandbox_debug --cxxopt="-Wno-type-limits" --copt="-Wno-array-bounds" --copt="-Wno-vla-parameter" --copt="-Werror=range-loop-construct" -c dbg //source/exe:envoy-static

error: 1671164080.534610671: src/main/tools/linux-sandbox-pid1.cc:481: child started with PID 2 external/grpc_httpjson_transcoding/src/path_matcher_node.cc: In member function 'void google::grpc::transcoding::PathMatcherNode::LookupPath(std::vector<std::cxx11::basic_string >::const_iterator, std::vector<std::cxx11::basic_string >::const_iterator, google::grpc::transcoding::HttpMethod, google::grpc::transcoding::PathMatcherLookupResult) const': external/grpc_httpjson_transcoding/src/path_matcher_node.cc:171:27: error: loop variable 'child_key' of type 'const string&' {aka 'const std::__cxx11::basic_string&'} binds to a temporary constructed from type 'const char const' [-Werror=range-loop-construct] 171 | for (const std::string& child_key : | ^~~~~ external/grpc_httpjson_transcoding/src/path_matcher_node.cc:171:27: note: use non-reference type 'const string' {aka 'const std::__cxx11::basic_string'} to make the copy explicit or 'const char* const&' to prevent copying cc1plus: some warnings being treated as errors 1671164081.623130871: src/main/tools/linux-sandbox-pid1.cc:498: wait returned pid=2, status=0x100 1671164081.623151105: src/main/tools/linux-sandbox-pid1.cc:516: child exited normally with code 1 1671164081.623560805: src/main/tools/linux-sandbox.cc:233: child exited normally with code 1 Target //source/exe:envoy-static failed to build INFO: Elapsed time: 3823.861s, Critical Path: 75.84s INFO: 1131 processes: 13 internal, 1118 linux-sandbox. FAILED: Build did NOT complete successfully

@Keith Smiley @timperrett @pjjw

keith commented 1 year ago

https://github.com/envoyproxy/envoy/issues/24464#issuecomment-1355469686

please also stop cc'ing various folks, people will see your comments on https://github.com/envoyproxy/envoy/issues/24464 without needing the extra pings