Uploaded image for project: 'Couchbase Python Client Library'
  1. Couchbase Python Client Library
  2. PYCBC-812

Python Client 2.5.9 Doesn't Build with libcouchbase-devel 2.9.x



    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.5.11
    • None
    • None
    • 1


      According to GitHub, version 2.5.x of the Python Couchbase client is supposed to be able to be built with libcouchbase-devel 2.9.x, however, starting with 2.5.9, that's no longer the case. Attempting to build the latest version of the client, 2.5.10, with libcouchbase-devel 2.9.5 results in the below error:

          ERROR: Command errored out with exit status 1:
          src/miscops.c: In function ‘pycbc_Bucket__ping_real’:
          src/miscops.c:400:40: error: ‘LCB_PINGSVC_F_ANALYTICS’ undeclared (first use in this function)
                              LCB_PINGSVC_F_FTS | LCB_PINGSVC_F_ANALYTICS;
          src/miscops.c:400:40: note: each undeclared identifier is reported only once for each function it appears in
          error: command 'gcc' failed with exit status 1

      This is due to libcouchbase 2.9.5 not having LCB_PINGSVC_F_ANALYTICS defined in the C SDK. It is in the C SDK starting with version 2.10.0.


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


          cbodendein Corey Bodendein created issue -
          Ellis.Breen Ellis Breen made changes -
          Field Original Value New Value
          Status New [ 10003 ] Open [ 1 ]
          Ellis.Breen Ellis Breen made changes -
          Fix Version/s 2.5.11 [ 16643 ]
          Ellis.Breen Ellis Breen made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Ellis.Breen Ellis Breen made changes -
          Resolution Fixed [ 1 ]
          Status In Progress [ 3 ] Resolved [ 5 ]
          brett19 Brett Lawson made changes -
          Story Points 1


            Ellis.Breen Ellis Breen
            cbodendein Corey Bodendein
            0 Vote for this issue
            2 Start watching this issue



              Gerrit Reviews

                There are no open Gerrit changes