I'm guessing that
https://github.com/ceph/ceph/pull/22690
is causing this fallout...
Or at least the the first error in the block?
--WjW
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:17:
/home/jenkins/workspace/ceph-master/src/common/async/detail/shared_mutex.h:74:8:
error: no template named 'optional' in namespace 'std'
std::optional<boost::system::error_code> ec;
~~~~~^
/home/jenkins/workspace/ceph-master/src/common/async/detail/shared_mutex.h:72:7:
warning: 'ceph::async::detail::SyncRequest' has virtual functions but
non-virtual destructor [-Wnon-virtual-dtor]
class SyncRequest : public LockRequest {
^
/home/jenkins/workspace/ceph-master/src/common/async/detail/shared_mutex.h:167:31:
error: non-const lvalue reference to type
'ceph::async::detail::LockRequest' cannot bind to a value of unrelated
type 'ceph::async::detail::SyncRequest'
exclusive_queue.push_back(request);
^~~~~~~
/usr/local/include/boost/intrusive/list.hpp:268:29: note: passing
argument to parameter 'value' here
void push_back(reference value)
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:17:
/home/jenkins/workspace/ceph-master/src/common/async/detail/shared_mutex.h:258:28:
error: non-const lvalue reference to type
'ceph::async::detail::LockRequest' cannot bind to a value of unrelated
type 'ceph::async::detail::SyncRequest'
shared_queue.push_back(request);
^~~~~~~
/usr/local/include/boost/intrusive/list.hpp:268:29: note: passing
argument to parameter 'value' here
void push_back(reference value)
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:168:14: error: expected class name
: public exception
^
/usr/include/c++/v1/optional:200:29: error: no template named
'is_trivially_destructible'; did you mean
'::std::is_trivially_destructible'?
template <class _Tp, bool = is_trivially_destructible<_Tp>::value>
^
/usr/include/c++/v1/type_traits:3676:50: note:
'::std::is_trivially_destructible' declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_trivially_destructible
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:207:19: error: no template named
'is_object_v'; did you mean '::std::is_object_v'?
static_assert(is_object_v<value_type>,
^
/usr/include/c++/v1/type_traits:1031:43: note: '::std::is_object_v'
declared here
_LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_object_v
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:207:19: error: no template named
'is_object_v'; did you mean '::std::is_object_v'?
static_assert(is_object_v<value_type>,
^
/usr/include/c++/v1/type_traits:1031:43: note: '::std::is_object_v'
declared here
_LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_object_v
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:230:49: error: C++ requires a type
specifier for all declarations
constexpr explicit __optional_destruct_base(in_place_t, _Args&&...
__args)
^
/usr/include/c++/v1/optional:231:19: error: no template named 'forward'
in namespace 'ceph::async::std::__1'; did you mean '::std::forward'?
: __val_(_VSTD::forward<_Args>(__args)...),
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2299:1: note: '::std::forward' declared here
forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:231:19: error: no template named 'forward'
in namespace 'ceph::async::std::__1'; did you mean '::std::forward'?
: __val_(_VSTD::forward<_Args>(__args)...),
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2299:1: note: '::std::forward' declared here
forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:249:19: error: no template named
'is_object_v'; did you mean '::std::is_object_v'?
static_assert(is_object_v<value_type>,
^
/usr/include/c++/v1/type_traits:1031:43: note: '::std::is_object_v'
declared here
_LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_object_v
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:249:19: error: no template named
'is_object_v'; did you mean '::std::is_object_v'?
static_assert(is_object_v<value_type>,
^
/usr/include/c++/v1/type_traits:1031:43: note: '::std::is_object_v'
declared here
_LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_object_v
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:265:49: error: C++ requires a type
specifier for all declarations
constexpr explicit __optional_destruct_base(in_place_t, _Args&&...
__args)
^
/usr/include/c++/v1/optional:266:19: error: no template named 'forward'
in namespace 'ceph::async::std::__1'; did you mean '::std::forward'?
: __val_(_VSTD::forward<_Args>(__args)...),
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2299:1: note: '::std::forward' declared here
forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:266:19: error: no template named 'forward'
in namespace 'ceph::async::std::__1'; did you mean '::std::forward'?
: __val_(_VSTD::forward<_Args>(__args)...),
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2299:1: note: '::std::forward' declared here
forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:279:29: error: no template named
'is_reference'; did you mean '::std::is_reference'?
template <class _Tp, bool = is_reference<_Tp>::value>
^
/usr/include/c++/v1/type_traits:788:50: note: '::std::is_reference'
declared here
template <class _Tp> struct _LIBCPP_TEMPLATE_VIS is_reference :
public false_type {};
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:305:16: error: no member named 'move' in
namespace 'ceph::async::std::__1'; did you mean '::std::move'?
return _VSTD::move(this->__val_);
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2290:1: note: '::std::move' declared here
move(_Tp&& __t) _NOEXCEPT
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:310:16: error: no member named 'move' in
namespace 'ceph::async::std::__1'; did you mean '::std::move'?
return _VSTD::move(this->__val_);
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2290:1: note: '::std::move' declared here
move(_Tp&& __t) _NOEXCEPT
^
In file included from
/home/jenkins/workspace/ceph-master/src/test/common/test_async_shared_mutex.cc:15:
In file included from
/home/jenkins/workspace/ceph-master/src/common/async/shared_mutex.h:20:
/usr/include/c++/v1/optional:318:65: error: no template named 'forward'
in namespace 'ceph::async::std::__1'; did you mean '::std::forward'?
::new((void*)_VSTD::addressof(this->__val_))
value_type(_VSTD::forward<_Args>(__args)...);
^~~~~~~
/usr/include/c++/v1/__config:447:15: note: expanded from macro '_VSTD'
#define _VSTD std::_LIBCPP_NAMESPACE
^
/usr/include/c++/v1/type_traits:2299:1: note: '::std::forward' declared here
forward(typename remove_reference<_Tp>::type& __t) _NOEXCEPT
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
gmake[2]: ***
[src/test/common/CMakeFiles/unittest_async_shared_mutex.dir/build.make:63:
src/test/common/CMakeFiles/unittest_async_shared_mutex.dir/test_async_shared_mutex.cc.o]
Error 1
gmake[2]: Leaving directory '/home/jenkins/workspace/ceph-master/build'
gmake[1]: *** [CMakeFiles/Makefile2:9366:
src/test/common/CMakeFiles/unittest_async_shared_mutex.dir/all] Error 2
gmake[1]: *** Waiting for unfinished jobs....
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html