Re: [MacPorts] #63230: fluidsynth @2.1.9: build fails on Leopard i386: fluid_coreaudio.c:190: error: ‘AudioComponentDescription’ undeclared

MacPorts noreply at macports.org
Fri Jul 9 16:23:10 UTC 2021


#63230: fluidsynth @2.1.9: build fails on Leopard i386: fluid_coreaudio.c:190:
error: ‘AudioComponentDescription’ undeclared
-------------------------+-------------------------
  Reporter:  kencu       |      Owner:  rjvbertin@…
      Type:  defect      |     Status:  assigned
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:
Resolution:              |   Keywords:  leopard
      Port:  fluidsynth  |
-------------------------+-------------------------

Comment (by kencu):

 cmake changed it's default behaviour in 3.19:

 https://cmake.org/cmake/help/v3.20/release/3.19.html


 Building for macOS will now use the latest SDK available on the system,
 unless the user has explicitly chosen a SDK using CMAKE_OSX_SYSROOT. The
 deployment target or system macOS version will not affect the choice of
 SDK.

 Whether that is why it is selecting the 10.7.sdk on Leopard, or whether
 there is yet some other broken part somewhere, remains to be seen. To be
 noted, we do explicitly set CMAKE_OSX_SYSROOT, so it should obey it.

 I did not immediately noticed in the main CMakeLists.txt for fluidsynth
 how it might be doing this itself.

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


More information about the macports-tickets mailing list