Details

    • Bug
    • Resolution: Fixed
    • Major
    • 3.2.0
    • 3.1.3
    • library
    • None
    • macOS Big Sur Version 11.3.1
    • 1

    Description

      [ 19%] Building CXX object CMakeFiles/lcbcore-cxx.dir/src/handler.cc.o
      /usr/local/libcouchbase-3.1.3/src/handler.cc:423:5: error: cannot cast from type 'std::string' (aka 'basic_string<char>') to pointer type 'const char *'
      TRACE_GET_END(o, request, response, &resp);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:61:11: note: expanded from macro 'TRACE_GET_END'
      TRACE(TRACE_END_COMMON(LIBCOUCHBASE_GET_END, instance, pkt, mcresp, resp, (const char *)(resp)->value, \
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:52:9: note: expanded from macro 'TRACE_END_COMMON'
      (const char *)(resp)>ctx.key, (resp)>ctx.key_len, ##_VA_ARGS_)
      ^
      /usr/local/libcouchbase-3.1.3/build/generated/probes.h:76:251: note: expanded from macro 'LIBCOUCHBASE_GET_END'
      __dtrace_probe$libcouchbase$get_end$v1$766f6964202a$75696e7433325f74$75696e74385f74$75696e7436345f74$75696e7431365f74$63686172202a$73697a655f74$63686172202a$73697a655f74$75696e7433325f74$75696e7436345f74$75696e74385f74(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); \
      ^
      /usr/local/libcouchbase-3.1.3/src/trace.h:34:22: note: expanded from macro 'TRACE'
      #define TRACE(probe) probe
      ^~~~~
      /usr/local/libcouchbase-3.1.3/src/handler.cc:423:5: error: no member named 'key_len' in 'lcb_KEY_VALUE_ERROR_CONTEXT_'
      TRACE_GET_END(o, request, response, &resp);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:61:11: note: expanded from macro 'TRACE_GET_END'
      TRACE(TRACE_END_COMMON(LIBCOUCHBASE_GET_END, instance, pkt, mcresp, resp, (const char *)(resp)->value, \
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:52:52: note: expanded from macro 'TRACE_END_COMMON'
      (const char *)(resp)>ctx.key, (resp)>ctx.key_len, ##_VA_ARGS_)
      ^
      /usr/local/libcouchbase-3.1.3/build/generated/probes.h:76:257: note: expanded from macro 'LIBCOUCHBASE_GET_END'
      __dtrace_probe$libcouchbase$get_end$v1$766f6964202a$75696e7433325f74$75696e74385f74$75696e7436345f74$75696e7431365f74$63686172202a$73697a655f74$63686172202a$73697a655f74$75696e7433325f74$75696e7436345f74$75696e74385f74(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); \
      ^
      /usr/local/libcouchbase-3.1.3/src/trace.h:34:22: note: expanded from macro 'TRACE'
      #define TRACE(probe) probe
      ^~~~~
      /usr/local/libcouchbase-3.1.3/src/handler.cc:452:5: error: cannot cast from type 'std::string' (aka 'basic_string<char>') to pointer type 'const char *'
      TRACE_EXISTS_END(root, request, response, &resp);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:70:11: note: expanded from macro 'TRACE_EXISTS_END'
      TRACE(TRACE_END_COMMON(LIBCOUCHBASE_EXISTS_END, instance, pkt, mcresp, resp, (resp)->ctx.cas))
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:52:9: note: expanded from macro 'TRACE_END_COMMON'
      (const char *)(resp)>ctx.key, (resp)>ctx.key_len, ##_VA_ARGS_)
      ^
      /usr/local/libcouchbase-3.1.3/build/generated/probes.h:56:196: note: expanded from macro 'LIBCOUCHBASE_EXISTS_END'
      __dtrace_probe$libcouchbase$exists_end$v1$766f6964202a$75696e7433325f74$75696e74385f74$75696e7436345f74$75696e7431365f74$63686172202a$73697a655f74$75696e7436345f74(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); \
      ^
      /usr/local/libcouchbase-3.1.3/src/trace.h:34:22: note: expanded from macro 'TRACE'
      #define TRACE(probe) probe
      ^~~~~
      /usr/local/libcouchbase-3.1.3/src/handler.cc:452:5: error: no member named 'key_len' in 'lcb_KEY_VALUE_ERROR_CONTEXT_'
      TRACE_EXISTS_END(root, request, response, &resp);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:70:11: note: expanded from macro 'TRACE_EXISTS_END'
      TRACE(TRACE_END_COMMON(LIBCOUCHBASE_EXISTS_END, instance, pkt, mcresp, resp, (resp)->ctx.cas))
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:52:52: note: expanded from macro 'TRACE_END_COMMON'
      (const char *)(resp)>ctx.key, (resp)>ctx.key_len, ##_VA_ARGS_)
      ^
      /usr/local/libcouchbase-3.1.3/build/generated/probes.h:56:202: note: expanded from macro 'LIBCOUCHBASE_EXISTS_END'
      __dtrace_probe$libcouchbase$exists_end$v1$766f6964202a$75696e7433325f74$75696e74385f74$75696e7436345f74$75696e7431365f74$63686172202a$73697a655f74$75696e7436345f74(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7); \
      ^
      /usr/local/libcouchbase-3.1.3/src/trace.h:34:22: note: expanded from macro 'TRACE'
      #define TRACE(probe) probe
      ^~~~~
      /usr/local/libcouchbase-3.1.3/src/handler.cc:677:47: error: use of undeclared identifier 'w'
      TRACE_REMOVE_END(root, packet, response, &w.resp);
      ^
      /usr/local/libcouchbase-3.1.3/src/handler.cc:677:47: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:677:47: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:677:47: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:745:9: error: cannot cast from type 'std::string' (aka 'basic_string<char>') to pointer type 'const char *'
      TRACE_OBSERVE_PROGRESS(root, request, response, &resp);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:101:11: note: expanded from macro 'TRACE_OBSERVE_PROGRESS'
      TRACE(TRACE_END_COMMON(LIBCOUCHBASE_OBSERVE_PROGRESS, instance, pkt, mcresp, resp, (resp)->ctx.cas, \
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:52:9: note: expanded from macro 'TRACE_END_COMMON'
      (const char *)(resp)>ctx.key, (resp)>ctx.key_len, ##_VA_ARGS_)
      ^
      /usr/local/libcouchbase-3.1.3/build/generated/probes.h:136:266: note: expanded from macro 'LIBCOUCHBASE_OBSERVE_PROGRESS'
      __dtrace_probe$libcouchbase$observe_progress$v1$766f6964202a$75696e7433325f74$75696e74385f74$75696e7436345f74$75696e7431365f74$63686172202a$73697a655f74$75696e7436345f74$75696e74385f74$75696e74385f74$75696e7433325f74$75696e7433325f74(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); \
      ^
      /usr/local/libcouchbase-3.1.3/src/trace.h:34:22: note: expanded from macro 'TRACE'
      #define TRACE(probe) probe
      ^~~~~
      /usr/local/libcouchbase-3.1.3/src/handler.cc:745:9: error: no member named 'key_len' in 'lcb_KEY_VALUE_ERROR_CONTEXT_'
      TRACE_OBSERVE_PROGRESS(root, request, response, &resp);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:101:11: note: expanded from macro 'TRACE_OBSERVE_PROGRESS'
      TRACE(TRACE_END_COMMON(LIBCOUCHBASE_OBSERVE_PROGRESS, instance, pkt, mcresp, resp, (resp)->ctx.cas, \
      ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      /usr/local/libcouchbase-3.1.3/src/trace.h:52:52: note: expanded from macro 'TRACE_END_COMMON'
      (const char *)(resp)>ctx.key, (resp)>ctx.key_len, ##_VA_ARGS_)
      ^
      /usr/local/libcouchbase-3.1.3/build/generated/probes.h:136:272: note: expanded from macro 'LIBCOUCHBASE_OBSERVE_PROGRESS'
      __dtrace_probe$libcouchbase$observe_progress$v1$766f6964202a$75696e7433325f74$75696e74385f74$75696e7436345f74$75696e7431365f74$63686172202a$73697a655f74$75696e7436345f74$75696e74385f74$75696e74385f74$75696e7433325f74$75696e7433325f74(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11); \
      ^
      /usr/local/libcouchbase-3.1.3/src/trace.h:34:22: note: expanded from macro 'TRACE'
      #define TRACE(probe) probe
      ^~~~~
      /usr/local/libcouchbase-3.1.3/src/handler.cc:815:47: error: use of undeclared identifier 'w'
      TRACE_STORE_END(root, request, response, &w.resp);
      ^
      /usr/local/libcouchbase-3.1.3/src/handler.cc:815:47: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:815:47: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:815:47: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:842:52: error: use of undeclared identifier 'w'
      TRACE_ARITHMETIC_END(root, request, response, &w.resp);
      ^
      /usr/local/libcouchbase-3.1.3/src/handler.cc:842:52: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:842:52: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:842:52: error: use of undeclared identifier 'w'
      /usr/local/libcouchbase-3.1.3/src/handler.cc:842:52: error: use of undeclared identifier 'w'
      fatal error: too many errors emitted, stopping now [-ferror-limit=]
      20 errors generated.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            vincent.lextrait Vincent Lextrait
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty