proto_library icon indicating copy to clipboard operation
proto_library copied to clipboard

Not up to date with Bazel/protobuf I guess

Open SashaOv opened this issue 6 years ago • 2 comments

Trying to build as of 2019-03:

> bazel version
Build label: 0.23.0-homebrew

> bazel build //src:person_cc_proto
ERROR: .../proto_library/WORKSPACE:5:1: name 'http_archive' is not defined
ERROR: .../proto_library/WORKSPACE:14:1: name 'http_archive' is not defined
ERROR: Error evaluating WORKSPACE file
ERROR: error loading package '': Encountered error while reading extension file 'tools/build_defs/repo/http.bzl': no such package '@bazel_tools//tools/build_defs/repo': error loading package 'external': Could not load //external package
ERROR

SashaOv avatar Mar 04 '19 17:03 SashaOv

Yeah, http_archive is deprecated:

Deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.

I'm happy to review pull requests :)

cgrushko avatar Mar 04 '19 18:03 cgrushko

Yeah, http_archive is deprecated:

Deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.

I'm happy to review pull requests :)

Then how to fix it ?

EmilioZhao avatar Mar 23 '19 14:03 EmilioZhao