[MacPorts] #52200: qt5 fails to build with Xcode 8 (due to removal of the deprecated xcrun executable)

MacPorts noreply at macports.org
Mon Sep 26 21:45:50 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@…):

 First: the patch in question has to be applied to the Qt5 sources, port
 qt5-qtbase to be exact. Other Qt5 components build using the base
 libraries and tools installed by that port.

 People who installed Xcode 8 after installing Qt5 can edit
 `mkspecs/features/mac/default_pre.prf` (in ${prefix}/libexec/qt5, I think)
 and replace `xcrun -find xcrun` with `xcrun -find xcodebuild` by hand.

 The error in QtConnectivity appears to be due to another issue. I have had
 confirmation that the patch I proposed in a different ticket (and which
 does the same thing as the one attached here) allows Qt5 to build on
 *10.11* using Xcode 8 .

-- 
Ticket URL: <https://trac.macports.org/ticket/52200#comment:21>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list