g++ -c -pipe -frecord-gcc-switches -Wall -g -O2 -fPIC -DPIC -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 -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. -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/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/src/mbgl/annotation/fill_annotation_impl.o src/mbgl/annotation/fill_annotation_impl.cpp In file included from include/mbgl/util/image.hpp:4, from platform/qt/src/qt_image.cpp:1: include/mbgl/util/geometry.hpp:9:24: error: found ':' in nested-name-specifier, expected '::' 9 | enum class FeatureType : uint8_t { | ^ | :: include/mbgl/util/geometry.hpp:9:12: error: 'FeatureType' has not been declared 9 | enum class FeatureType : uint8_t { | ^~~~~~~~~~~ include/mbgl/util/geometry.hpp:9:34: error: expected unqualified-id before '{' token 9 | enum class FeatureType : uint8_t { | ^ 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 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 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 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 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 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 [и ещё много нытья на тему FeatureType]
Полагаю, тогда бы что-то было в https://src.fedoraproject.org/rpms/qt5-qtlocation/tree/rawhide
В gentoo mapboxgl обновляют. Ща посмотрю.
Created attachment 13362 [details] патч
(Ответ для Sergey V Turchin на комментарий #1) > Полагаю, тогда бы что-то было в > https://src.fedoraproject.org/rpms/qt5-qtlocation/tree/rawhide Не обязательно. Например, крайний раз пакет могли (пере)собрать ещё до выпуска GCC 13 (26-го апреля сего года)
(Ответ для Sergey V Turchin на комментарий #2) > В gentoo mapboxgl обновляют. Ща посмотрю. Не обязательно так радикально, можно просто добавить include <cstdint> куда нужно (см. приложенный патч).
Ок, спасибо, ща приложу.
qt5-location-5.15.9-alt2 -> sisyphus: Thu Jun 01 2023 Sergey V Turchin <zerg@altlinux> 5.15.9-alt2 - fixed compilation with GCC 13 (thanks asheplyakov@alt) (closes: #46360)