Bug 1185100

Summary: GCC 11: libqt5-qtdeclarative package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: KDE Workspace (Plasma)Assignee: E-Mail List <opensuse-kde-bugs>
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-04-21 14:41:13 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/libqt5-qtdeclarative/standard/x86_64

with:
[   68s] /home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/src/3rdparty/masm/yarr/Yarr.h:46:44: error: 'numeric_limits' is not a member of 'std'
[   68s]    46 | static const unsigned offsetNoMatch = std::numeric_limits<unsigned>::max();
[   68s]       |                                            ^~~~~~~~~~~~~~
[   68s] /home/abuild/rpmbuild/BUILD/qtdeclarative-everywhere-src-5.15.2/src/3rdparty/masm/yarr/Yarr.h:46:59: error: expected primary-expression before 'unsigned'
[   68s]    46 | static const unsigned offsetNoMatch = std::numeric_limits<unsigned>::max();
[   68s]       |                                                           ^~~~~~~~
Comment 1 Fabian Vogt 2021-04-22 14:39:43 UTC
Upstream bug report is https://bugreports.qt.io/browse/QTBUG-89977.

It's not fixed in dev either, so for now we'll have to do it downstream.
For Yarr.h, it's not even fixed in upstream WebKit, so I'm not quite sure to proceed there. For now I'd just add a downstream patch for both and let offload it to upstream.
Comment 2 OBSbugzilla Bot 2021-04-22 15:30:03 UTC
This is an autogenerated message for OBS integration:
This bug (1185100) was mentioned in
https://build.opensuse.org/request/show/887816 Factory / libqt5-qtdeclarative
Comment 3 Christophe Marin 2021-04-22 16:28:40 UTC
fixed in devel project