[MacPorts] #68415: Error when I build py311-pyqt5 +webkit
MacPorts
noreply at macports.org
Sat Oct 14 22:56:38 UTC 2023
#68415: Error when I build py311-pyqt5 +webkit
------------------------+------------------------
Reporter: news24lor | Owner: reneeotten
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: py-pyqt5 |
------------------------+------------------------
Comment (by news24lor):
I found the solution in the post
[https://trac.macports.org/ticket/68073].\\
That solution was for {{{macosx12.3 SDK}}} and now for {{{macosx13.3
SDK}}}.
Basically the error is related to not identifying the {{{maosx13.3 SDK}}}
in macOS 13.6 with Xcode version 15 on ARM processor.
I performed these steps:\\
I first checked for the presence of the SDK with
{{{
xcrun --sdk macosx13.3 --show-sdk-path
}}}
and I got the error {{{xcodebuild: error: SDK "macosx13.3" cannot be
located}}}
I checked which SDK is present:
{{{
ls -l
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs
drwxr-xr-x 7 root wheel 224 31 Aug 21:12 MacOSX.sdk
lrwxr-xr-x 1 root wheel 10 18 Sep 20:28 MacOSX14.0.sdk -> MacOSX.sdk
lrwxr-xr-x 1 root wheel 10 18 Sep 20:28 MacOSX14.sdk -> MacOSX.sdk
}}}
The {{{macosx13.3 SDK}}} is not present.\\
I have created a link to the SDK needed for compilation:
{{{
sudo ln -s /Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk
}}}
I re-checked which SDKs are present.
{{{
xcrun --sdk macosx13.3 --show-sdk-path
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk
}}}
Now {{{macosx13.3 SDK}}} is present.\\
I will now redo the installation
{{{
sudo port install py311-pyqt5 +webkit
}}}
And finally everything works again!!!
It is a bit complex but it works. This variant is absolutely necessary
inside QGIS to make many plugins work
Thanks again!
--
Ticket URL: <https://trac.macports.org/ticket/68415#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list