You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.
I've followed the instructions https://heron.incubator.apache.org/docs/next/compiling-linux#building-on-ubuntu-18.04 and install version 3.7.2 of bazel (followed these instructions to make sure right version: https://docs.bazel.build/versions/master/install-ubuntu.html#install-on-ubuntu) and when I ran
bazel build --config=ubuntu heron/... I got the following errors (shortened for brevity but all the same ..no such attribute 'netrc' in 'http_file' rule):
root@213fea78ea26:~/incubator-heron# bazel build --config=ubuntu heron/...
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:3:5: //external:ant_ant_1_6_5: no such attribute 'netrc' in 'http_file' rule
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:9:5: //external:ant_ant_jar_sources_1_6_5: no such attribute 'netrc' in 'http_file' rule
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:15:5: //external:antlr_antlr_2_7_7: no such attribute 'netrc' in 'http_file' rule
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:21:5: //external:aopalliance_aopalliance_1_0: no such attribute 'netrc' in 'http_file' rule
The text was updated successfully, but these errors were encountered:
Hmm, those netrc issues are what we saw back in the older versions of Bazel. What do you see when you run bazel --version ?
The issue could also be related to Ant, which was added as a new dependency for the newer Zookeeper client library build process.
I tested a build on Ubuntu 20.04 using our docker script and it worked.
You can try a build also using this command to spin up a dev docker container: ./docker/scripts/dev-env-create.sh bazel2 ubuntu20.04
I've followed the instructions https://heron.incubator.apache.org/docs/next/compiling-linux#building-on-ubuntu-18.04 and install version 3.7.2 of bazel (followed these instructions to make sure right version: https://docs.bazel.build/versions/master/install-ubuntu.html#install-on-ubuntu) and when I ran
bazel build --config=ubuntu heron/... I got the following errors (shortened for brevity but all the same ..no such attribute 'netrc' in 'http_file' rule):
root@213fea78ea26:~/incubator-heron# bazel build --config=ubuntu heron/...
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:3:5: //external:ant_ant_1_6_5: no such attribute 'netrc' in 'http_file' rule
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:9:5: //external:ant_ant_jar_sources_1_6_5: no such attribute 'netrc' in 'http_file' rule
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:15:5: //external:antlr_antlr_2_7_7: no such attribute 'netrc' in 'http_file' rule
ERROR: /root/.cache/bazel/_bazel_root/88837ab595738499a4ef3075862ee807/external/maven/defs.bzl:21:5: //external:aopalliance_aopalliance_1_0: no such attribute 'netrc' in 'http_file' rule
The text was updated successfully, but these errors were encountered: