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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

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

        Activity

          People

            Ellis.Breen Ellis Breen
            cbodendein Corey Bodendein
            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