py36-pyqt5 Failed to determine details of Qt installation.

Chris Jones jonesc at hep.phy.cam.ac.uk
Fri Sep 27 11:15:34 UTC 2019


Odd. On my 10.13 machine it returns the versioned SDK. e.g.

Titan ~/Projects/MacPorts/ports > xcrun --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk
Titan ~/Projects/MacPorts/ports > ls 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
MacOSX.sdk	MacOSX10.14.sdk
Titan ~/Projects/MacPorts/ports > ls -lth 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
total 0
drwxr-xr-x  7 root  wheel   224B 30 Oct  2018 MacOSX.sdk
lrwxr-xr-x  1 root  wheel    10B 17 Sep  2018 MacOSX10.14.sdk -> MacOSX.sdk

( so yes, Xcode 10 here also only has 'macOS release + 1' SDK )

what does

ls -lth 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs 


give for you ?

Chris

On 27/09/2019 12:11 pm, Carlo Tambuatco wrote:
> On Fri, Sep 27, 2019 at 7:07 AM Chris Jones <jonesc at hep.phy.cam.ac.uk 
> <mailto:jonesc at hep.phy.cam.ac.uk>> wrote:
> 
>     what does
> 
>     xcrun --show-sdk-path
> 
>     give you ?
> 
> 
> /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
> 
>     On 27/09/2019 12:04 pm, Carlo Tambuatco wrote:
>      > I filed a ticket on this issue already and included a logfile for
>     it,
>      > but I thought there's no harm in asking the mailing list for a quick
>      > solution...
>      >
>      > I upgraded to macports 2.6.0 today. During a routine upgrade of my
>      > ports, the py36-pyqt5 port failed to configure, possibly due to a
>      > problem with the recent XCode 11 upgrade...?
>      >
>      >  From logfile:
>      >
>      > Error: Failed to determine the detail of your Qt installation.
>     Try again
>      > using
>      > the --verbose flag to see more detail about the problem.
>      > Querying qmake about your Qt installation...
>      > Determining the details of your Qt installation...
>      > /opt/local/libexec/qt5/bin/qmake -o cfgtest_QtCore.mk
>     cfgtest_QtCore.pro
>      > Project ERROR: Could not resolve SDK Path for 'macosx10.14' using
>      > --show-sdk-path
>      >
>      >
>      > This is the first time something like this has happened. No problems
>      > before the XCode 11 upgrade.
>      >
>      > I upgraded to XCode 11 a few days ago, and as someone else
>     pointed out,
>      > XCode removed the MacOS10.14.sdk and replaced it with MacOS10.15.sdk.
>      > What I did to try and resolve it was create a MacOSX10.14.sdk
>     symlink.
>      > Is py36-pyqt5 one of those ports that has a hard-coded path to
>     the 10.14
>      > SDK, and somehow isn't fooled by the symlink I created or something?
>      >
>      >
> 


More information about the macports-users mailing list