[MacPorts] #63714: python39 @3.9.7: build failure on Monterey/M1
MacPorts
noreply at macports.org
Thu Nov 4 00:18:21 UTC 2021
#63714: python39 @3.9.7: build failure on Monterey/M1
-----------------------+----------------------
Reporter: tglsfdc | Owner: jmroot
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: monterey
Port: python39 |
-----------------------+----------------------
Comment (by FaradayLight):
There seems to be a problem within the SDK:
{{{
:info:destroot In file included from ./FileSettings.h:9:
:info:destroot In file included from
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:12:
:info:destroot
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h:91:143:
error: function does not return NSString
:info:destroot - (NSAttributedString
*)localizedAttributedStringForKey:(NSString *)key value:(nullable NSString
*)value table:(nullable NSString *)tableName NS_FORMAT_ARGUMENT(1)
NS_REFINED_FOR_SWIFT API_AVAILABLE(macos(12.0), ios(15.0), watchos(8.0),
tvos(15.0));
:info:destroot
~~~~~~~~~~~~~~
^ ~
:info:destroot
/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:103:48:
note: expanded from macro 'NS_FORMAT_ARGUMENT'
:info:destroot #define NS_FORMAT_ARGUMENT(A) __attribute__
((format_arg(A)))
:info:destroot ^
~
:info:destroot ./FileSettings.m:128:17: warning: comparison of integers of
different signs: 'int' and 'NSUInteger' (aka 'unsigned long') [-Wsign-
compare]
:info:destroot for (i=0; i < [interpreters count]; i++) {
:info:destroot ~ ^ ~~~~~~~~~~~~~~~~~~~~
}}}
Are you using a beta version of the SDK? My Xcode SDKs for 12 are under:
/Applications/Xcode.app/Contents/Developer
You could try using Xcode-select to check the default Developer path.
--
Ticket URL: <https://trac.macports.org/ticket/63714#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list