Skip to content

Compiling Bazel fails if "zip" is not installed #319

@carl-mastrangelo

Description

@carl-mastrangelo

Following the build instructions here: http://bazel.io/docs/getting-started.html

Compiling fails silently if the "zip" program is not installed The culprit looks like scripts/bootstrap/compile.sh Sample terminal interaction:

$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO: ./compile.sh build /path/to/bazel
🍃 Building Bazel from scratch...........scripts/bootstrap/compile.sh: line 305: zip: command not found

Creating Bazel self-extracting archive...
/tmp/bazel$ echo $?
1

The "Creating Bazel self-extracting archive..." should probably not be printed based on the previous error.

Metadata

Metadata

Assignees

Labels

P2We'll consider working on this in future. (Assignee optional)type: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions