#18019 closed enhancement (fixed)
Qt5 FTBFS with GCC-13
Reported by: | pierre | Owned by: | pierre |
---|---|---|---|
Priority: | normal | Milestone: | 12.0 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Description (last modified by ) ¶
Report by Rahul Chandra on blfs-dev list:
Hi, It seems like GCC-13 broke the QT 5 build, as far as I can see it's because some implicit declarations got removed in GCC 13. I think all you would need to do to fix this is to regenerate the QT5 KDE Patch as it has already been upstreamed in KDE's repo.
The build errors out with errors like this
error: ‘FeatureType’ does not name a type; did you mean ‘ToFeatureType’?
Relevant links https://bugreports.qt.io/projects/QTBUG/issues/QTBUG-113111?filter=allissues https://invent.kde.org/qt/qt/qtlocation-mapboxgl/-/merge_requests/1
Change History (7)
comment:1 by , 2 years ago
Description: | modified (diff) |
---|
comment:2 by , 2 years ago
Description: | modified (diff) |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 2 years ago
Description: | modified (diff) |
---|
Hmm, I inadvertently changed back the description. Sorry. Changing again...
comment:4 by , 2 years ago
Looks like the following sed's allows building:
sed -e "/pragma once/a#include <cstdint>" \ -i qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/{geometry,string}.hpp sed -e "/pragma once/a#include <cstdint>" \ -i qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp
comment:5 by , 2 years ago
Better (thanks Bruce):
sed -e "/pragma once/a#include <cstdint>" \ -i qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp \ qtlocation/src/3rdparty/mapbox-gl-native/include/mbgl/util/string.hpp \ qtlocation/src/3rdparty/mapbox-gl-native/src/mbgl/gl/stencil_mode.hpp
comment:6 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed at commit da60874cd1b
Testing if it is reproducible first