[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 20:54:52 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 sean@…):

 Sadly, no that doesn't work ;_;

 The patch fails to apply to qt5-qtconnectivity ... but when I manually
 removed it for that port it still fails to build:

 {{{
 <snip>
 ./osx/osxbtcentralmanager_p.h:93:47: error: expected expression
 typedef QHash<QLowEnergyHandle, CBDescriptor *> DescHash;
                                               ^
 ./osx/osxbtcentralmanager_p.h:132:64: error: no type or protocol named
 'CBCentralManagerDelegate'
 @interface QT_MANGLE_NAMESPACE(OSXBTCentralManager) :
 NSObject<CBCentralManagerDelegate, CBPeripheralDelegate>
                                                                ^
 ./osx/osxbtcentralmanager_p.h:135:5: error: unknown type name
 'CBCentralManager'; did you mean 'OSXBTCentralManager'?
     CBCentralManager *manager;
     ^~~~~~~~~~~~~~~~
     OSXBTCentralManager
 ./osx/osxbtcentralmanager_p.h:132:32: note: 'OSXBTCentralManager' declared
 here
 @interface QT_MANGLE_NAMESPACE(OSXBTCentralManager) :
 NSObject<CBCentralManagerDelegate, CBPeripheralDelegate>
                                ^
 ./osx/osxbtcentralmanager_p.h:167:5: error: unknown type name
 'CBPeripheral'
     CBPeripheral *peripheral;
     ^
 9 errors generated.
 </snip>
 }}}

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


More information about the macports-tickets mailing list