folly icon indicating copy to clipboard operation
folly copied to clipboard

Unable to build "main" branch

Open SchweinDeBurg opened this issue 1 year ago • 2 comments

Got the following errors:

[124/334] Building CXX object CMakeFiles/folly_base.dir/folly/experimental/io/IoUring.cpp.o
FAILED: CMakeFiles/folly_base.dir/folly/experimental/io/IoUring.cpp.o 
ccache /usr/bin/g++ -DFMT_SHARED -DFOLLY_XLOG_STRIP_PREFIXES=\"/home/elijah/.local/rpmbuild/BUILD/folly:/home/elijah/.local/rpmbuild/BUILD/folly/x86_64-redhat-linux-gnu\" -DGFLAGS_IS_A_DLL=0 -D_GNU_SOURCE -D_REENTRANT -I/home/elijah/.local/rpmbuild/BUILD/folly -I/home/elijah/.local/rpmbuild/BUILD/folly/x86_64-redhat-linux-gnu -I/usr/include/libdwarf -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -march=native -mtune=native -fasynchronous-unwind-tables -mno-aes  -w -O2 -g -DNDEBUG -std=gnu++17 -fPIC -g -finput-charset=UTF-8 -fsigned-char -Wall -Wno-deprecated -Wno-deprecated-declarations -Wno-sign-compare -Wno-unused -Wuninitialized -Wunused-label -Wunused-result -Wshadow-compatible-local -Wno-noexcept-type -faligned-new -fopenmp -MD -MT CMakeFiles/folly_base.dir/folly/experimental/io/IoUring.cpp.o -MF CMakeFiles/folly_base.dir/folly/experimental/io/IoUring.cpp.o.d -o CMakeFiles/folly_base.dir/folly/experimental/io/IoUring.cpp.o -c /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp: In member function 'virtual int folly::IoUring::submitOne(folly::AsyncBase::Op*)':
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:25: error: no match for 'operator!=' (operand types are 'const folly::IoUringOp::Options' and 'const folly::IoUringOp::Options')
  277 |   if (iop->getOptions() != getOptions()) {
      |       ~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~
      |                      |               |
      |                      |               const folly::IoUringOp::Options
      |                      const folly::IoUringOp::Options
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:30,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:956:6: note: candidate: 'template<class FunctionType> bool folly::operator!=(const folly::Function<F>&, std::nullptr_t)'
  956 | bool operator!=(const Function<FunctionType>& fn, std::nullptr_t) {
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:956:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Function<F>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:30,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:961:6: note: candidate: 'template<class FunctionType> bool folly::operator!=(std::nullptr_t, const folly::Function<F>&)'
  961 | bool operator!=(std::nullptr_t, const Function<FunctionType>& fn) {
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:961:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Function<F>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:32,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1323:13: note: candidate: 'template<class Iter> bool folly::operator!=(const folly::Range<Iter>&, const folly::Range<Iter>&)'
 1323 | inline bool operator!=(const Range<Iter>& lhs, const Range<Iter>& rhs) {
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1323:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Range<Iter>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:32,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1378:70: note: candidate: 'template<class T, class U> std::enable_if_t<folly::detail::ComparableAsStringPiece<A, B>::value, bool> folly::operator!=(const T&, const U&)'
 1378 | std::enable_if_t<detail::ComparableAsStringPiece<T, U>::value, bool> operator!=(
      |                                                                      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1378:70: note:   template argument deduction/substitution failed:
In file included from /usr/include/c++/9/bits/move.h:55,
                 from /usr/include/c++/9/atomic:42,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/SharedMutex.h:23,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/usr/include/c++/9/type_traits: In substitution of 'template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = folly::detail::ComparableAsStringPiece<folly::IoUringOp::Options, folly::IoUringOp::Options>::value; _Tp = bool]':
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1378:70:   required by substitution of 'template<class T, class U> std::enable_if_t<folly::detail::ComparableAsStringPiece<A, B>::value, bool> folly::operator!=(const T&, const U&) [with T = folly::IoUringOp::Options; U = folly::IoUringOp::Options]'
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39:   required from here
/usr/include/c++/9/type_traits:2384:11: error: no type named 'type' in 'struct std::enable_if<false, bool>'
 2384 |     using enable_if_t = typename enable_if<_Cond, _Tp>::type;
      |           ^~~~~~~~~~~
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2431:13: note: candidate: 'template<class E, class T, class A, class S> bool folly::operator!=(const folly::basic_fbstring<E, T, A, S>&, const folly::basic_fbstring<E, T, A, S>&)'
 2431 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2431:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2438:13: note: candidate: 'template<class E, class T, class A, class S> bool folly::operator!=(const typename folly::basic_fbstring<E, T, A, S>::value_type*, const folly::basic_fbstring<E, T, A, S>&)'
 2438 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2438:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2445:13: note: candidate: 'template<class E, class T, class A, class S> bool folly::operator!=(const folly::basic_fbstring<E, T, A, S>&, const typename folly::basic_fbstring<E, T, A, S>::value_type*)'
 2445 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2445:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2653:13: note: candidate: 'template<class E, class T, class A, class S, class A2> bool folly::operator!=(const folly::basic_fbstring<E, T, A, S>&, const std::__cxx11::basic_string<E, T, A2>&)'
 2653 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2653:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2660:13: note: candidate: 'template<class E, class T, class A, class S, class A2> bool folly::operator!=(const std::__cxx11::basic_string<E, T, A2>&, const folly::basic_fbstring<E, T, A, S>&)'
 2660 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2660:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const std::__cxx11::basic_string<E, T, A2>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:35,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:519:16: note: candidate: 'template<class U, class V> constexpr bool folly::operator!=(const folly::Optional<T>&, const V&)'
  519 | constexpr bool operator!=(const Optional<U>& a, const V& b) {
      |                ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:519:16: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Optional<T>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:35,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:529:16: note: candidate: 'template<class U, class V> constexpr bool folly::operator!=(const U&, const folly::Optional<V>&)'
  529 | constexpr bool operator!=(const U& a, const Optional<V>& b) {
      |                ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:529:16: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Optional<V>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:35,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:545:16: note: candidate: 'template<class U, class V> constexpr bool folly::operator!=(const folly::Optional<T>&, const folly::Optional<V>&)'
  545 | constexpr bool operator!=(const Optional<U>& a, const Optional<V>& b) {
      |                ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:545:16: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Optional<T>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:124:13: note: candidate: 'template<class Error, bool FollyRequires123, typename std::enable_if<(FollyRequires116 || static_cast<bool>(folly::traits_detail_IsEqualityComparable::IsEqualityComparable<Error>::value)), int>::type <anonymous> > bool folly::operator!=(const folly::Unexpected<Error>&, const folly::Unexpected<Error>&)'
  124 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:124:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Unexpected<Error>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1370:13: note: candidate: 'template<class Value, class Error, bool FollyRequires1369, typename std::enable_if<(FollyRequires1369 || static_cast<bool>(folly::traits_detail_IsEqualityComparable::IsEqualityComparable<Error>::value)), int>::type <anonymous> > bool folly::operator!=(const folly::Expected<Value, Error>&, const folly::Expected<Value, Error>&)'
 1370 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1370:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Expected<Value, Error>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1456:6: note: candidate: 'template<class Value, class Error> bool folly::operator!=(const folly::Expected<Value, Error>&, const Value&)' <deleted>
 1456 | bool operator!=(const Expected<Value, Error>&, const Value& other) = delete;
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1456:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Expected<Value, Error>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1468:6: note: candidate: 'template<class Value, class Error> bool folly::operator!=(const Value&, const folly::Expected<Value, Error>&)' <deleted>
 1468 | bool operator!=(const Value& other, const Expected<Value, Error>&) = delete;
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1468:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:277:39: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Expected<Value, Error>'
  277 |   if (iop->getOptions() != getOptions()) {
      |                                       ^
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp: In member function 'virtual int folly::IoUring::submitRange(folly::Range<folly::AsyncBaseOp**>)':
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:27: error: no match for 'operator!=' (operand types are 'const folly::IoUringOp::Options' and 'const folly::IoUringOp::Options')
  302 |     if (iop->getOptions() != getOptions()) {
      |         ~~~~~~~~~~~~~~~~~ ^~ ~~~~~~~~~~~~
      |                        |               |
      |                        |               const folly::IoUringOp::Options
      |                        const folly::IoUringOp::Options
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:30,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:956:6: note: candidate: 'template<class FunctionType> bool folly::operator!=(const folly::Function<F>&, std::nullptr_t)'
  956 | bool operator!=(const Function<FunctionType>& fn, std::nullptr_t) {
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:956:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Function<F>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:30,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:961:6: note: candidate: 'template<class FunctionType> bool folly::operator!=(std::nullptr_t, const folly::Function<F>&)'
  961 | bool operator!=(std::nullptr_t, const Function<FunctionType>& fn) {
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Function.h:961:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Function<F>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:32,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1323:13: note: candidate: 'template<class Iter> bool folly::operator!=(const folly::Range<Iter>&, const folly::Range<Iter>&)'
 1323 | inline bool operator!=(const Range<Iter>& lhs, const Range<Iter>& rhs) {
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1323:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Range<Iter>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/AsyncBase.h:32,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.h:20,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:17:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1378:70: note: candidate: 'template<class T, class U> std::enable_if_t<folly::detail::ComparableAsStringPiece<A, B>::value, bool> folly::operator!=(const T&, const U&)'
 1378 | std::enable_if_t<detail::ComparableAsStringPiece<T, U>::value, bool> operator!=(
      |                                                                      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Range.h:1378:70: note:   template argument deduction/substitution failed:
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2431:13: note: candidate: 'template<class E, class T, class A, class S> bool folly::operator!=(const folly::basic_fbstring<E, T, A, S>&, const folly::basic_fbstring<E, T, A, S>&)'
 2431 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2431:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2438:13: note: candidate: 'template<class E, class T, class A, class S> bool folly::operator!=(const typename folly::basic_fbstring<E, T, A, S>::value_type*, const folly::basic_fbstring<E, T, A, S>&)'
 2438 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2438:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2445:13: note: candidate: 'template<class E, class T, class A, class S> bool folly::operator!=(const folly::basic_fbstring<E, T, A, S>&, const typename folly::basic_fbstring<E, T, A, S>::value_type*)'
 2445 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2445:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2653:13: note: candidate: 'template<class E, class T, class A, class S, class A2> bool folly::operator!=(const folly::basic_fbstring<E, T, A, S>&, const std::__cxx11::basic_string<E, T, A2>&)'
 2653 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2653:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::basic_fbstring<E, T, A, S>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Demangle.h:19,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:124,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2660:13: note: candidate: 'template<class E, class T, class A, class S, class A2> bool folly::operator!=(const std::__cxx11::basic_string<E, T, A2>&, const folly::basic_fbstring<E, T, A, S>&)'
 2660 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/FBString.h:2660:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const std::__cxx11::basic_string<E, T, A2>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:35,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:519:16: note: candidate: 'template<class U, class V> constexpr bool folly::operator!=(const folly::Optional<T>&, const V&)'
  519 | constexpr bool operator!=(const Optional<U>& a, const V& b) {
      |                ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:519:16: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Optional<T>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:35,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:529:16: note: candidate: 'template<class U, class V> constexpr bool folly::operator!=(const U&, const folly::Optional<V>&)'
  529 | constexpr bool operator!=(const U& a, const Optional<V>& b) {
      |                ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:529:16: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Optional<V>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:35,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:545:16: note: candidate: 'template<class U, class V> constexpr bool folly::operator!=(const folly::Optional<T>&, const folly::Optional<V>&)'
  545 | constexpr bool operator!=(const Optional<U>& a, const Optional<V>& b) {
      |                ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Optional.h:545:16: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Optional<T>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:124:13: note: candidate: 'template<class Error, bool FollyRequires123, typename std::enable_if<(FollyRequires116 || static_cast<bool>(folly::traits_detail_IsEqualityComparable::IsEqualityComparable<Error>::value)), int>::type <anonymous> > bool folly::operator!=(const folly::Unexpected<Error>&, const folly::Unexpected<Error>&)'
  124 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:124:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Unexpected<Error>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1370:13: note: candidate: 'template<class Value, class Error, bool FollyRequires1369, typename std::enable_if<(FollyRequires1369 || static_cast<bool>(folly::traits_detail_IsEqualityComparable::IsEqualityComparable<Error>::value)), int>::type <anonymous> > bool folly::operator!=(const folly::Expected<Value, Error>&, const folly::Expected<Value, Error>&)'
 1370 | inline bool operator!=(
      |             ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1370:13: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Expected<Value, Error>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1456:6: note: candidate: 'template<class Value, class Error> bool folly::operator!=(const folly::Expected<Value, Error>&, const Value&)' <deleted>
 1456 | bool operator!=(const Expected<Value, Error>&, const Value& other) = delete;
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1456:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Expected<Value, Error>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
In file included from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Conv.h:125,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/Exception.h:25,
                 from /home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:28:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1468:6: note: candidate: 'template<class Value, class Error> bool folly::operator!=(const Value&, const folly::Expected<Value, Error>&)' <deleted>
 1468 | bool operator!=(const Value& other, const Expected<Value, Error>&) = delete;
      |      ^~~~~~~~
/home/elijah/.local/rpmbuild/BUILD/folly/folly/Expected.h:1468:6: note:   template argument deduction/substitution failed:
/home/elijah/.local/rpmbuild/BUILD/folly/folly/experimental/io/IoUring.cpp:302:41: note:   'const folly::IoUringOp::Options' is not derived from 'const folly::Expected<Value, Error>'
  302 |     if (iop->getOptions() != getOptions()) {
      |                                         ^
ninja: build stopped: subcommand failed.

GCC version 9.3.0.

SchweinDeBurg avatar Sep 13 '23 05:09 SchweinDeBurg

Which version of iouring are you building against?

Orvid avatar Sep 13 '23 19:09 Orvid

liburing version 2.3

SchweinDeBurg avatar Sep 14 '23 04:09 SchweinDeBurg