Skip to content

Bazel crashes when running on M1 under qemu #15076

@alexjski

Description

@alexjski

Description of the problem / feature request:

Bazel fails to self-extract when running under qemu since it tries to treat the qemu binary as a self-extracting archive.

Feature requests: what underlying problem are you trying to solve with this feature?

Running Bazel in M1 machines.

Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

Bazel fails to start:

FATAL: Failed to open '/proc/self/exe' as a zip file: (error: 9): Bad file descriptor

What operating system are you running Bazel on?

macOS

What's the output of bazel info release?

release 5.0.0

Metadata

Metadata

Labels

P2We'll consider working on this in future. (Assignee optional)team-OSSIssues for the Bazel OSS team: installation, release processBazel packaging, websitetype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions