[MacPorts] #71963: virt-viewer fails to build without 'python3 select'

MacPorts noreply at macports.org
Sun Jul 12 03:22:43 UTC 2026


#71963: virt-viewer fails to build without 'python3 select'
-------------------------+-------------------------------------------------
  Reporter:  jasonliu--  |      Owner:  raimue
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.10.5
Resolution:  fixed       |   Keywords:  mojave highsierra sierra elcapitan
      Port:  virt-       |  yosemite
  viewer                 |
-------------------------+-------------------------------------------------
Changes (by ryandesign):

 * cc: drkp (added)


Comment:

 You are not supposed to need to patch meson.build to substitute another
 program for the results of `find_program`. Instead, use:

 {{{#!tcl
 meson.native.binaries-append python3=${prefix}/bin/python${py_branch}
 }}}

 The second `reinplace`, where it looks like you fix upstream's erroneous
 use of `python3` instead of the found binary, is likely still necessary,
 until upstream fixes it. (You've reported the bug to them? If not, please
 do.)

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


More information about the macports-tickets mailing list