Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1216

Evergreen install_c_driver function should not download libbson separately from libmongoc

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.2.0-rc0
    • None
    • Build
    • None

    Description

      The "install_c_driver" function in the driver Evergreen config currently downloads libbson and libmongoc separately. This is not an issue for the "compile_and_test_with_mongoc_current" task (which hardcodes a version for both libraries), but it is occasionally an issue for the "compile_and_test_with_mongoc_master" task where the versions of the two libraries are out of sync. There is a race condition with the C driver release process where the latest master release tarballs available for libbson are older than the latest master release tarballs available for libmongoc, and this occasionally leads to a failure to compile libmongoc (due to its minimum required libbson version not being met) in this task.

      We should remedy this by not downloading libbson separately, and instead build the version of libbson included in the libmongoc release tarballs.

      Attachments

        Activity

          People

            rassi J Rassi
            rassi J Rassi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: