Nothing depends on @openssl//:build so the OpenSSL headers and libaries
are not installed. This triggers build failures in environments that
have no system openssl headers installed (such as envoy-build-ubuntu
container).
The Bazel documentation says all dependencies must be explicitly
declared in srcs. Adding openssl_headers to @openssl//:ssl srcs sets the
dependency to @openssl//:build and the build passes.
Nothing depends on @openssl//:build so the OpenSSL headers and libaries are not installed. This triggers build failures in environments that have no system openssl headers installed (such as envoy-build-ubuntu container).
The Bazel documentation says all dependencies must be explicitly declared in srcs. Adding openssl_headers to @openssl//:ssl srcs sets the dependency to @openssl//:build and the build passes.
A simple test case to run:
envoy/ci/run_envoy_docker.sh 'bazel build //:envoy'
And while we're at it:
Closes: #5 Closes: #12
Signed-off-by: Mikko Ylinen mikko.ylinen@intel.com