Opened 6 months ago

Closed 6 months ago

#68778 closed defect (fixed)

py39-appscript @1.2.0: error: MAC_OS_X_VERSION_MIN_REQUIRED must be >= MAC_OS_X_VERSION_10_0

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: py39-appscript

Description

https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/253533/steps/install-port/logs/stdio

/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.9/include/python3.9 -c ext/ae.c -o build/temp.macosx-10.9-x86_64-cpython-39/ext/ae.o -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_12 -D__LP64__
In file included from ext/ae.c:16:
In file included from ext/ae.h:26:
In file included from /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20:
In file included from /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:38:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:9:
In file included from /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:13:
/usr/include/AvailabilityMacros.h:144:6: error: MAC_OS_X_VERSION_MIN_REQUIRED must be >= MAC_OS_X_VERSION_10_0
    #error MAC_OS_X_VERSION_MIN_REQUIRED must be >= MAC_OS_X_VERSION_10_0
     ^

Change History (1)

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

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In f35b20cae8884f142619a659e77df7c0b4163a36/macports-ports (master):

py-appscript: update to 1.2.2

Remove fixed MAC_OS_X_VERSION_MIN_REQUIRED setting, and don't set
LP64 when building for 32-bit archs.

Closes: #68778

Note: See TracTickets for help on using tickets.