Skip to content

Starting a vz with Rosetta does not work on macOS13 (the binary was built with __MAC_OS_X_VERSION_MAX_ALLOWED=130300; needs recompilation) #3160

@nonononoka

Description

@nonononoka

Description

I think lima built on macOS13 has a bug.

Expectation

It should start the VM with Rosetta enabled without any warning or error

Current state

Unable to configure Rosetta: failed to create a new rosetta directory share caching option: unsupported build target macOS version for 14.0 (the binary was built with __MAC_OS_X_VERSION_MAX_ALLOWED=130300; needs recompilation)

I looked into the code which emits the error.
Maybe the cause is that vz is included when OS is 13 or newer, however NewLinuxRosettaAbstractSocketCachingOptions works only on macOS 14 and newer.

So, I think the above error occurs on macOS13.

Could anyone look into the problem and fix it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions