Project

General

Profile

Actions

Bug #42471

closed

Ambigous bitset selection with FreeBSD libc++

Added by Willem Jan Withagen over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, mimic, luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

During release FreeBSD package building on the build-cluster I get the following:

In file included from /wrkdirs/usr/ports/net/ceph14/work/ceph-14.2.4/src/cls/otp/cls_otp_client.cc:25:
In file included from /wrkdirs/usr/ports/net/ceph14/work/ceph-14.2.4/src/rgw/rgw_common.h:28:
/wrkdirs/usr/ports/net/ceph14/work/ceph-14.2.4/src/rgw/rgw_iam_policy.h:123:18: error: reference to 'bitset' is ambiguous
using Action_t = bitset<allCount>;
^
/usr/include/sys/_bitset.h:64:15: note: candidate found by name lookup is 'bitset'
BITSET_DEFINE(bitset, 1);
^
/usr/include/c++/v1/bitset:667:28: note: candidate found by name lookup is 'std::__1::bitset'
class _LIBCPP_TEMPLATE_VIS bitset
^
1 error generated.
gmake3: * [src/cls/CMakeFiles/cls_otp_client.dir/build.make:66: src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o] Error 1
gmake3: Leaving directory '/wrkdirs/usr/ports/net/ceph14/work/.build'
gmake2: *
[CMakeFiles/Makefile2:2418: src/cls/CMakeFiles/cls_otp_client.dir/all] Error 2

Fixing it by explicit selecting the namespace


Related issues 4 (0 open4 closed)

Has duplicate rgw - Bug #42472: Ambigous bitset selection with FreeBSD libc++ Duplicate

Actions
Copied to rgw - Backport #43477: nautilus: Ambigous bitset selection with FreeBSD libc++ResolvedNathan CutlerActions
Copied to rgw - Backport #43478: mimic: Ambigous bitset selection with FreeBSD libc++RejectedActions
Copied to rgw - Backport #43479: luminous: Ambigous bitset selection with FreeBSD libc++RejectedActions
Actions #1

Updated by Willem Jan Withagen over 4 years ago

  • Pull request ID set to 31126
Actions #2

Updated by Willem Jan Withagen over 4 years ago

  • Assignee set to Willem Jan Withagen
Actions #3

Updated by Nathan Cutler over 4 years ago

  • Status changed from New to Fix Under Review
  • Backport set to nautilus
Actions #4

Updated by Nathan Cutler over 4 years ago

  • Project changed from Ceph to rgw
Actions #5

Updated by Nathan Cutler over 4 years ago

  • Has duplicate Bug #42472: Ambigous bitset selection with FreeBSD libc++ added
Actions #6

Updated by Casey Bodley over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #7

Updated by Willem Jan Withagen over 4 years ago

  • Backport changed from nautilus to nautilus, luminous

https://github.com/ceph/ceph/pull/32028 got backported to luminous, so this will have to be backported as well.

Actions #8

Updated by Nathan Cutler over 4 years ago

  • Status changed from Resolved to Pending Backport
  • Backport changed from nautilus, luminous to nautilus, mimic, luminous
Actions #9

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #43477: nautilus: Ambigous bitset selection with FreeBSD libc++ added
Actions #10

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #43478: mimic: Ambigous bitset selection with FreeBSD libc++ added
Actions #11

Updated by Nathan Cutler over 4 years ago

  • Copied to Backport #43479: luminous: Ambigous bitset selection with FreeBSD libc++ added
Actions #12

Updated by Nathan Cutler about 4 years ago

This is a follow-on fix for 6dd65e7833c8ce86d84eb25d172dec72a38c35f6 which is a part of https://github.com/ceph/ceph/pull/21379 which was merged for the nautilus release and is not being backported.

Actions #13

Updated by Nathan Cutler about 4 years ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions

Also available in: Atom PDF