[MacPorts] #64514: glib2 fails to build for ppc on 10.6.8 (Rosetta): error: 'NSMusicDirectory' undeclared

MacPorts noreply at macports.org
Wed Jan 26 07:12:16 UTC 2022


#64514: glib2 fails to build for ppc on 10.6.8 (Rosetta): error: 'NSMusicDirectory'
undeclared
---------------------------+-----------------------------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  defect        |     Status:  closed
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.1
Resolution:  wontfix       |   Keywords:  powerpc snowleopard rosetta
      Port:  glib2         |
---------------------------+-----------------------------------------

Comment (by barracuda156):

 Replying to [comment:3 ryandesign]:
 > Replying to [comment:2 barracuda156]:
 > > UPD: I finally built it after using 10.5 SDK and target with:
 > >
 > > {{{
 > > macosx_deployment_target 10.5
 > > macosx_sdk_version 10.5
 > > }}}
 >
 > Ok great, then do that.
 >
 > You're supposed to be able to build for older systems (setting
 macosx_deployment_target to the oldest version you want to run on) even
 while using the latest sdk, but that didn't always work correctly back in
 these early days of sdks, so sometimes using the sdk for the oldest
 version is better (though of course it means what you build will not be
 able to use features introduced in newer sdks).

 Indeed, I could try changing deployment target first and resort to
 changing SDK if the first fails. Thank you.

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


More information about the macports-tickets mailing list