Project

General

Profile

Actions

Bug #62203

open

gcc-+12: FTBFS random_shuffle is deprecated: use 'std::shuffle' instead

Added by Matan Breizman 9 months ago. Updated 9 months ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Category:
build
Target version:
% Done:

0%

Source:
Q/A
Tags:
backport_processed
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

https://jenkins.ceph.com/job/ceph-pull-requests/119026/
https://jenkins.ceph.com/job/ceph-pull-requests/119029/

/home/jenkins-build/build/workspace/ceph-pull-requests/src/test/osd/TestOSDMap.cc:2352:16: error: 'random_shuffle<__gnu_cxx::__normal_iterator<unsigned int *, std::vector<unsigned int>>>' is deprecated: use 'std::shuffle' instead [-Werror,-Wdeprecated-declarations]

Reported by Leonid Usov.


Related issues 1 (0 open1 closed)

Copied to Ceph - Backport #62275: reef: gcc-+12: FTBFS random_shuffle is deprecated: use 'std::shuffle' instead ResolvedLaura FloresActions
Actions #1

Updated by Leonid Usov 9 months ago

  • Assignee set to Leonid Usov
Actions #2

Updated by Leonid Usov 9 months ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 52675
Actions #3

Updated by Patrick Donnelly 9 months ago

  • Category set to build
  • Status changed from Fix Under Review to Pending Backport
  • Target version set to v19.0.0
  • Source set to Q/A
  • Backport set to reef
Actions #4

Updated by Backport Bot 9 months ago

  • Copied to Backport #62275: reef: gcc-+12: FTBFS random_shuffle is deprecated: use 'std::shuffle' instead added
Actions #5

Updated by Backport Bot 9 months ago

  • Tags set to backport_processed
Actions #6

Updated by Casey Bodley 9 months ago

i don't think the use of gcc-12 was intended - i may be responsible for this regression by opening https://github.com/ceph/ceph/pull/52640. that would have enabled gcc-12 on any jenkins nodes that ran 'make check' against it

Actions #7

Updated by Casey Bodley 9 months ago

Casey Bodley wrote:

i don't think the use of gcc-12 was intended - i may be responsible for this regression by opening https://github.com/ceph/ceph/pull/52640. that would have enabled gcc-12 on any jenkins nodes that ran 'make check' against it

gcc-12 should now be removed from any jenkins nodes that had it unintentionally

Actions

Also available in: Atom PDF