[MacPorts] #64246: qemu @6.2.0: uses jack opportunistically, which fails (was: qemu build failure)

MacPorts noreply at macports.org
Sun Dec 19 04:26:32 UTC 2021


#64246: qemu @6.2.0: uses jack opportunistically, which fails
-------------------------+----------------------
  Reporter:  mouse07410  |      Owner:  raimue
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.1
Resolution:              |   Keywords:
      Port:  qemu        |
-------------------------+----------------------
Changes (by ryandesign):

 * status:  new => assigned
 * cc: raimue (removed)
 * version:   => 2.7.1
 * owner:  (none) => raimue


Comment:

 We have successful builds of qemu on the buildbot system, but I can
 confirm the build failure on Catalina when the jack port is installed. The
 qemu build seems to look for jack and use it if present, though the port
 doesn't declare a dependency on it. We should force the port not to use
 jack, even if it is present.

 The other choice would be to add a jack dependency to qemu, but for the
 fact that, as you've found, it doesn't build. The code that uses jack
 assumes `pthread_setname_np` takes two arguments but on macOS it takes
 one. There is code in meson.build to detect which variant of
 `pthread_setname_np` the OS has, but the code that uses jack doesn't check
 that. This is an upstream bug that should be reported to the developers of
 qemu.

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


More information about the macports-tickets mailing list