#66386 closed defect (duplicate)

R @4.2.2_2 build failure: devQuartz.c:660:23: error: 'ATSFontFindFromName' is unavailable

Reported by: dbl001 (dbl) Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: kjellpk (Kjell Konis)
Port: R

Description

Building 'R' on MacOS Ventura 13.0.1

% xcrun --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
:info:build /opt/local/bin/clang-mp-14 -I"../../../../include" -DNDEBUG -I../../../include -I../../../../src/include -DHAVE_CONFIG_H  -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk   -fPIC  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch x86_64 -fobjc-exceptions  -c qdCocoa.m -o qdCocoa.o
:info:build qdBitmap.c:61:39: warning: 'CFURLCreateStringByAddingPercentEscapes' is deprecated: first deprecated in macOS 10.11 - Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid). [-Wdeprecated-declarations]
:info:build             CFStringRef pathEscaped = CFURLCreateStringByAddingPercentEscapes(kCFAllocatorDefault, pathString, NULL, NULL, kCFStringEncodingUTF8);
:info:build                                       ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h:408:13: note: 'CFURLCreateStringByAddingPercentEscapes' has been explicitly marked deprecated here
:info:build CFStringRef CFURLCreateStringByAddingPercentEscapes(CFAllocatorRef allocator, CFStringRef originalString, CFStringRef charactersToLeaveUnescaped, CFStringRef legalURLCharactersToBeEscaped, CFStringEncoding encoding) API_DEPRECATED("Use [NSString stringByAddingPercentEncodingWithAllowedCharacters:] instead, which always uses the recommended UTF-8 encoding, and which encodes for a specific URL component or subcomponent (since each URL component or subcomponent has different rules for what characters are valid).", macos(10.0,10.11), ios(2.0,9.0), watchos(2.0,2.0), tvos(9.0,9.0));
:info:build             ^
:info:build devQuartz.c:660:23: error: 'ATSFontFindFromName' is unavailable
:info:build             atsFont = ATSFontFindFromName(cfFontName, kATSOptionFlagsDefault);
:info:build                       ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
:info:build ATSFontFindFromName(
:info:build ^
:info:build devQuartz.c:662:27: error: 'ATSFontFindFromPostScriptName' is unavailable
:info:build                 atsFont = ATSFontFindFromPostScriptName(cfFontName, kATSOptionFlagsDefault);
:info:build                           ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:828:1: note: 'ATSFontFindFromPostScriptName' has been explicitly marked unavailable here
:info:build ATSFontFindFromPostScriptName(
:info:build ^
:info:build devQuartz.c:689:27: error: 'ATSFontFindFromName' is unavailable
:info:build                 atsFont = ATSFontFindFromName(cfFontName, kATSOptionFlagsDefault);
:info:build                           ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
:info:build ATSFontFindFromName(
:info:build ^
:info:build devQuartz.c:690:41: error: 'ATSFontFindFromPostScriptName' is unavailable
:info:build                 if (!atsFont) atsFont = ATSFontFindFromPostScriptName(cfFontName, kATSOptionFlagsDefault);
:info:build                                         ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:828:1: note: 'ATSFontFindFromPostScriptName' has been explicitly marked unavailable here
:info:build ATSFontFindFromPostScriptName(
:info:build ^
:info:build devQuartz.c:696:35: error: 'ATSFontFindFromName' is unavailable
:info:build                         atsFont = ATSFontFindFromName(cfFontName, kATSOptionFlagsDefault);
:info:build                                   ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
:info:build ATSFontFindFromName(
:info:build ^
:info:build devQuartz.c:702:39: error: 'ATSFontFindFromName' is unavailable
:info:build                             atsFont = ATSFontFindFromName(cfFontName, kATSOptionFlagsDefault);
:info:build                                       ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
:info:build ATSFontFindFromName(
:info:build ^
:info:build devQuartz.c:710:35: error: 'ATSFontFindFromName' is unavailable
:info:build                         atsFont = ATSFontFindFromName(cfFontName, kATSOptionFlagsDefault);
:info:build                                   ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Headers/ATSFont.h:811:1: note: 'ATSFontFindFromName' has been explicitly marked unavailable here
:info:build ATSFontFindFromName(
:info:build ^
:info:build devQuartz.c:729:12: warning: 'CGFontCreateWithPlatformFont' is deprecated: first deprecated in macOS 10.6 - No longer supported [-Wdeprecated-declarations]
:info:build     return CGFontCreateWithPlatformFont(&atsFont);
:info:build            ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h:64:32: note: 'CGFontCreateWithPlatformFont' has been explicitly marked deprecated here
:info:build CG_EXTERN CGFontRef __nullable CGFontCreateWithPlatformFont(
:info:build                                ^
:info:build devQuartz.c:1012:5: warning: 'CGContextShowGlyphsWithAdvances' is deprecated: first deprecated in macOS 10.9 - No longer supported [-Wdeprecated-declarations]
:info:build     CGContextShowGlyphsWithAdvances(ctx,glyphs, g_adv, len);
:info:build     ^
:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h:1070:16: note: 'CGContextShowGlyphsWithAdvances' has been explicitly marked deprecated here
:info:build CG_EXTERN void CGContextShowGlyphsWithAdvances(CGContextRef cg_nullable c,
:info:build                ^
:info:build 2 warnings and 7 errors generated.
:info:build 1 warning generated.
:inf

Attachments (1)

main.log (258.3 KB) - added by dbl001 (dbl) 17 months ago.

Download all attachments as: .zip

Change History (3)

Changed 17 months ago by dbl001 (dbl)

Attachment: main.log added

comment:1 Changed 17 months ago by jmroot (Joshua Root)

Cc: kjellpk added
Owner: set to i0ntempest
Status: newassigned
Summary: devQuartz.c:660:23: error: 'ATSFontFindFromName' is unavailableR @4.2.2_2 build failure: devQuartz.c:660:23: error: 'ATSFontFindFromName' is unavailable

comment:2 Changed 17 months ago by kencu (Ken)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.