envoy-filter-example - build failure

162 views
Skip to first unread message

Karthik

unread,
Aug 27, 2022, 2:33:25 PM8/27/22
to envoy-dev
Hello Folks,

When I build the envoy-filter-example on my system suing command bazel build //:envoy, build is failing with below error. Any help on this is appreciated

~/ws/experiments/envoy-filter-example (main) » bazel build //:envoy                                                                           black@88665a35ddca
INFO: Repository com_github_lyft_protoc_gen_star instantiated at:
  /Users/black/ws/experiments/envoy-filter-example/WORKSPACE:30:25: in <toplevel>
  /private/var/tmp/_bazel_black/6a6b9850c45e5e67dc97dbfb1f058655/external/envoy/bazel/dependency_imports.bzl:106:18: in envoy_dependency_imports
Repository rule go_repository defined at:
  /private/var/tmp/_bazel_black/6a6b9850c45e5e67dc97dbfb1f058655/external/bazel_gazelle/internal/go_repository.bzl:313:32: in <toplevel>
ERROR: An error occurred during the fetch of repository 'com_github_lyft_protoc_gen_star':
   Traceback (most recent call last):
    File "/private/var/tmp/_bazel_black/6a6b9850c45e5e67dc97dbfb1f058655/external/bazel_gazelle/internal/go_repository.bzl", line 247, column 17, in _go_repository_impl
        fail("failed to fetch %s: %s" % (ctx.name, result.stderr))
Error in fail: failed to fetch com_github_lyft_protoc_gen_star: fetch_repo: github.com/lyft/protoc-...@v0.6.0: Get "https://proxy.golang.org/github.com/lyft/protoc-gen-star/@v/v0.6.0.info": dial tcp: i/o timeout
ERROR: /Users/black/ws/experiments/envoy-filter-example/WORKSPACE:30:25: fetching go_repository rule //external:com_github_lyft_protoc_gen_star: Traceback (most recent call last):
    File "/private/var/tmp/_bazel_black/6a6b9850c45e5e67dc97dbfb1f058655/external/bazel_gazelle/internal/go_repository.bzl", line 247, column 17, in _go_repository_impl
        fail("failed to fetch %s: %s" % (ctx.name, result.stderr))
Error in fail: failed to fetch com_github_lyft_protoc_gen_star: fetch_repo: github.com/lyft/protoc-...@v0.6.0: Get "https://proxy.golang.org/github.com/lyft/protoc-gen-star/@v/v0.6.0.info": dial tcp: i/o timeout
ERROR: /private/var/tmp/_bazel_black/6a6b9850c45e5e67dc97dbfb1f058655/external/com_envoyproxy_protoc_gen_validate/BUILD:18:11: @com_envoyproxy_protoc_gen_validate//:protoc-gen-validate_lib depends on @com_github_lyft_protoc_gen_star//lang/go:go in repository @com_github_lyft_protoc_gen_star which failed to fetch. no such package '@com_github_lyft_protoc_gen_star//lang/go': failed to fetch com_github_lyft_protoc_gen_star: fetch_repo: github.com/lyft/protoc-...@v0.6.0: Get "https://proxy.golang.org/github.com/lyft/protoc-gen-star/@v/v0.6.0.info": dial tcp: i/o timeout
ERROR: Analysis of target '//:envoy' failed; build aborted:
INFO: Elapsed time: 67.875s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (712 packages loaded, 28030 targets configured)



Thanks,
Karthik

gao xuemin

unread,
Sep 14, 2022, 4:21:09 AM9/14/22
to envoy-dev
has the problem solved?  i have the same error
Reply all
Reply to author
Forward
0 new messages