Bug 1183714

Summary: GCC 11: fish package fails
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Liška <martin.liska>
Component: BasesystemAssignee: Simon Lees <simonf.lees>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
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-03-18 14:03:54 UTC
Fails here:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/fish/standard/x86_64

with:
[  185s] /home/abuild/rpmbuild/BUILD/fish-3.2.0/src/fd_monitor.cpp: In destructor 'fd_monitor_t::~fd_monitor_t()':
[  186s] /home/abuild/rpmbuild/BUILD/fish-3.2.0/src/fd_monitor.cpp:25:27: error: 'sleep_for' is not a member of 'std::this_thread'
[  186s]    25 |         std::this_thread::sleep_for(std::chrono::milliseconds(5));
[  186s]       |                           ^~~~~~~~~

there's a missing #include <thread>
Comment 1 Christophe Marin 2021-03-19 14:05:19 UTC
https://build.opensuse.org/request/show/879954 will fix it
Comment 2 Martin Liška 2021-03-26 09:58:38 UTC
Thanks. Fixed in devel project now.