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

MacPorts noreply at macports.org
Mon Dec 6 21:05:58 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
Resolution:               |   Keywords:  bigsur arm64
      Port:  podman qemu  |
--------------------------+--------------------------

Comment (by jrjsmrtn):

 > For clarity issue, do you have `gvisor-tap-vsock` installed?

 Yes, I do.

 > I just saw that podman-machine should now work on M1. So I turned up the
 revision for `podman` to add dependencies now.

 Same result.

 There is still a `getEdk2CodeFd` function missing a MacPorts path for
 QEMU:

 {{{
 --- pkg/machine/qemu/options_darwin_arm64.go.orig       2021-12-06
 21:09:38.000000000 +0100
 +++ pkg/machine/qemu/options_darwin_arm64.go    2021-12-06
 21:16:09.000000000 +0100
 @@ -45,6 +45,7 @@
   */
  func getEdk2CodeFd(name string) string {
         dirs := []string{
 +               "@@PREFIX@@/share/qemu",
                 "/usr/local/share/qemu",
                 "/opt/homebrew/share/qemu",
         }
 }}}

 Patches are attached.

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


More information about the macports-tickets mailing list