Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
5.5.0 Beta
-
None
-
Mac OS 10.10.3, XCode 6.3.
Configure line:
{code}
CXXFLAGS='-stdlib=libc++' ../qt-everywhere-opensource-src-5.5.0-beta/configure -xplatform macx-ios-clang -skip qtwebkit -skip qtdeclarative -skip qtquick1 -skip qtquickcontrols -skip qtwebchannel -warnings-are-errors -system-proxies -no-linuxfb -no-directfb -no-dbus -pch -optimized-qmake -no-compile-examples -nomake examples -opensource -confirm-license -force-debug-info -debug-and-release -no-xcb -prefix /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-deploy
{code}Mac OS 10.10.3, XCode 6.3. Configure line: {code} CXXFLAGS='-stdlib=libc++' ../qt-everywhere-opensource-src-5.5.0-beta/configure -xplatform macx-ios-clang -skip qtwebkit -skip qtdeclarative -skip qtquick1 -skip qtquickcontrols -skip qtwebchannel -warnings-are-errors -system-proxies -no-linuxfb -no-directfb -no-dbus -pch -optimized-qmake -no-compile-examples -nomake examples -opensource -confirm-license -force-debug-info -debug-and-release -no-xcb -prefix /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-deploy {code}
Description
Build failure as follows:
cd qtconnectivity/ && ( test -e Makefile || /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-build/qtbase/bin/qmake /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/qtconnectivity.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile cd src/ && ( test -e Makefile || /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-build/qtbase/bin/qmake /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/src/src.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile cd bluetooth/ && ( test -e Makefile || /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-build/qtbase/bin/qmake /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/src/bluetooth/bluetooth.pro -o Makefile ) && /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.DeviceDebug all /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -pipe -fvisibility=hidden -fpascal-strings -fmessage-length=0 -Wno-trigraphs -Wreturn-type -Wparentheses -Wswitch -Wno-unused-parameter -Wunused-variable -Wunused-value -Wno-shorten-64-to-32 -Wno-sign-conversion -fexceptions -fasm-blocks -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-implicit-atomic-properties -Wformat -Wno-missing-braces -Wno-unused-function -Wno-unused-label -Wuninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-sign-compare -Wpointer-sign -Wno-newline-eof -Wdeprecated-declarations -Winvalid-offsetof -Wno-conversion -fvisibility-inlines-hidden -Wno-non-virtual-dtor -Wno-overloaded-virtual -Wno-exit-time-destructors -Wno-arc-abi -fobjc-nonfragile-abi -fobjc-legacy-dispatch -Wno-deprecated-implementations -Wprotocol -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk -std=c++11 -stdlib=libc++ -miphoneos-version-min=5.1.1 -arch armv7 -arch arm64 -g -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -DDARWIN_NO_CARBON -DQT_NO_PRINTER -DQT_NO_PRINTDIALOG -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EVDEV -DQT_NO_TSLIB -DQT_NO_LIBINPUT -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_IOS_BLUETOOTH -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_CORE_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/src/bluetooth -I. -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtbase/mkspecs/macx-ios-clang/ios -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/include -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/include/QtBluetooth -I../../include -I../../include/QtBluetooth -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/include/QtBluetooth/5.5.0 -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/include/QtBluetooth/5.5.0/QtBluetooth -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtbase/include -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtbase/include/QtCore -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-build/qtbase/include -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-build/qtbase/include/QtCore -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtbase/include/QtConcurrent -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta-ios-build/qtbase/include/QtConcurrent -I.moc/iphoneos-debug -I/Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtbase/mkspecs/macx-ios-clang /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/src/bluetooth/qbluetoothdevicediscoveryagent_ios.mm -o .obj/iphoneos-debug/qbluetoothdevicediscoveryagent_ios.o /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/src/bluetooth/qbluetoothdevicediscoveryagent_ios.mm:160:76: error: expected ')' QCoreApplication::translate(DEV_DISCOVERY, DD_NOT_STARTED); ^ /Users/williamg/Projects/Vendor/qt-everywhere-opensource-src-5.5.0-beta/qtconnectivity/src/bluetooth/qbluetoothdevicediscoveryagent_ios.mm:159:17: note: to match this '(' setError(QBluetoothDeviceDiscoveryAgent::UnknownError, ^ 1 error generated. make[4]: *** [.obj/iphoneos-debug/qbluetoothdevicediscoveryagent_ios.o] Error 1 make[3]: *** [iphoneos-debug-all] Error 2 make[2]: *** [sub-bluetooth-make_first] Error 2 make[1]: *** [sub-src-make_first] Error 2 make: *** [module-qtconnectivity-make_first] Error 2
Indeed, the offending section of code with the bracket mismatch is:
if (![inquiryLE start]) { // We can be here only if we have some kind of // resource allocation error. setError(QBluetoothDeviceDiscoveryAgent::UnknownError, QCoreApplication::translate(DEV_DISCOVERY, DD_NOT_STARTED); emit q_ptr->error(lastError); }
— there's a missing closing bracket at the end of the setError call. Adding that closing bracket allows the build to proceed.
How did this get through CI, I wonder!