Opened 4 months ago

Last modified 4 months ago

#64927 assigned defect

qwt-qt5 @6.1.6_0: Could not resolve SDK path for 'macosx 12' using --show-sdk-path

Reported by: jcannon-gplates (John Cannon) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: arm64 monterey Cc: chrstphrchvz (Christopher Chavez)
Port: qwt-qt5

Description

Configure phase fails with:

xcrun: error: SDK "macosx12" cannot be located

...and opening ".../qwt-qt5/main.log" shows:

Could not resolve SDK path for 'macosx 12' using --show-sdk-path

Adding the change from https://github.com/macports/macports-ports/commit/4ccdc73094c259eb53235c7ddeea041763f3e568 to the Portfile appears to fix it:

if { ${xcodeversion} ne "none" } {
    use_xcode       yes
}

...and despite now getting the following error message it still configures and builds/installs:

xcodebuild: error: SDK "macosx12" cannot be located

Note that I'm using buildfromsource always in macports.conf (and macosx_deployment_target 11.0). And building on Monterey on M1 using XCode 13.3.

Change History (1)

comment:1 Changed 4 months ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added
Note: See TracTickets for help on using tickets.