Bug #42471
closedAmbigous bitset selection with FreeBSD libc++
0%
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
Updated by Willem Jan Withagen over 4 years ago
- Assignee set to Willem Jan Withagen
Updated by Nathan Cutler over 4 years ago
- Status changed from New to Fix Under Review
- Backport set to nautilus
Updated by Nathan Cutler over 4 years ago
- Has duplicate Bug #42472: Ambigous bitset selection with FreeBSD libc++ added
Updated by Casey Bodley over 4 years ago
- Status changed from Fix Under Review to Resolved
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.
Updated by Nathan Cutler over 4 years ago
- Status changed from Resolved to Pending Backport
- Backport changed from nautilus, luminous to nautilus, mimic, luminous
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #43477: nautilus: Ambigous bitset selection with FreeBSD libc++ added
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #43478: mimic: Ambigous bitset selection with FreeBSD libc++ added
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #43479: luminous: Ambigous bitset selection with FreeBSD libc++ added
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.
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".