Details
-
Task
-
Resolution: Done
-
Major - P3
-
None
-
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.