https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-qt/qtlocation-5.15.16 fails to compile. Discovered on: amd64 (internal ref: ci) Info about the issue: https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Created attachment 911484 [details] build.log build log and emerge --info
In file included from /usr/include/unicode/ubidi.h:26, from /var/tmp/portage/dev-qt/qtlocation-5.15.16/work/qtlocation-everywhere-src-5.15.16/src/3rdparty/mapbox-gl-native/platform/default/bidi.cpp:4: /usr/include/unicode/localpointer.h:561:26: error: ‘auto’ parameter not permitted in this context 561 | template <typename Type, auto closeFunction> | ^~~~ /usr/include/unicode/localpointer.h:573:76: error: template argument 2 is invalid 573 | it LocalOpenPointer(std::unique_ptr<Type, decltype(closeFunction)> &&p) | ^ /usr/include/unicode/localpointer.h:583:78: error: template argument 2 is invalid 583 | ointer &operator=(std::unique_ptr<Type, decltype(closeFunction)> &&p) { | ^ /usr/include/unicode/localpointer.h:599:59: error: template argument 2 is invalid 599 | operator std::unique_ptr<Type, decltype(closeFunction)> () && { | ^ /usr/include/unicode/ubidi.h:579:1: note: invalid template non-type parameter 579 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi, ubidi_close); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:1674: .obj/platform/default/bidi.o] Error 1 make: *** Waiting for unfinished jobs.... * ERROR: dev-qt/qtlocation-5.15.16::gentoo failed (compile phase): * emake failed * C++14 vs C++17.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47968ab348d8360284aa5351502d61a39f1cd4d8 commit 47968ab348d8360284aa5351502d61a39f1cd4d8 Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2024-06-10 19:48:29 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2024-11-22 19:08:16 +0000 dev-qt/qtlocation: Re-apply >=dev-libs/icu-75 buildfix Bumping to MAPBOXGL_COMMIT=35d566724c48180c9a372c2ed50a253871a51574 that was already part of 5.15.14-r1. Closes: https://bugs.gentoo.org/944408 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> dev-qt/qtlocation/qtlocation-5.15.16-r1.ebuild | 59 ++++++++++++++++++++++++++ 1 file changed, 59 insertions(+)
*** Bug 944509 has been marked as a duplicate of this bug. ***