View Issue Details

IDProjectCategoryView StatusLast Update
0001388bareos-core[All Projects] regression testingpublic2021-09-29 16:46
ReportermschiffAssigned Tobruno-at-bareos 
Status assignedResolutionopen 
PlatformLinuxOSanyOS Version3
Product Version19.2.11 
Fixed in Version 
Summary0001388: /.../ error: sleep_for is not a member of std::this_thread (maybe gcc-11 related)
DescriptionIt seems like the tests do not build when using gcc-11:

/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-Release-19.2.9/core/src/tests/ In function ‘void WaitThenUnreserve(std::unique_ptr<TestJob>&)’:
/var/tmp/portage/app-backup/bareos-19.2.9/work/bareos-Release-19.2.9/core/src/tests/ error: ‘sleep_for’ is not a member of ‘std::this_thread’
  147 | std::this_thread::sleep_for(std::chrono::milliseconds(10));
      | ^~~~~~~~~
ninja: build stopped: subcommand failed.
Additional InformationPlease see:
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action




2021-09-29 13:58

developer   ~0004288

Would you mind to test with the new 19.2.11 release or even with the not released yet branch-12.2
Building here with gcc-11 under openSUSE Tumbleweed works as expected.

Issue History

Date Modified Username Field Change
2021-09-20 12:02 mschiff New Issue
2021-09-29 13:58 bruno-at-bareos Note Added: 0004288
2021-09-29 16:46 bruno-at-bareos Assigned To => bruno-at-bareos
2021-09-29 16:46 bruno-at-bareos Status new => assigned