Thanks to visit codestin.com
Credit goes to github.com

Skip to content

vz: unsupported build target macOS version for 13.0 #1182

@swalkinshaw

Description

@swalkinshaw

Description

macOS version: 13.0.1
Template: default vz.yml

I'm trying out VZ support and my ha.stderr.log log looks like this:

{"level":"debug","msg":"Creating iso file /Users/me/.lima/example-com/cidata.iso","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"Using /var/folders/s8/0tthc8jj04zd_4xzr8hwl1y40000gn/T/diskfs_iso734331136 as workspace","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"OpenSSH version 9.0.1 detected","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"AES accelerator seems available, prioritizing [email protected] and [email protected]","time":"2022-11-19T15:13:35-05:00"}
{"level":"info","msg":"Starting VZ (hint: to watch the boot progress, see \"/Users/me/.lima/example-com/serial.log\")","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"Start udp server listening on: 127.0.0.1:57460","time":"2022-11-19T15:13:35-05:00"}
{"level":"debug","msg":"Start tcp server listening on: 127.0.0.1:58956","time":"2022-11-19T15:13:35-05:00"}
{"level":"fatal","msg":"unsupported build target macOS version for 13.0","time":"2022-11-19T15:13:35-05:00"}

Looks like vz is returning that error here:
https://github.com/Code-Hex/vz/blob/9de1c1041d5e560f46f9f94fc499a1cc72fd92e5/osversion.go#L108

Lima only handles the other kind of OS error:

if errors.Is(err, vz.ErrUnsupportedOSVersion) {

Which means the error from vz is being logged directly without any additional context. I'm assuming there's some API that's not supported/available but I have no idea which (or why).

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