Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885431 - dev-qt/qtlocation-5.15.8: src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:9:24: error: found ‘:’ in nested-name-specifier, expected ‘::’
Summary: dev-qt/qtlocation-5.15.8: src/3rdparty/mapbox-gl-native/include/mbgl/util/geo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL: https://codereview.qt-project.org/c/q...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2022-12-11 08:33 UTC by HougeLangley
Modified: 2023-03-05 10:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build Log (qtlocation-fuill-build-log.log,452.82 KB, text/plain)
2022-12-11 08:33 UTC, HougeLangley
Details
emerge --info (emerge-info.log,5.87 KB, text/plain)
2022-12-11 08:34 UTC, HougeLangley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description HougeLangley 2022-12-11 08:33:23 UTC
x86_64-pc-linux-gnu-g++ -c -O2 -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\" -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/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native -I. -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/earcut/0.12.4/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/geojson/0.4.2/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/geometry/0.9.3/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/kdbush/0.1.1-1/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/optional/f27e7908 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/optional/f27e7908/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/polylabel/1.0.3 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/polylabel/1.0.3/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/protozero/1.5.2/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/rapidjson/1.1.0/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/shelf-pack/2.1.1/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/tao_tuple/28626e99/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/unique_resource/cba309e -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/unique_resource/cba309e/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/variant/1.1.4/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/vector-tile/1.0.2/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3 -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/deps/wagyu/0.4.3/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/platform/default -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/platform/qt -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/platform/qt/include -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/src -I/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/vendor/nunicode/include -I/usr/include/qt5/QtNetwork/5.15.7 -I/usr/include/qt5/QtNetwork/5.15.7/QtNetwork -I/usr/include/qt5/QtGui/5.15.7 -I/usr/include/qt5/QtGui/5.15.7/QtGui -I/usr/include/qt5/QtSql/5.15.7 -I/usr/include/qt5/QtSql/5.15.7/QtSql -I/usr/include/qt5/QtCore/5.15.7 -I/usr/include/qt5/QtCore/5.15.7/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/math/log2.o /var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/src/mbgl/math/log2.cpp
make: *** [Makefile:2544: .obj/platform/qt/src/qt_image.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from [01m[K/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/src/mbgl/tile/geometry_tile_data.hpp:3[m[K,
                 from [01m[K/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/src/mbgl/layout/merge_lines.hpp:3[m[K,
                 from [01m[K/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/src/mbgl/layout/merge_lines.cpp:1[m[K:
[01m[K/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:9:24:[m[K [01;31m[Kerror: [m[Kfound ‘[01m[K:[m[K’ in nested-name-specifier, expected ‘[01m[K::[m[K’
    9 | enum class FeatureType [01;31m[K:[m[K uint8_t {
      |                        [01;31m[K^[m[K
      |                        [32m[K::[m[K
[01m[K/var/tmp/portage/dev-qt/qtlocation-5.15.7/work/qtlocation-everywhere-src-5.15.7/src/3rdparty/mapbox-gl-native/include/mbgl/util/geometry.hpp:9:12:[m[K [01;31m[Kerror: [m[K‘[01m[KFeatureType[m[K’ has not been declared

Reproducible: Always
Comment 1 HougeLangley 2022-12-11 08:33:51 UTC
Created attachment 841331 [details]
Build Log
Comment 2 HougeLangley 2022-12-11 08:34:14 UTC
Created attachment 841333 [details]
emerge --info
Comment 3 Andreas Sturmlechner gentoo-dev 2022-12-11 09:28:52 UTC
Please make a better effort extracting actual error messages.

GCC-13, upstream patches welcome.
Comment 4 Andreas Sturmlechner gentoo-dev 2022-12-24 16:49:30 UTC
Sam, looks like you need to fix something in that codereview.

"Omission of Pick-to footer is probably incorrect"
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 16:50:15 UTC
(In reply to Andreas Sturmlechner from comment #4)
> Sam, looks like you need to fix something in that codereview.
> 
> "Omission of Pick-to footer is probably incorrect"

I tried to include it and it wasn't happy with that either, as the relevant branches don't exist.
Comment 6 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-24 16:51:23 UTC
(In reply to Sam James from comment #5)
> (In reply to Andreas Sturmlechner from comment #4)
> > Sam, looks like you need to fix something in that codereview.
> > 
> > "Omission of Pick-to footer is probably incorrect"
> 
> I tried to include it and it wasn't happy with that either, as the relevant
> branches don't exist.

(https://codereview.qt-project.org/c/qt/qtlocation-mapboxgl/+/446790/comment/2b54e22d_2790887d/)
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-01-22 02:44:21 UTC
Now trying to get it into qtlocation: https://codereview.qt-project.org/c/qt/qtlocation/+/454093.
Comment 8 Agostino Sarubbo gentoo-dev 2023-02-20 08:01:00 UTC
gcc13_tinderbox has reproduced this issue with version 5.15.8 - Updating summary.
Comment 9 Larry the Git Cow gentoo-dev 2023-03-05 10:19:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c15a18309c64c5713ef22cd1113192e69f6b23d

commit 1c15a18309c64c5713ef22cd1113192e69f6b23d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-03-05 09:48:53 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-03-05 10:19:37 +0000

    dev-qt/qtlocation: Fix build with GCC-13
    
    Closes: https://bugs.gentoo.org/885431
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 .../files/qtlocation-5.15.8-mapboxgl-gcc13.patch   | 51 ++++++++++++++++++++++
 dev-qt/qtlocation/qtlocation-5.15.8.ebuild         |  2 +
 2 files changed, 53 insertions(+)