Created attachment 871210 [details] build.log In file included from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/util/rapidjson.hpp:3, from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/style/conversion/stringify.hpp:10, from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/style/properties.hpp:4, from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/style/paint_property.hpp:4, from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/programs/program.hpp:9, from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/programs/heatmap_texture_program.hpp:3, from /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/src/mbgl/programs/heatmap_texture_program.cpp:1: /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/document.h: In member function ‘rapidjson::GenericStringRef<CharType>& rapidjson::GenericStringRef<CharType>::operator=(const rapidjson::GenericStringRef<CharType>&)’: /var/tmp/portage/dev-qt/qtlocation-5.15.10/work/qtlocation-everywhere-src-5.15.10/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include/rapidjson/document.h:319:82: error: assignment of read-only location ‘((rapidjson::GenericStringRef<CharType>*)this)->rapidjson::GenericStringRef<CharType>::length’ 319 | GenericStringRef& operator=(const GenericStringRef& rhs) { s = rhs.s; length = rhs.length; } | ~~~~~~~^~~~~~~~~~~~ make: *** [Makefile:22361: .obj/src/mbgl/programs/heatmap_texture_program.o] Error 1 make: *** Waiting for unfinished jobs....
negril spotted the patch is https://github.com/Tencent/rapidjson/commit/3b2441b87f99ab65f37b141a7b548ebadb607b96.
Created attachment 871211 [details, diff] qtlocation-5.15-mapbox-gl-native-gcc-14-const-operator.patch
Note that I'm not going to bother trying to upstream this one after how https://codereview.qt-project.org/c/qt/qtlocation/+/454093 went.
Let's try a different upstream then?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c05fedbbc9a038058a634815b88fcf19df7ad396 commit c05fedbbc9a038058a634815b88fcf19df7ad396 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2023-09-26 09:12:22 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2023-09-26 10:01:39 +0000 dev-qt/qtlocation: Fix build with GCC-14 Bumping mapbox-gl-native to 4c88f2c0e61daa89f584a8a9a3eba210221c6920. Closes: https://bugs.gentoo.org/914581 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtlocation/Manifest | 1 + dev-qt/qtlocation/qtlocation-5.15.10-r1.ebuild | 58 ++++++++++++++++++++++++++ 2 files changed, 59 insertions(+)
thank you for handling it!