[MacPorts] #64131: podman/qemu: "podman machine start" fails with "Could not open 'edk2-aarch64-code.fd'"

MacPorts noreply at macports.org
Sat Dec 4 09:23:14 UTC 2021


#64131: podman/qemu: "podman machine start" fails with "Could not open
'edk2-aarch64-code.fd'"
--------------------------+-------------------------
 Reporter:  jrjsmrtn      |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.7.1
 Keywords:  bigsur arm64  |       Port:  podman qemu
--------------------------+-------------------------
 Hello...

 I'm trying to use podman on a M1 Mac with Big Sur, and qemu is failing
 with a `Could not open 'edk2-aarch64-code.fd': No such file or directory`
 error message:

 {{{
 $ podman machine init
 Downloading VM image: fedora-coreos-35.20211119.2.0-qemu.aarch64.qcow2.xz:
 done
 Extracting compressed file

 $ podman machine start
 INFO[0000] waiting for clients...
 INFO[0000] listening tcp://0.0.0.0:7777
 INFO[0000] new connection from  to
 /var/folders/l0/kfvj485d0lq_0syf2b86b5rh0000gn/T/podman/qemu_podman-
 machine-default.sock
 Waiting for VM ...
 qemu-system-aarch64: -drive
 file=edk2-aarch64-code.fd,if=pflash,format=raw,readonly=on: Could not open
 'edk2-aarch64-code.fd': No such file or directory
 Error: dial unix /var/folders/l0/kfvj485d0lq_0syf2b86b5rh0000gn/T/podman
 /podman-machine-default_ready.sock: connect: connection refused
 ERRO[0003] cannot receive packets from , disconnecting: cannot read size
 from socket: EOF
 ERRO[0003] cannot read size from socket: EOF
 }}}

 I reinstalled both podman and qemu, with no changes. `buildfromsource` is
 set to `always` in my macports.conf.

 Versions are:

 - MacPorts 2.7.1
 - macOS 11.6.1 20G224 on arm64
 - Xcode 13.1 13A1030d
 - qemu 6.1.0 (with cocoa, target_arm, target_i386, target_x86_64 and usb
 variants)
 - podman 3.4.2

-- 
Ticket URL: <https://trac.macports.org/ticket/64131>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list