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

Issue compiling the latest version from Git

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.4
    • None
    • None
    • Ubuntu
    • 1

    Description

      Hello,

      I am facing a segmentation fault with cbc when creating a user, so I tried to compile the latest version of libcouchbase (and tools) I found on GitHub. Alas, at 96% of the build I get an error. libuv is properly installed, configure reports no error before make.

       

      Here is the error:

       

      [ 96%] Building C object plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/plugin-libuv.c.o

      /home/ubuntu/tmp/libcouchbase/plugins/io/libuv/plugin-libuv.c: In function ‘start_connect’:

      /home/ubuntu/tmp/libcouchbase/plugins/io/libuv/plugin-libuv.c:333:5: error: unknown type name ‘uv_os_fd_t

           uv_os_fd_t fd = INVALID_SOCKET;

           ^

      /home/ubuntu/tmp/libcouchbase/plugins/io/libuv/plugin-libuv.c:371:11: warning: implicit declaration of function ‘uv_fileno[-Wimplicit-function-declaration]

           ret = uv_fileno((uv_handle_t *)&sock->tcp, &fd);

                 ^

      plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/build.make:62: recipe for target 'plugins/io/libuv/CMakeFiles/couchbase_libuv.dir/plugin-libuv.c.o’ failed

       

      Attachments

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

        Activity

          vincent.lextrait Vincent Lextrait created issue -
          avsej Sergey Avseyev made changes -
          Field Original Value New Value
          Status New [ 10003 ] Open [ 1 ]
          avsej Sergey Avseyev made changes -
          Fix Version/s 2.9.4 [ 15309 ]
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ianmccloy Ian McCloy made changes -
          Link This issue blocks CBSE-5892 [ CBSE-5892 ]
          brett19 Brett Lawson made changes -
          Story Points 1

          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