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

New error code EREMOTEIO in libuv

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.7.6
    • 2.7.7
    • library
    • OSX and Linux

    Description

      Basically needs another entry added to libuv_compat.h

      See commit: https://github.com/libuv/libuv/commit/8e76306ec2565e125816edba3fb5b900b59601a7

       

      Current build output:

      [100%] Building C object plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/plugin-libuv.c.o
      In file included from /Users/steve/.rvm/gems/ruby-2.4.1/gems/libcouchbase-1.0.1/ext/libcouchbase/plugins/io/libuv/plugin-libuv.c:18:
      In file included from /Users/steve/.rvm/gems/ruby-2.4.1/gems/libcouchbase-1.0.1/ext/libcouchbase/plugins/io/libuv/plugin-internal.h:31:
      /Users/steve/.rvm/gems/ruby-2.4.1/gems/libcouchbase-1.0.1/ext/libcouchbase/plugins/io/libuv/libuv_compat.h:197:7: error: use of undeclared identifier 'EREMOTEIO'; did you mean 'UV_EREMOTEIO'?
      UV_ERRNO_MAP(X)
      ^
      /Users/steve/.rvm/gems/ruby-2.4.1/gems/libuv-3.2.1/ext/libuv/include/uv.h:143:6: note: expanded from macro 'UV_ERRNO_MAP'
      XX(EREMOTEIO, "remote I/O error") \
      ^
      /Users/steve/.rvm/gems/ruby-2.4.1/gems/libuv-3.2.1/ext/libuv/include/uv.h:176:16: note: 'UV_EREMOTEIO' declared here
      UV_ERRNO_MAP(XX)
      ^
      1 error generated.
      make[2]: *** [plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/plugin-libuv.c.o] Error 1
      make[1]: *** [plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/all] Error 2
      make: *** [all] Error 2

      Attachments

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

        Activity

          Forgot to mention: error -121 is EREMOTEIO

          takach Stephen von Takach added a comment - Forgot to mention: error -121 is EREMOTEIO

          Adding the following to libuv_compat.h fixes the issue

           

          #ifndef EREMOTEIO
          #define EREMOTEIO -121
          #endif

          takach Stephen von Takach added a comment - Adding the following to libuv_compat.h fixes the issue   #ifndef EREMOTEIO #define EREMOTEIO -121 #endif

          Stephen von Takach, could you create change on our gerrit?

          avsej Sergey Avseyev added a comment - Stephen von Takach , could you create change on our gerrit?

          Signed up to gerrit, accepted the agreement and added my RSA key. I think I'm doing the right thing:

          $ git commit -as
          [update-libuv-compat 948eee7] CCBC-812: New error code EREMOTEIO in libuv
          1 file changed, 3 insertions
          $ git remote update
          Fetching gerrit
          $ git review master
          Username for 'http://review.couchbase.org': takach
          Password for 'http://takach@review.couchbase.org':
          remote: Unauthorized
          fatal: Authentication failed for 'http://review.couchbase.org/libcouchbase/'

          Anything stand out to you?

          takach Stephen von Takach added a comment - Signed up to gerrit, accepted the agreement and added my RSA key. I think I'm doing the right thing: $ git commit -as [update-libuv-compat 948eee7] CCBC-812 : New error code EREMOTEIO in libuv 1 file changed, 3 insertions $ git remote update Fetching gerrit $ git review master Username for 'http://review.couchbase.org': takach Password for 'http://takach@review.couchbase.org': remote: Unauthorized fatal: Authentication failed for ' http://review.couchbase.org/libcouchbase/' Anything stand out to you?

          your remote should be like this:
          ssh://takach@review.couchbase.org:29418/libcouchbase

          And make sure you have your public key in the gerrit account

          avsej Sergey Avseyev added a comment - your remote should be like this: ssh://takach@review.couchbase.org:29418/libcouchbase And make sure you have your public key in the gerrit account

          People

            avsej Sergey Avseyev
            takach Stephen von Takach
            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