Bug 1181861

Summary: GCC 11: Qt package failures
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: KDE Workspace (Plasma)Assignee: Fabian Vogt <fvogt>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: fvogt
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 1181859    

Description Martin Liška 2021-02-06 10:54:08 UTC
Some of the Qt packages fail with GCC 11 due to:
https://bugreports.qt.io/browse/QTBUG-90395

List of affected packages:

kio.log .:[  155s] /usr/include/qt5/QtCore/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
kitinerary.log .:[   71s] /usr/include/qt5/QtCore/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
libqt5-qtbase.log .:[  103s] ../include/QtCore/../../src/corelib/global/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
libqt5-qtconnectivity.log .:[   69s] /usr/include/qt5/QtCore/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
libqt5-qtmultimedia.log .:[  258s] /usr/include/qt5/QtCore/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
libqt5-qtwebsockets.log .:[   34s] /usr/include/qt5/QtCore/qfloat16.h:300:7: error: 'numeric_limits' is not a class template
Comment 1 Fabian Vogt 2021-02-08 10:04:33 UTC
Needed one more include than upstream: https://build.opensuse.org/request/show/870227

Same fix is probably needed for qt6-base as well.
Comment 2 OBSbugzilla Bot 2021-02-08 11:00:08 UTC
This is an autogenerated message for OBS integration:
This bug (1181861) was mentioned in
https://build.opensuse.org/request/show/870237 Factory / libqt5-qtbase
Comment 3 Martin Liška 2021-02-08 18:32:57 UTC
Fixed in devel project.
Comment 4 OBSbugzilla Bot 2021-05-28 13:00:03 UTC
This is an autogenerated message for OBS integration:
This bug (1181861) was mentioned in
https://build.opensuse.org/request/show/895976 Factory / libqt5-qtdoc