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

5.15.9 qtlocation: build fails with gcc 13.x

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • None
    • 5.15.9
    • Location
    • None
    • Linux/Wayland

    Description

      Looksl like qtlocaiton build fails with gcc 13.0.x

       

      make[4]: Entering directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/x86_64-redhat-linux-gnu/src/3rdparty/mapbox-gl-native'
      /usr/bin/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\" -O2 -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -fPIC -std=c++1y -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_NO_DEBUG -DQT_NETWORK_LIB -DQT_GUI_LIB -DQT_SQL_LIB -DQT_CORE_LIB -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native -I. -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/optional/f27e7908 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/optional/f27e7908/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/polylabel/1.0.3 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/polylabel/1.0.3/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/unique_resource/cba309e -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/unique_resource/cba309e/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3 -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/platform/default -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/platform/qt -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/platform/qt/include -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/src -I/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/vendor/nunicode/include -I/usr/include/qt5/QtNetwork/5.15.9 -I/usr/include/qt5/QtNetwork/5.15.9/QtNetwork -I/usr/include/qt5/QtGui/5.15.9 -I/usr/include/qt5/QtGui/5.15.9/QtGui -I/usr/include/qt5/QtSql/5.15.9 -I/usr/include/qt5/QtSql/5.15.9/QtSql -I/usr/include/qt5/QtCore/5.15.9 -I/usr/include/qt5/QtCore/5.15.9/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtSql -I/usr/include/qt5/QtCore -I.moc -I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/platform/qt/src/qt_image.o /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/platform/qt/src/qt_image.cpp
      In file included from /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/image.hpp:4,
                       from /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/platform/qt/src/qt_image.cpp:1:
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:9:24: error: found ‘:’ in nested-name-specifier, expected ‘::’
          9 | enum class FeatureType : uint8_t {
            |                        ^
            |                        ::
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:9:12: error: ‘FeatureType’ has not been declared
          9 | enum class FeatureType : uint8_t {
            |            ^~~~~~~~~~~
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:9:34: error: expected unqualified-id before ‘{’ token
          9 | enum class FeatureType : uint8_t {
            |                                  ^
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:47:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         47 |     FeatureType operator()(const Point<T> &) const { return FeatureType::Point; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:49:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         49 |     FeatureType operator()(const MultiPoint<T> &) const { return FeatureType::Point; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:51:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         51 |     FeatureType operator()(const LineString<T> &) const { return FeatureType::LineString; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:53:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         53 |     FeatureType operator()(const MultiLineString<T> &) const { return FeatureType::LineString; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:55:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         55 |     FeatureType operator()(const Polygon<T> &) const { return FeatureType::Polygon; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:57:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         57 |     FeatureType operator()(const MultiPolygon<T> &) const { return FeatureType::Polygon; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      /home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:59:5: error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
         59 |     FeatureType operator()(const mapbox::geometry::geometry_collection<T> &) const { return FeatureType::Unknown; }
            |     ^~~~~~~~~~~
            |     ToFeatureType
      make[4]: *** [Makefile:2310: .obj/platform/qt/src/qt_image.o] Error 1
      make[4]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/x86_64-redhat-linux-gnu/src/3rdparty/mapbox-gl-native'
      make[3]: *** [Makefile:203: sub-------3rdparty-mapbox-gl-native-make_first] Error 2
      make[3]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/x86_64-redhat-linux-gnu/src/plugins/geoservices'
      make[2]: *** [Makefile:73: sub-geoservices-make_first] Error 2
      make[2]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/x86_64-redhat-linux-gnu/src/plugins'
      make[1]: *** [Makefile:234: sub-plugins-make_first] Error 2
      make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.9/x86_64-redhat-linux-gnu/src'
      make: *** [Makefile:49: sub-src-make_first] Error 2
       

      Attachments

        Issue Links

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

          Activity

            People

              paangele Paolo Angelelli
              kloczek Tomasz Kloczko
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes