View Issue Details

IDProjectCategoryView StatusLast Update
0001388bareos-core[All Projects] regression testingpublic2021-11-29 09:12
ReportermschiffAssigned Tobruno-at-bareos 
PrioritynormalSeverityblockReproducibilityalways
Status resolvedResolutionno change required 
PlatformLinuxOSanyOS Version3
Product Version19.2.11 
Fixed in Version 
Summary0001388: /.../sd_reservation.cc: 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/sd_reservation.cc: 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/sd_reservation.cc:147:21: 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: https://bugs.gentoo.org/786789
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

Activities

bruno-at-bareos

bruno-at-bareos

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.
bruno-at-bareos

bruno-at-bareos

2021-11-10 10:05

developer   ~0004328

Hello, did you make any progress on this ?

As 19.2 will be soon obsoleted, did you try to compile version 20 ?
mschiff

mschiff

2021-11-27 12:23

reporter   ~0004368

Hi!

Sorry for the late answer. All current version build fine with gcc-11 here:
 - 18.2.12
 - 19.2.11
 - 20.0.3

Thanks!
bruno-at-bareos

bruno-at-bareos

2021-11-29 09:11

developer   ~0004369

Ok thanks I will close then,
bruno-at-bareos

bruno-at-bareos

2021-11-29 09:12

developer   ~0004370

Gentoo get gcc11 fixed

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
2021-11-10 10:05 bruno-at-bareos Note Added: 0004328
2021-11-27 12:23 mschiff Note Added: 0004368
2021-11-29 09:11 bruno-at-bareos Note Added: 0004369
2021-11-29 09:12 bruno-at-bareos Status assigned => resolved
2021-11-29 09:12 bruno-at-bareos Resolution open => no change required
2021-11-29 09:12 bruno-at-bareos Note Added: 0004370