[MacPorts] #65107: py310-pyqt5-webengine: xcrun: error: SDK "macosx10.13" cannot be located
MacPorts
noreply at macports.org
Wed May 4 13:32:29 UTC 2022
#65107: py310-pyqt5-webengine: xcrun: error: SDK "macosx10.13" cannot be located
----------------------------------------+------------------------
Reporter: RivetBenoit | Owner: reneeotten
Type: defect | Status: reopened
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: highsierra
Port: py-pyqt5-webengine py-sip |
----------------------------------------+------------------------
Comment (by mouse07410):
> So you build against MacOSX.sdk, which is MacOSX13.0.sdk . . . But --
those functions are not actually in your system, which is MacOSX12.3.
Ultimately, your build either fails to link, or if it links, it fails to
run. You're DOA.
I understand your explanation. All I can say in response is that in all
the years of building on Mac software (that worked! ;) - and most of it
with Xcode Clang - I never encountered such a situation myself. And in
99.99% of cases, software performed no specific tests (beyond what, e.g.,
{{{autoconf}}} does).
One thing though:
> Your configure scripts test for things using the headers in that SDK,
and this finds certain features in the headers as defined, certain
functions are available, etc.
AFAIK, {{{autoconf}}} and such determine what functions to test for using
available headers - but then try to **actually compile and link test-
binary** to ensure the function is really there. Relying merely on what's
in the header doesn't sound like a good idea.
--
Ticket URL: <https://trac.macports.org/ticket/65107#comment:13>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list