Bug ID 1224376
Summary libqt5-qtlocation failing to build with ICU 75
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Other
Assignee screening-team-bugs@suse.de
Reporter ana.guerrero@suse.com
QA Contact qa-bugs@suse.de
Target Milestone ---
Found By ---
Blocker ---

libqt5-qtlocation is failing to build with ICU 75 (
https://build.opensuse.org/request/show/1171459 )

Build log shows:

[  183s] g++ -c -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3
-fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables
-fstack-clash-protection -Werror=return-type -flto=auto -ffat-lto-objects -g
-DOPENSSL_LOAD_CONF -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\" -O2 -g -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. -Ideps/boost/1.65.1 -Ideps/boost/1.65.1/include
-Ideps/earcut/0.12.4 -Ideps/earcut/0.12.4/include -Ideps/geojson/0.4.2
-Ideps/geojson/0.4.2/include -Ideps/geojsonvt/6.5.1
-Ideps/geojsonvt/6.5.1/include -Ideps/geometry/0.9.3
-Ideps/geometry/0.9.3/include -Ideps/kdbush/0.1.1-1
-Ideps/kdbush/0.1.1-1/include -Ideps/optional/f27e7908
-Ideps/optional/f27e7908/include -Ideps/polylabel/1.0.3
-Ideps/polylabel/1.0.3/include -Ideps/protozero/1.5.2
-Ideps/protozero/1.5.2/include -Ideps/rapidjson/1.1.0
-Ideps/rapidjson/1.1.0/include -Ideps/shelf-pack/2.1.1
-Ideps/shelf-pack/2.1.1/include -Ideps/supercluster/0.2.2
-Ideps/supercluster/0.2.2/include -Ideps/tao_tuple/28626e99
-Ideps/tao_tuple/28626e99/include -Ideps/unique_resource/cba309e
-Ideps/unique_resource/cba309e/include -Ideps/variant/1.1.4
-Ideps/variant/1.1.4/include -Ideps/vector-tile/1.0.2
-Ideps/vector-tile/1.0.2/include -Ideps/wagyu/0.4.3 -Ideps/wagyu/0.4.3/include
-Iinclude -Iplatform/default -Iplatform/qt -Iplatform/qt/include -Isrc
-Ivendor/nunicode/include -I/usr/include/qt5/QtNetwork/5.15.13
-I/usr/include/qt5/QtNetwork/5.15.13/QtNetwork -I/usr/include/qt5/QtGui/5.15.13
-I/usr/include/qt5/QtGui/5.15.13/QtGui -I/usr/include/qt5/QtSql/5.15.13
-I/usr/include/qt5/QtSql/5.15.13/QtSql -I/usr/include/qt5/QtCore/5.15.13
-I/usr/include/qt5/QtCore/5.15.13/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/include/pgsql/
-I/usr/include/pgsql/server -I/usr/include/mysql/
-I/usr/lib64/qt5/mkspecs/linux-g++ -o .obj/platform/default/bidi.o
platform/default/bidi.cpp
[  184s] In file included from /usr/include/unicode/ubidi.h:26,
[  184s]                  from platform/default/bidi.cpp:4:
[  184s] /usr/include/unicode/localpointer.h:561:26: error: ‘auto’
parameter not permitted in this context
[  184s]   561 | template <typename Type, auto closeFunction>
[  184s]       |                          ^~~~
[  184s] /usr/include/unicode/localpointer.h:573:76: error: template argument 2
is invalid
[  184s]   573 |     explicit LocalOpenPointer(std::unique_ptr<Type,
decltype(closeFunction)> &&p)
[  184s]       |                                                               
            ^
[  184s] /usr/include/unicode/localpointer.h:583:78: error: template argument 2
is invalid
[  184s]   583 |     LocalOpenPointer &operator=(std::unique_ptr<Type,
decltype(closeFunction)> &&p) {
[  184s]       |                                                               
              ^
[  184s] /usr/include/unicode/localpointer.h:599:59: error: template argument 2
is invalid
[  184s]   599 |     operator std::unique_ptr<Type, decltype(closeFunction)> ()
&& {
[  184s]       |                                                           ^
[  184s] /usr/include/unicode/ubidi.h:579:1: note: invalid template non-type
parameter
[  184s]   579 | U_DEFINE_LOCAL_OPEN_POINTER(LocalUBiDiPointer, UBiDi,
ubidi_close);
[  184s]       | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
[  184s] make[4]: *** [Makefile:1773: .obj/platform/default/bidi.o] Error 1
[  184s] make[4]: Leaving directory
'/home/abuild/rpmbuild/BUILD/qtlocation-everywhere-src-5.15.13+kde6/src/3rdparty/mapbox-gl-native'
[  184s] make[3]: *** [Makefile:203:
sub-------3rdparty-mapbox-gl-native-make_first] Error 2

In other packages failing to build against ICU 75, the solution was forcing a
higher version of the C++ standard. For example see
https://build.opensuse.org/request/show/1172132


You are receiving this mail because: