[MacPorts] #52200: qt5 fails to build with Xcode 8 (due to removal of the deprecated xcrun executable)
MacPorts
noreply at macports.org
Tue Sep 27 12:34:29 CEST 2016
#52200: qt5 fails to build with Xcode 8 (due to removal of the deprecated xcrun
executable)
----------------------------------------------+------------------------
Reporter: howarth.at.macports@… | Owner: mcalhoun@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: sierra
Port: qt5 qt5-qtbase qt5-mysql-plugin |
----------------------------------------------+------------------------
Comment (by rjvbertin@…):
Yes, that's the exact problem. xcrun doesn't always look on the PATH, it
uses its own path for toolchain elements. You'll probably find that it
returns something like
{{{
> xcrun -find clang
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
}}}
even though your shell will find clang as `/usr/bin/clang` .
Incidentally this is also why it's quite tricky to build Qt with a
different compiler (ditto for Qt dependents that use QMake).
--
Ticket URL: <https://trac.macports.org/ticket/52200#comment:23>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system
More information about the macports-tickets
mailing list