envoyproxy/envoy-openssl

How do I build a released version of Envoy with OpenSSL?

ksanghavi opened this issue · 7 comments

Is there a way I can build a released version of Envoy (v1.13.1) with OpenSSL? Current build yields the below version and I can't run this in production. I'll greatly appreciate any help on this.

envoy  version: 1a29e0d7d9b86124509a0f49c2d6df93ece25450/1.14.0-dev/Modified/DEBUG/OpenSSL

Thanks
Kunal

mythi commented

Good question. Right now we only track master and not Envoy's release branches so there's no commit in this repo you'd be able to checkout to get, e.g., v1.13.1.

It's easy to checkout Envoy submodule:

$ cd envoy
$ git fetch --tags
$ git checkout v1.13.1
$ cd -

but right now I cannot point you to a commit in this repo that builds or guarantee a HEAD build with that envoy version succeeds.

With that said, this is a topic we should think...

@mythi - I did try to build v1.13.1, but I couldn't find any commit in this repo that mapped to that release.
I'll love to see tags/releases in this repo that maps to corresponding tags in envoy repo.

Has there been any progress on this?

When I try to build against 1.16.1 branch, I get:

ERROR: /home/rpmbuild/.cache/bazel/_bazel_rpmbuild/9fd3d45abd5f5c2437197abaefa2ef22/external/envoy/bazel/envoy_library.bzl:12:1: file '@envoy_build_config//:extensions_build_config.bzl' does not contain symbol 'EXTENSION_CONFIG_VISIBILITY'
ERROR: Skipping '//:envoy': error loading package '': in /home/rpmbuild/.cache/bazel/_bazel_rpmbuild/9fd3d45abd5f5c2437197abaefa2ef22/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: in /home/rpmbuild/.cache/bazel/_bazel_rpmbuild/9fd3d45abd5f5c2437197abaefa2ef22/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors

Any update on this, I am facing build issues too. @smijolovic, were you able to build the OpenSSL envoy extension?

ERROR: /private/var/tmp/_bazel_dnalband/604ed9bef36ba8eb6b706d2c432395ee/external/envoy/bazel/envoy_library.bzl:12:1: file '@envoy_build_config//:extensions_build_config.bzl' does not contain symbol 'EXTENSION_CONFIG_VISIBILITY'
ERROR: Skipping '//:envoy': error loading package '': in /private/var/tmp/_bazel_dnalband/604ed9bef36ba8eb6b706d2c432395ee/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors
WARNING: Target pattern parsing failed.
ERROR: in /private/var/tmp/_bazel_dnalband/604ed9bef36ba8eb6b706d2c432395ee/external/envoy/bazel/envoy_build_system.bzl: Extension file 'bazel/envoy_library.bzl' has errors

Any plans to support the released version?

you suggestion does not work. git does not find any tags. because of this, i cant get latest version of envoyproxy.

Good question. Right now we only track master and not Envoy's release branches so there's no commit in this repo you'd be able to checkout to get, e.g., v1.13.1.

It's easy to checkout Envoy submodule:

$ cd envoy
$ git fetch --tags
$ git checkout v1.13.1
$ cd -

but right now I cannot point you to a commit in this repo that builds or guarantee a HEAD build with that envoy version succeeds.

With that said, this is a topic we should think...

@mythi do you have any other suggestion? thank you.