[MacPorts] #68478: switchaudio-osx @1.2.2: fatal error: 'CoreAudio/AudioHardwareBase.h' file not found

MacPorts noreply at macports.org
Tue Oct 17 20:16:00 UTC 2023


#68478: switchaudio-osx @1.2.2: fatal error: 'CoreAudio/AudioHardwareBase.h' file
not found
-------------------------+-------------------------------------------------
  Reporter:  RobK88      |      Owner:  i0ntempest
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.8.1
Resolution:              |   Keywords:  snowleopard lion mountainlion
      Port:              |  mavericks yosemite elcapitan sierra highsierra
  switchaudio-osx        |  mojave catalina bigsur
-------------------------+-------------------------------------------------

Comment (by ryandesign):

 Or make the single switchaudio-osx port install 1.1.0 when building for
 Big Sur and earlier and 1.2.0 for Monterey and later. It would probably
 want to decide based on `${macosx_deployment_target}` rather than
 `${os.major}`.

 I don't like the idea of a separate port with "legacy" in the name. It's
 not very specific. What happens if version 1.3.0 drops support for
 Monterey? Do you then create a third port called switchaudio-osx-not-
 quite-as-legacy for 1.2.0? If separate ports need to be created for
 separate versions, the best idea is usually to put the relevant portion of
 the version number into the port name.

 There don't appear to be any ports that depend on switchaudio-osx so
 either strategy could be used, but in the case of ports that are used by
 other ports I prefer not having separate ports because it makes it easier
 on all the other ports. Separate ports require those other ports to know
 on which OS versions to depend on which port.

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


More information about the macports-tickets mailing list