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

MacPorts noreply at macports.org
Wed Jan 26 05:57:59 UTC 2022


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

Comment (by barracuda156):

 UPD: I finally built it after using 10.5 SDK and target with:

 {{{
 macosx_deployment_target 10.5
 macosx_sdk_version 10.5
 }}}

 Probably should build if `-isysroot/Developer/SDKs/MacOSX10.5.sdk` is
 added to CFLAGS and CXXFLAGS in port file (instead of changing Macports
 global settings).


 {{{
 Sergey-Fedorovs-Mac-mini:~ svacchanda$ port -v installed glib2
 The following ports are currently installed:
   glib2 @2.64.6_0+x11 (active) requested_variants='' platform='darwin 10'
 archs='ppc' date='2022-01-26T13:55:38+0800'
 }}}

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


More information about the macports-tickets mailing list