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

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.6
    • Fix Version/s: 2.7.7
    • Component/s: library
    • Labels:
    • Environment:
      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

          Hide
          takach Stephen von Takach added a comment -

          Forgot to mention: error -121 is EREMOTEIO

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

          Adding the following to libuv_compat.h fixes the issue

           

          #ifndef EREMOTEIO
          #define EREMOTEIO -121
          #endif

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

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

          Show
          avsej Sergey Avseyev added a comment - Stephen von Takach , could you create change on our gerrit?
          Hide
          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?

          Show
          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?
          Hide
          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

          Show
          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

            • Assignee:
              avsej Sergey Avseyev
              Reporter:
              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

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.