[CXX-1216] Evergreen install_c_driver function should not download libbson separately from libmongoc Created: 02/Feb/17  Updated: 02/Feb/17  Resolved: 02/Feb/17

Status: Closed
Project: C++ Driver
Component/s: Build
Affects Version/s: None
Fix Version/s: 3.2.0-rc0

Type: Task Priority: Major - P3
Reporter: J Rassi Assignee: J Rassi
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: CXX Driver Testing (Evergreen)

 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.



 Comments   
Comment by Githook User [ 02/Feb/17 ]

Author:

{u'username': u'jrassi', u'name': u'J. Rassi', u'email': u'rassi@10gen.com'}

Message: CXX-1216 .evergreen/install.sh: build both libs from single archive
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/54203766f9efcd978cb3c6baf0a41240a5d701b1

Generated at Wed Feb 07 22:01:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.