[MacPorts] #67174: R-systemfonts fails on 10.8 and earlier with Clang

MacPorts noreply at macports.org
Sat Apr 1 11:49:42 UTC 2023


#67174: R-systemfonts fails on 10.8 and earlier with Clang
----------------------------+--------------------------
  Reporter:  barracuda156   |      Owner:  barracuda156
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.1
Resolution:                 |   Keywords:
      Port:  R-systemfonts  |
----------------------------+--------------------------

Comment (by ryandesign):

 I ran some new builds. On 10.7, it's because R doesn't build:

 https://build.macports.org/builders/ports-10.7_x86_64-builder/builds/138307/steps
 /install-port/logs/stdio
 {{{
 checking whether mixed C/Fortran code can be run... configure: WARNING:
 cannot run mixed C/Fortran code
 configure: error: Maybe check LDFLAGS for paths to Fortran libraries?
 }}}

 On 10.8, lots of errors like this:

 https://build.macports.org/builders/ports-10.8_x86_64-builder/builds/127932/steps
 /install-port/logs/stdio
 {{{
 mac/FontManagerMac.mm:47:77: error: cast of Objective-C pointer type
 'NSURL *' to C pointer type 'CFURLRef' (aka 'const __CFURL *') requires a
 bridged cast
     CFArrayRef font_descriptors =
 CTFontManagerCreateFontDescriptorsFromURL((CFURLRef) font_url);
 ^~~~~~~~~~ ~~~~~~~~
 }}}

 On 10.6 x86_64:

 https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/149272/steps
 /install-port/logs/stdio
 {{{
 mac/FontManagerMac.mm:2:10: fatal error: 'CoreText/CoreText.h' file not
 found
 #include <CoreText/CoreText.h>
          ^~~~~~~~~~~~~~~~~~~~~
 1 error generated.
 }}}

 On 10.6 i386:

 https://build.macports.org/builders/ports-10.6_i386-builder/builds/114065/steps
 /install-port/logs/stdio
 {{{
 error: -fobjc-arc is not supported on platforms using the legacy runtime
 }}}

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


More information about the macports-tickets mailing list