Uploaded image for project: 'Libmongocrypt'
  1. Libmongocrypt
  2. MONGOCRYPT-706

Do not propagate BUILD_VERSION to C driver when using MONGOCRYPT_MONGOC_DIR

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 1.10.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Not Needed

      Configuring libmongocrypt with BUILD_VERSION and MONGOCRYPT_MONGOC_DIR incorrectly propagates the BUILD_VERSION of libmongocrypt to the C driver.

      As a result, updating the C driver's compile-libmongocrypt.sh script to use libmongocrypt 1.10.1 resulted in this error:

      /Users/kevin.albertson/review/mongo-c-driver-1656/libmongocrypt/src/mongocrypt-buffer.c:24:2: error: "libbson 1.16.0 or newer is required."
      #error "libbson 1.16.0 or newer is required."
      

            Assignee:
            kevin.albertson@mongodb.com Kevin Albertson
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: