Page MenuHomeSolus

`bazel` is broken
Closed, ResolvedPublic


Run bazel version from command line:

$ bazel version
file is invalid or corrupted (missing end of central directory record)
Opening zip "/proc/self/exe": Cannot find central directory
FATAL: Failed to open '/proc/self/exe' as a zip file: (error: 5): Input/output error

This error is due to removal of the line debug: no from package.yml in a recent update (D8756). I wanted to fix it and submit a patch. However, bazel is not building on my laptop with the most up-to-date package.yml. It first complains about not being able to find javac. After I set JAVA_HOME, it complains about not being able to find external/local_jdk/include/jni. So I decide to report the issue and the fix to the issue here and hope it can be fixed soon.

Event Timeline

xulongwu4 created this task.
xulongwu4 added a subscriber: livingsilver94.

Assign to @livingsilver94 since he was the one who updated bazel most recently.

xulongwu4 updated the task description. (Show Details)May 18 2020, 3:43 AM
xulongwu4 updated the task description. (Show Details)

Was able to build bazel again after some fiddling. Submitted patch D8904. So assign the task to myself for now.

Girtablulu triaged this task as Normal priority.May 18 2020, 1:52 PM
Girtablulu moved this task from Backlog to Package Fixes on the Software board.