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

gcc 10 error in qtlocation because of old version of libboost in deps

    XMLWordPrintable

Details

    • d7e368c42f2ac7971e81f60b981e566352f1e4fa

    Description

      cd ../../3rdparty/mapbox-gl-native/ && ( test -e Makefile || /home/usta/kde/src/qt5/qtbase/bin/qmake -o Makefile /home/usta/kde/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native/mapbox-gl-native.pro ) && gmake -f Makefile 
      gmake[5]: Entering directory '/home/usta/kde/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native'
      g++ -c -pipe -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 -Og -fPIC -std=c++2a -w -D_REENTRANT -fvisibility=hidden -fvisibility-inlines-hidden -DQT_NO_LINKED_LIST -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_LINKED_LIST -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I. -Ideps/boost/1.65.1 -Ideps/boost/1.65.1/include -Ideps/earcut/0.12.4 -Ideps/earcut/0.12.4/include -Ideps/geojson/0.4.2 -Ideps/geojson/0.4.2/include -Ideps/geojsonvt/6.5.1 -Ideps/geojsonvt/6.5.1/include -Ideps/geometry/0.9.3 -Ideps/geometry/0.9.3/include -Ideps/kdbush/0.1.1-1 -Ideps/kdbush/0.1.1-1/include -Ideps/optional/f27e7908 -Ideps/optional/f27e7908/include -Ideps/polylabel/1.0.3 -Ideps/polylabel/1.0.3/include -Ideps/protozero/1.5.2 -Ideps/protozero/1.5.2/include -Ideps/rapidjson/1.1.0 -Ideps/rapidjson/1.1.0/include -Ideps/shelf-pack/2.1.1 -Ideps/shelf-pack/2.1.1/include -Ideps/supercluster/0.2.2 -Ideps/supercluster/0.2.2/include -Ideps/tao_tuple/28626e99 -Ideps/tao_tuple/28626e99/include -Ideps/unique_resource/cba309e -Ideps/unique_resource/cba309e/include -Ideps/variant/1.1.4 -Ideps/variant/1.1.4/include -Ideps/vector-tile/1.0.2 -Ideps/vector-tile/1.0.2/include -Ideps/wagyu/0.4.3 -Ideps/wagyu/0.4.3/include -Iinclude -Iplatform/default -Iplatform/qt -Iplatform/qt/include -Isrc -Ivendor/nunicode/include -I/home/usta/kde/src/qt5/qtbase/include/QtNetwork/5.15.0 -I/home/usta/kde/src/qt5/qtbase/include/QtNetwork/5.15.0/QtNetwork -I/home/usta/kde/src/qt5/qtbase/include/QtGui/5.15.0 -I/home/usta/kde/src/qt5/qtbase/include/QtGui/5.15.0/QtGui -I/home/usta/kde/src/qt5/qtbase/include/QtSql/5.15.0 -I/home/usta/kde/src/qt5/qtbase/include/QtSql/5.15.0/QtSql -I/home/usta/kde/src/qt5/qtbase/include/QtCore/5.15.0 -I/home/usta/kde/src/qt5/qtbase/include/QtCore/5.15.0/QtCore -I/home/usta/kde/src/qt5/qtbase/include -I/home/usta/kde/src/qt5/qtbase/include/QtNetwork -I/home/usta/kde/src/qt5/qtbase/include/QtGui -I/home/usta/kde/src/qt5/qtbase/include/QtSql -I/home/usta/kde/src/qt5/qtbase/include/QtCore -I.moc -I/home/usta/kde/src/qt5/qtbase/mkspecs/linux-g++ -o .obj/src/mbgl/annotation/annotation_manager.o src/mbgl/annotation/annotation_manager.cpp
      In file included from deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/node/node.hpp:28,
                       from deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:55,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/within/multi_point.hpp:34,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/within/implementation.hpp:44,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/covered_by/implementation.hpp:26,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/covered_by.hpp:24,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp:42,
                       from deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp:25,
                       from deps/boost/1.65.1/include/boost/geometry/strategies/strategies.hpp:56,
                       from deps/boost/1.65.1/include/boost/geometry/geometry.hpp:50,
                       from deps/boost/1.65.1/include/boost/geometry.hpp:17,
                       from src/mbgl/annotation/symbol_annotation_impl.hpp:24,
                       from src/mbgl/annotation/annotation_manager.hpp:4,
                       from src/mbgl/annotation/annotation_manager.cpp:1:
      deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/node/variant_static.hpp: In instantiation of ‘class boost::geometry::index::detail::rtree::allocators<std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >, std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4>, boost::geometry::model::box<boost::geometry::model::point<double, 2, boost::geometry::cs::cartesian> >, boost::geometry::index::detail::rtree::node_variant_static_tag>’:
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:199:52:   required from ‘class boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >’
      src/mbgl/annotation/annotation_manager.hpp:81:26:   required from here
      deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/node/variant_static.hpp:82:7: error: no class template named ‘rebind’ in ‘class std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >’
         82 | class allocators<Allocator, Value, Parameters, Box, node_variant_static_tag>
            |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/node/variant_static.hpp:93:14: error: no class template named ‘rebind’ in ‘class std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >’
         93 |     >::other value_allocator_type;
            |              ^~~~~~~~~~~~~~~~~~~~
      deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/node/variant_static.hpp:108:23: error: no class template named ‘rebind’ in ‘class std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >’
        108 |     >::other::pointer node_pointer;
            |                       ^~~~~~~~~~~~
      deps/boost/1.65.1/include/boost/geometry/index/detail/rtree/node/variant_static.hpp:112:14: error: no class template named ‘rebind’ in ‘class std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >’
        112 |     >::other node_allocator_type;
            |              ^~~~~~~~~~~~~~~~~~~
      src/mbgl/annotation/annotation_manager.cpp: In member function ‘void mbgl::AnnotationManager::remove(const AnnotationID&)’:
      src/mbgl/annotation/annotation_manager.cpp:123:20: error: ‘using SymbolAnnotationTree = class boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >’ {aka ‘class boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >’} has no member named ‘remove’
        123 |         symbolTree.remove(symbolAnnotations.at(id));
            |                    ^~~~~~
      src/mbgl/annotation/annotation_manager.cpp: In member function ‘std::unique_ptr<mbgl::AnnotationTileData> mbgl::AnnotationManager::getTileData(const mbgl::CanonicalTileID&)’:
      src/mbgl/annotation/annotation_manager.cpp:144:16: error: ‘using SymbolAnnotationTree = class boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >’ {aka ‘class boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >’} has no member named ‘query’
        144 |     symbolTree.query(boost::geometry::index::intersects(tileBounds),
            |                ^~~~~
      In file included from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/within/multi_point.hpp:34,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/within/implementation.hpp:44,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/covered_by/implementation.hpp:26,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/covered_by.hpp:24,
                       from deps/boost/1.65.1/include/boost/geometry/algorithms/detail/distance/point_to_geometry.hpp:42,
                       from deps/boost/1.65.1/include/boost/geometry/strategies/cartesian/centroid_weighted_length.hpp:25,
                       from deps/boost/1.65.1/include/boost/geometry/strategies/strategies.hpp:56,
                       from deps/boost/1.65.1/include/boost/geometry/geometry.hpp:50,
                       from deps/boost/1.65.1/include/boost/geometry.hpp:17,
                       from src/mbgl/annotation/symbol_annotation_impl.hpp:24,
                       from src/mbgl/annotation/annotation_manager.hpp:4,
                       from src/mbgl/annotation/annotation_manager.cpp:1:
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp: In instantiation of ‘void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::insert(const ConvertibleOrRange&) [with ConvertibleOrRange = std::shared_ptr<mbgl::SymbolAnnotationImpl>; Value = std::shared_ptr<const mbgl::SymbolAnnotationImpl>; Parameters = boost::geometry::index::rstar<16, 4>; IndexableGetter = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; EqualTo = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; Allocator = std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >]’:
      src/mbgl/annotation/annotation_manager.cpp:64:27:   required from here
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:629:25: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘root’
        629 |         if ( !m_members.root )
            |               ~~~~~~~~~~^~~~
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp: In instantiation of ‘boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::members_holder::members_holder(const IndGet&, const ValEq&, const Parameters&) [with IndGet = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; ValEq = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; Value = std::shared_ptr<const mbgl::SymbolAnnotationImpl>; Parameters = boost::geometry::index::rstar<16, 4>; IndexableGetter = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; EqualTo = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; Allocator = std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >]’:
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:251:46:   required from ‘boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::rtree(const parameters_type&, const indexable_getter&, const value_equal&) [with Value = std::shared_ptr<const mbgl::SymbolAnnotationImpl>; Parameters = boost::geometry::index::rstar<16, 4>; IndexableGetter = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; EqualTo = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; Allocator = std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::parameters_type = boost::geometry::index::rstar<16, 4>; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::indexable_getter = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::value_equal = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >]’
      src/mbgl/annotation/annotation_manager.cpp:25:23:   required from here
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1753:21: error: using invalid field ‘boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::members_holder::values_count’
       1753 |             , root(0)
            |                     ^
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1753:21: error: using invalid field ‘boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::members_holder::leafs_level’
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1753:21: error: using invalid field ‘boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::members_holder::root’
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp: In instantiation of ‘void boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::raw_destroy(boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>&) [with Value = std::shared_ptr<const mbgl::SymbolAnnotationImpl>; Parameters = boost::geometry::index::rstar<16, 4>; IndexableGetter = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; EqualTo = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; Allocator = std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >]’:
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:345:15:   required from ‘boost::geometry::index::rtree<Value, Options, IndexableGetter, EqualTo, Allocator>::~rtree() [with Value = std::shared_ptr<const mbgl::SymbolAnnotationImpl>; Parameters = boost::geometry::index::rstar<16, 4>; IndexableGetter = boost::geometry::index::indexable<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; EqualTo = boost::geometry::index::equal_to<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >; Allocator = std::allocator<std::shared_ptr<const mbgl::SymbolAnnotationImpl> >]’
      src/mbgl/annotation/annotation_manager.cpp:25:23:   required from here
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1524:26: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘root’
       1524 |         if ( t.m_members.root )
            |              ~~~~~~~~~~~~^~~~
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1527:35: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘root’
       1527 |                 del_v(t.m_members.root, t.m_members.allocators());
            |                       ~~~~~~~~~~~~^~~~
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1528:62: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘root’
       1528 |             detail::rtree::apply_visitor(del_v, *t.m_members.root);
            |                                                  ~~~~~~~~~~~~^~~~
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1530:25: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘root’
       1530 |             t.m_members.root = 0;
            |             ~~~~~~~~~~~~^~~~
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1532:21: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘values_count’
       1532 |         t.m_members.values_count = 0;
            |         ~~~~~~~~~~~~^~~~~~~~~~~~
      deps/boost/1.65.1/include/boost/geometry/index/rtree.hpp:1533:21: error: ‘struct boost::geometry::index::rtree<std::shared_ptr<const mbgl::SymbolAnnotationImpl>, boost::geometry::index::rstar<16, 4> >::members_holder’ has no member named ‘leafs_level’
       1533 |         t.m_members.leafs_level = 0;
            |         ~~~~~~~~~~~~^~~~~~~~~~~
      gmake[5]: *** [Makefile:9203: .obj/src/mbgl/annotation/annotation_manager.o] Error 1
      gmake[5]: Leaving directory '/home/usta/kde/src/qt5/qtlocation/src/3rdparty/mapbox-gl-native'
      gmake[4]: *** [Makefile:203: sub-------3rdparty-mapbox-gl-native-make_first] Error 2
      gmake[4]: Leaving directory '/home/usta/kde/src/qt5/qtlocation/src/plugins/geoservices'
      gmake[3]: *** [Makefile:73: sub-geoservices-make_first] Error 2
      gmake[3]: Leaving directory '/home/usta/kde/src/qt5/qtlocation/src/plugins'
      gmake[2]: *** [Makefile:234: sub-plugins-make_first] Error 2
      gmake[2]: Leaving directory '/home/usta/kde/src/qt5/qtlocation/src'
      gmake[1]: *** [Makefile:49: sub-src-make_first] Error 2
      gmake[1]: Leaving directory '/home/usta/kde/src/qt5/qtlocation'
      
      

      Attachments

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

        Activity

          People

            paangele Paolo Angelelli
            usta Ömer Fadıl USTA
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes