Skip to content
This repository has been archived by the owner on Nov 14, 2023. It is now read-only.

new_http_archive is not defined when build #54

Closed
chenchuangc opened this issue Mar 7, 2019 · 0 comments
Closed

new_http_archive is not defined when build #54

chenchuangc opened this issue Mar 7, 2019 · 0 comments

Comments

@chenchuangc
Copy link

when i git clone the master and try to build it , i follow the instructions
install bazel success , and my environment is mac os

➜  butteraugli git:(master) bazel version
Build label: 0.23.1
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Mar 4 10:40:32 2019 (1551696032)
Build timestamp: 1551696032
Build timestamp as int: 1551696032

then i follow the command ,but it appeared below ,
i am sorry for boring you ,but i can not find way
the code is just git clone from the respository and run on the master


➜  butteraugli git:(master)
➜  butteraugli git:(master)  bazel build -c opt //:butteraugli
ERROR: /Users/admin/work/learn/30.picture_/code_/butteraugli/WORKSPACE:3:1: name 'new_http_archive' is not defined
ERROR: /Users/admin/work/learn/30.picture_/code_/butteraugli/WORKSPACE:11:1: name 'new_http_archive' is not defined
ERROR: /Users/admin/work/learn/30.picture_/code_/butteraugli/WORKSPACE:19:1: name 'new_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: 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
INFO: Elapsed time: 0.098s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
➜  butteraugli git:(master)

@eustas eustas closed this as completed in a36d9dc Mar 19, 2019
eustas added a commit that referenced this issue Mar 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant