Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54190

Error when building QtWebEngine on OSX 10.9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.7.1
    • 5.7.0
    • WebEngine
    • None
    • macOS
    • 1633f5a176320faa162c1a55df6c8bd66a9865d6

    Description

      I'm hitting the following error When building Qt 5.7 on Os X (10.9)
      Could'nt fid anything on the issire either on google or upstream

      Additionally, is there maybe a way to not build the bluetooth support into QtWebengine ? I don't need it.

      [exec] FAILED: /usr/bin/clang++ -MMD -MF obj/src/3rdparty/chromium/device/bluetooth/device_bluetooth.bluetooth_socket_mac.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DTOOLKIT_QT -D__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORE=0 -DCHROMIUM_BUILD -DCR_CLANG_REVISION=255169-1 -DUSE_LIBJPEG_TURBO=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_PDF=1 -DENABLE_PLUGIN_INSTALLATION=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DDEVICE_BLUETOOTH_IMPLEMENTATION -DSK_SUPPORT_GPU=1 -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/skia/config -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/core -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/effects -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/pdf -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/gpu -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/lazy -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/pathops -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/pipe -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/ports -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/utils -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/skia/include/utils/mac -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/skia/ext -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/icu/source/i18n -I/Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/third_party/icu/source/common -Igen/device/bluetooth/strings -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -O2 -gdwarf-2 -fvisibility=hidden -mmacosx-version-min=10.9 -arch x86_64 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wno-selector-type-mismatch -Wheader-hygiene -Wno-char-subscripts -Wno-unneeded-internal-declaration -Wno-covered-switch-default -Wstring-conversion -Wno-c++11-narrowing -Wno-deprecated-register -Wno-inconsistent-missing-override -Wno-tautological-compare -Wno-unknown-warning-option -std=c++11 -stdlib=libc++ -fno-rtti -fno-exceptions -fvisibility-inlines-hidden -fno-threadsafe-statics -fcolor-diagnostics -fno-strict-aliasing -Wobjc-missing-property-synthesis -fobjc-call-cxx-cdtors  -c /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.mm -o obj/src/3rdparty/chromium/device/bluetooth/device_bluetooth.bluetooth_socket_mac.o
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.mm:359:7: warning: 'IOBluetoothAddServiceDict' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
           [exec]       IOBluetoothAddServiceDict((CFDictionaryRef)service_definition,
           [exec]       ^
           [exec] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:231:17: note: 'IOBluetoothAddServiceDict' declared here
           [exec] extern IOReturn IOBluetoothAddServiceDict(CFDictionaryRef serviceDict, IOBluetoothSDPServiceRecordRef *outServiceRecord) DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER;
           [exec]                 ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.mm:378:5: warning: 'IOBluetoothRemoveServiceWithRecordHandle' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
           [exec]     IOBluetoothRemoveServiceWithRecordHandle(service_record_handle);
           [exec]     ^
           [exec] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:245:17: note: 'IOBluetoothRemoveServiceWithRecordHandle' declared here
           [exec] extern IOReturn IOBluetoothRemoveServiceWithRecordHandle( BluetoothSDPServiceRecordHandle serviceRecordHandle ) DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER;
           [exec]                 ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.mm:603:14: error: use of overloaded operator '=' is ambiguous (with operand types 'scoped_ptr<device::BluetoothChannelMac>' and 'scoped_ptr<device::BluetoothRfcommChannelMac>')
           [exec]     channel_ = BluetoothRfcommChannelMac::OpenAsync(
           [exec]     ~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/base/memory/scoped_ptr.h:241:3: note: candidate function has been explicitly deleted
           [exec]   DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(scoped_ptr)
           [exec]   ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/base/move.h:38:8: note: expanded from macro 'DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND'
           [exec]   void operator=(const type&) = delete;                         \
           [exec]        ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/base/memory/scoped_ptr.h:312:15: note: candidate function
           [exec]   scoped_ptr& operator=(scoped_ptr&& rhs) {
           [exec]               ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.mm:607:14: error: use of overloaded operator '=' is ambiguous (with operand types 'scoped_ptr<device::BluetoothChannelMac>' and 'scoped_ptr<device::BluetoothL2capChannelMac>')
           [exec]     channel_ =
           [exec]     ~~~~~~~~ ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/base/memory/scoped_ptr.h:241:3: note: candidate function has been explicitly deleted
           [exec]   DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND(scoped_ptr)
           [exec]   ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/base/move.h:38:8: note: expanded from macro 'DISALLOW_COPY_AND_ASSIGN_WITH_MOVE_FOR_BIND'
           [exec]   void operator=(const type&) = delete;                         \
           [exec]        ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/base/memory/scoped_ptr.h:312:15: note: candidate function
           [exec]   scoped_ptr& operator=(scoped_ptr&& rhs) {
           [exec]               ^
           [exec] /Users/updaterbuild/QtBuild/qt_build/qtwebengine/src/3rdparty/chromium/device/bluetooth/bluetooth_socket_mac.mm:941:3: warning: 'IOBluetoothRemoveServiceWithRecordHandle' is deprecated: first deprecated in OS X 10.9 [-Wdeprecated-declarations]
           [exec]   IOBluetoothRemoveServiceWithRecordHandle(service_record_handle_);
           [exec]   ^
           [exec] /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:245:17: note: 'IOBluetoothRemoveServiceWithRecordHandle' declared here
           [exec] extern IOReturn IOBluetoothRemoveServiceWithRecordHandle( BluetoothSDPServiceRecordHandle serviceRecordHandle ) DEPRECATED_IN_MAC_OS_X_VERSION_10_9_AND_LATER;
           [exec]                 ^
           [exec] 3 warnings and 2 errors generated.
           [exec] ninja: build stopped: subcommand failed.
           [exec] make[4]: *** [invoke_ninja] Error 1
           [exec] make[3]: *** [sub-gyp_run-pro-make_first] Error 2
           [exec] make[2]: *** [sub-core-make_first] Error 2
           [exec] make[1]: *** [sub-src-make_first] Error 2
           [exec] make: *** [module-qtwebengine-make_first] Error 2
      
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alexandru.croitor Alexandru Croitor
            cor3ntin Corentin Jabot
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes