envoyproxy / envoyproxy/envoy-filter-example

build fails for filter example - no such package

Open
#85 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
360
Forks
220
PR merge metrics
No merged PRs in 30d

Description

I have tried the build according to the steps mentioned in the README. The build fails with the error below

/envoy-filter-example$ bazel build //:envoy
Starting local Bazel server and connecting to it...
ERROR: /home/jyoti/.cache/bazel/_bazel_jyoti/d7dbc3ad28d2496ca23a589bf2a3c01f/external/envoy/bazel/foreign_cc/BUILD:8:1: no such package '@com_github_gperftools_gperftools//': Traceback (most recent call last):
File "/home/jyoti/.cache/bazel/_bazel_jyoti/d7dbc3ad28d2496ca23a589bf2a3c01f/external/bazel_tools/tools/build_defs/repo/http.bzl", line 55
patch(ctx)
File "/home/jyoti/.cache/bazel/_bazel_jyoti/d7dbc3ad28d2496ca23a589bf2a3c01f/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 89, in patch
fail(("Error applying patch command %...)))
Error applying patch command ./autogen.sh:
./autogen.sh: 3: ./autogen.sh: autoreconf: not found
and referenced by '@envoy//bazel/foreign_cc:gperftools_build'
ERROR: Analysis of target '//:envoy' failed; build aborted: no such package '@com_github_gperftools_gperftools//': Traceback (most recent call last):
File "/home/jyoti/.cache/bazel/_bazel_jyoti/d7dbc3ad28d2496ca23a589bf2a3c01f/external/bazel_tools/tools/build_defs/repo/http.bzl", line 55
patch(ctx)
File "/home/jyoti/.cache/bazel/_bazel_jyoti/d7dbc3ad28d2496ca23a589bf2a3c01f/external/bazel_tools/tools/build_defs/repo/utils.bzl", line 89, in patch
fail(("Error applying patch command %...)))
Error applying patch command ./autogen.sh:
./autogen.sh: 3: ./autogen.sh: autoreconf: not found
INFO: Elapsed time: 25.181s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (17 packages loaded, 149 targets configured)

Please help me resolve this error

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.