Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-954

libuv IO plugin fails to build with libuv 1.21

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.9.3
    • None
    • None
    • None
    • 1

    Description

      They have defined new error code, which is not portable, so we have to add it to our list of exceptions

      /builddir/build/BUILD/libcouchbase-2.9.2/plugins/io/libuv/libuv_compat.h: In function 'uv_uv2syserr':
      /builddir/build/BUILD/libcouchbase-2.9.2/plugins/io/libuv/libuv_compat.h:200:7: error: 'EFTYPE' undeclared (first use in this function); did you mean 'UV_EFTYPE'?
             UV_ERRNO_MAP(X)
             ^~~~~~~~~~~~
      /builddir/build/BUILD/libcouchbase-2.9.2/plugins/io/libuv/libuv_compat.h:199:63: note: in definition of macro 'X'
             #define X(name, desc) if (status == UV_##name) { return name; }
                                                                     ^~~~
      /builddir/build/BUILD/libcouchbase-2.9.2/plugins/io/libuv/libuv_compat.h:200:7: note: each undeclared identifier is reported only once for each function it appears in
             UV_ERRNO_MAP(X)
             ^~~~~~~~~~~~
      /builddir/build/BUILD/libcouchbase-2.9.2/plugins/io/libuv/libuv_compat.h:199:63: note: in definition of macro 'X'
             #define X(name, desc) if (status == UV_##name) { return name; }
      

      Related libuv change: https://github.com/libuv/libuv/commit/fe3fbd63e5dfe26c473cdd422ad216a14ae2d7e4

      Attachments

        For Gerrit Dashboard: CCBC-954
        # Subject Branch Project Status CR V

        Activity

          People

            avsej Sergey Avseyev
            avsej Sergey Avseyev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty