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

qtlocation 5.15.14 fails to build on macos

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15.14
    • None
    • macOS Ventura 13.3 (22E252)
      Xcode Version 14.3 (14E222b)
    • macOS

    Description

      Spin off from QTBUG-112906

      Checkout qtbase, qtdeclarative, qtlocation v5.15.14 tag.

      Configure on macos targeting both architectures with:

      MAKEFLAGS=-j16 ../../../qt/5.15/configure -opensource -confirm-license -nomake examples -nomake tests QMAKE_APPLE_DEVICE_ARCHS="x86_64 arm64" -prefix $PWD
      make -j16
      

      Fails in $build_dir/qtlocation/src/3rdparty/mapbox-gl-native with:

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -stdlib=libc++ -DNDEBUG -DQT_IMAGE_DECODERS -DQT_BUILD_MAPBOXGL_LIB -DRAPIDJSON_HAS_STDSTRING=1 -DMBGL_USE_GLES2 -D__QT__ -O3 -ftemplate-depth=1024 -fvisibility-inlines-hidden -fvisibility=hidden -DMBGL_VERSION_REV=\"qt-v1.5.0\" -g -fPIC -std=c++1y  -arch x86_64  -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk -mmacosx-version-min=10.13 -w -fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_COMPILER_SUPPORTS_SSE2 -DQT_COMPILER_SUPPORTS_NEON -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DGL_SILENCE_DEPRECATION -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native -I. -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/optional/f27e7908 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/optional/f27e7908/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/polylabel/1.0.3 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/polylabel/1.0.3/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/unique_resource/cba309e -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/unique_resource/cba309e/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3 -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/platform/default -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/platform/qt/include -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/src -I/Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/vendor/nunicode/include -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtNetwork/5.15.14 -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtNetwork/5.15.14/QtNetwork -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtGui/5.15.14 -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtGui/5.15.14/QtGui -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtSql/5.15.14 -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtSql/5.15.14/QtSql -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtCore/5.15.14 -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtCore/5.15.14/QtCore -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtNetwork -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtGui -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtSql -I/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/include/QtCore -I.moc/debug -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/OpenGL.framework/Headers -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.3.sdk/System/Library/Frameworks/AGL.framework/Headers -I/Volumes/T3/Dev/qt/worktrees/5.15/qtbase/mkspecs/macx-clang -F/Volumes/T3/Dev/qt/builds/5.15.14-mac/qtbase/lib -o .obj/debug/src/mbgl/renderer/layers/render_background_layer.o /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/render_background_layer.cpp
      In file included from /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/render_background_layer.cpp:1:
      In file included from /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/layers/render_background_layer.hpp:3:
      In file included from /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/renderer/render_layer.hpp:4:
      In file included from /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/style/layer_impl.hpp:3:
      In file included from /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/style/layer.hpp:4:
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:51:31: error: no member named 'move' in namespace 'std'
                  vtable->move(std::move(rhs.storage), storage);
                               ~~~~~^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:69:25: error: no member named 'move' in namespace 'std'
              unique_any(std::move(rhs)).swap(*this);
                         ~~~~~^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:91:33: error: no type named 'move' in namespace 'std'
                  unique_any tmp(std::move(rhs));
                                 ~~~~~^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:94:39: error: no member named 'move' in namespace 'std'
                      rhs.vtable->move(std::move(storage), rhs.storage);
                                       ~~~~~^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:98:35: error: no member named 'move' in namespace 'std'
                      vtable->move(std::move(tmp.storage), storage);
                                   ~~~~~^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:154:41: error: no member named 'move' in namespace 'std'; did you mean simply 'move'?
                  new (&dest.stack) ValueType(std::move(reinterpret_cast<ValueType&>(src.stack)));
                                              ^~~~~~~~~
                                              move
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:153:14: note: 'move' declared here
              void move(Storage&& src, Storage& dest) override {
                   ^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:257:49: error: no member named 'move' in namespace 'std'
          auto retValue = static_cast<ValueType>(std::move(*temp));
                                                 ~~~~~^
      /Volumes/T3/Dev/qt/worktrees/5.15/qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/unique_any.hpp:259:17: error: no member named 'move' in namespace 'std'
          return std::move(retValue);
                 ~~~~~^
      8 errors generated.
      make[1]: *** [.obj/debug/src/mbgl/renderer/layers/render_background_layer.o] Error 1
      make: *** [debug-all] Error 2
      

      Attachments

        Issue Links

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

          Activity

            People

              ablasche Alex Blasche
              alexandru.croitor Alexandru Croitor
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes