I am customize istio proxy (https://github.com/istio/proxy), from 1.0 to 1.4.
Now, for build 1.4, always fail.
So, could you help me to resolve 1.4 build issue?
【Note】For each build enviroment set up, from 1.0, 1.1, 1.3, always cost me a lot of time to make it done.
Is there any docs about istio proxy make process / dependency?
I suggest to make istio proxy build process easier, no matter improve document or create specific istio container (process)?
Describe alternatives you’ve considered
Configuration Infrastructure
[V] Docs
Installation
Steps
Step 1
: Create container for build:
docker pull envoyproxy/envoy-build
docker run --name en -it --cpus="7" envoyproxy/envoy-build bash
Step 2
: Build in container:
root@b218e70e632f:~/work/code/proxy# git checkout remotes/origin/release-1.4
Previous HEAD position was aaf4262... Cherry-pick JWT CVE fix into 1.3 (#13)
HEAD is now at 2b8fbca... Update to latest Envoy (#2808)
root@b218e70e632f:~/work/code/proxy# make BAZEL_BUILD_ARGS="-c opt"
Building with your local toolchain.
WARNING: Waiting for server process to terminate (waited 5 seconds, waiting at most 60)
Starting local Bazel server and connecting to it...
export PATH=/usr/lib/llvm-9/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ && bazel build -c opt --config=libc++ //...
INFO: Writing tracer profile to '/root/.cache/bazel/_bazel_root/c09471eaa632836df712c85a33e4a5e2/command.profile.gz'
INFO: Call stack for the definition of repository 'local_config_cc' which is a cc_autoconf (rule definition at /root/.cache/bazel/_bazel_root/c09471eaa632836df712c85a33e4a5e2/external/bazel_tools/tools/cpp/cc_configure.bzl:143:15):
- /root/.cache/bazel/_bazel_root/c09471eaa632836df712c85a33e4a5e2/external/bazel_tools/tools/cpp/cc_configure.bzl:179:5
- /DEFAULT.WORKSPACE.SUFFIX:385:1
ERROR: An error occurred during the fetch of repository 'local_config_cc':
Traceback (most recent call last):
File "/root/.cache/bazel/_bazel_root/c09471eaa632836df712c85a33e4a5e2/external/bazel_tools/tools/cpp/cc_configure.bzl", line 125
configure_unix_toolchain(<3 more arguments>)
File "/root/.cache/bazel/_bazel_root/c09471eaa632836df712c85a33e4a5e2/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 329, in configure_unix_toolchain
_find_generic(repository_ctx, <3 more arguments>)
File "/root/.cache/bazel/_bazel_root/c09471eaa632836df712c85a33e4a5e2/external/bazel_tools/tools/cpp/unix_cc_configure.bzl", line 300, in _find_generic