[MacPorts] #58818: qt5-qtconnectivity @5.12.4: failed to build on macOS 10.15 public beta (19A526h)

MacPorts noreply at macports.org
Wed Aug 14 01:50:43 UTC 2019


#58818: qt5-qtconnectivity @5.12.4: failed to build on macOS 10.15 public beta
(19A526h)
---------------------------------+---------------------------------
  Reporter:  OceanS2000          |      Owner:  MarcusCalhoun-Lopez
      Type:  defect              |     Status:  assigned
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.5.4
Resolution:                      |   Keywords:  catalina
      Port:  qt5-qtconnectivity  |
---------------------------------+---------------------------------

Comment (by OceanS2000):

 Sorry for not including cc field.

 I tried to hack the Make to use `clang-8.0` from MacPorts to build the
 module with upstream source, but failed with the same error. Maybe an
 upstream issue here?


 {{{
 /opt/local/bin/clang++-mp-8.0 -c
 -include.pch/release/QtBluetooth/objective-c++_x86_64 -pipe -stdlib=libc++
 -O2 -std=c++1y -fapplication-extension  -arch x86_64 -isysroot
 /Applications/Xcode-
 beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk
 -mmacosx-version-min=10.12 -fvisibility=hidden -fvisibility-inlines-hidden
 -fno-exceptions -Wall -W -Winconsistent-missing-override -Wobjc-interface-
 ivars -Wobjc-method-access -Wobjc-multiple-method-names -Werror=unguarded-
 availability -Werror=unguarded-availability-new -Werror=unsupported-
 availability-guard -fPIC -DQT_NO_FOREACH -DQT_OSX_BLUETOOTH
 -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_BLUETOOTH_LIB
 -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS
 -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
 -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -DQT_NO_EXCEPTIONS
 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB
 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I. -I../../include
 -I../../include/QtBluetooth -I../../include/QtBluetooth/5.12.4
 -I../../include/QtBluetooth/5.12.4/QtBluetooth
 -I/Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtCore.framework/Headers/5.12.4
 -I/Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtCore.framework/Headers/5.12.4/QtCore
 -I/Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtCore.framework/Headers
 -I/Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtConcurrent.framework/Headers
 -I.moc/release -I/usr/local/opt/openssl/include
 -I/Users/sao/Code/Qt512/5.12.4/clang_64/mkspecs/macx-clang
 -F/Users/sao/Code/Qt512/5.12.4/clang_64/lib -o
 .obj/release/osxbtperipheralmanager.o osx/osxbtperipheralmanager.mm
 osx/osxbtperipheralmanager.mm:343:9: error: conversion from
       'ObjCScopedPointer<CBPeripheralManager>' to 'bool' is ambiguous
     if (manager)
         ^~~~~~~
 osx/osxbtutility_p.h:86:5: note: candidate function
     operator T*() const
     ^
 /Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtCore.framework/Headers/qscopedpointer.h:132:5:
 note:
       candidate function
     operator RestrictedBool() const Q_DECL_NOTHROW
     ^
 osx/osxbtperipheralmanager.mm:408:5: error: conversion from
       'ObjCScopedPointer<CBPeripheralManager>' to 'bool' is ambiguous
     Q_ASSERT(manager);
     ^~~~~~~~~~~~~~~~~
 /Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtCore.framework/Headers/qglobal.h:780:55:
 note:
       expanded from macro 'Q_ASSERT'
 #    define Q_ASSERT(cond) static_cast<void>(false && (cond))
                                                       ^~~~~~
 osx/osxbtutility_p.h:86:5: note: candidate function
     operator T*() const
     ^
 /Users/sao/Code/Qt512/5.12.4/clang_64/lib/QtCore.framework/Headers/qscopedpointer.h:132:5:
 note:
       candidate function
     operator RestrictedBool() const Q_DECL_NOTHROW
     ^
 2 errors generated.
 make[3]: *** [.obj/release/osxbtperipheralmanager.o] Error 1
 make[2]: *** [release-all] Error 2
 make[1]: *** [sub-bluetooth-make_first] Error 2
 make: *** [sub-src-make_first] Error 2
 }}}

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


More information about the macports-tickets mailing list