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
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.3
    • 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

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

        Activity

          Build libcouchbase-2.8.5-212 contains libcouchbase commit 9c5b20d with commit message:
          CCBC-954: define EFTYPE error code if it does not exist

          build-team Couchbase Build Team added a comment - Build libcouchbase-2.8.5-212 contains libcouchbase commit 9c5b20d with commit message: CCBC-954 : define EFTYPE error code if it does not exist

          Build couchbase-server-6.5.0-1075 contains libcouchbase commit 9c5b20d with commit message:
          CCBC-954: define EFTYPE error code if it does not exist

          build-team Couchbase Build Team added a comment - Build couchbase-server-6.5.0-1075 contains libcouchbase commit 9c5b20d with commit message: CCBC-954 : define EFTYPE error code if it does not exist

          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