Package: src:qtlocation-opensource-src
Version: 5.15.15+dfsg-2
Severity: important
User: debian-de...@lists.debian.org
Usertags: icu76
The package fails to build with icu 76.1-2 from experimental. The most
likely reason is that it's not built for the default C++17 standards,
and manually specifies an earlier standard.
The build log shows the package building with -std=c++1z, and failing.
In file included from /usr/include/unicode/ubidi.h:26,
from 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 | explicit LocalOpenPointer(std::unique_ptr<Type,
decltype(closeFunction)> &&p)
|
^
/usr/include/unicode/localpointer.h:583:78: error: template argument 2
is invalid
583 | LocalOpenPointer &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[5]: *** [Makefile:1787: .obj/platform/default/bidi.o] Error 1
make[5]: Leaving directory '/<<PKGBUILDDIR>>/src/3rdparty/mapbox-gl-native'