Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build fails for filter example - no such package #85

Open
kjyoti opened this issue Apr 21, 2019 · 4 comments
Open

build fails for filter example - no such package #85

kjyoti opened this issue Apr 21, 2019 · 4 comments

Comments

@kjyoti
Copy link

kjyoti commented Apr 21, 2019

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

@kuroneko25
Copy link

Also running into this error.

@dio
Copy link
Member

dio commented Jun 24, 2019

@kjyoti @kuroneko25 seems like you don't have autoreconf on your machine. Could you let us know the platform you use to build this project? Thanks!

@catalin-me
Copy link

@kjyoti @kuroneko25 Make sure to install the required dependencies and check to see if the issue persists:

Ubuntu

sudo apt-get install libtool cmake automake autoconf make ninja-build curl unzip virtualenv

Mac OS

brew install coreutils wget cmake libtool go bazel automake ninja clang-format autoconf aspell

@MOURYA00
Copy link

MOURYA00 commented Apr 3, 2020

@dio @catalin-me
Is there any way to fix it on windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants