[7.1.0-1] FATAL: Failed to open '/usr/bin/bazel-real' as a zip file: (error: 5): Input/output error
Description:
I'm seeing the error message below since the update from 7.0.2 to 7.1.0.
file is invalid or corrupted (missing end of central directory record)
Opening zip "/usr/bin/bazel-real": Cannot find central directory
FATAL: Failed to open '/usr/bin/bazel-real' as a zip file: (error: 5): Input/output error
Additional info:
I see this on two different machines both updated today.
When I try switching the machines to have bazelisk
from the AUR, which installs bazel
7.1.0 from head, things work as expected.
Steps to reproduce:
- Switch to a bazel workspace root
- Run
bazel info