[CXX-1422] Does not finish building, error somewhere in the test phase. Created: 12/Aug/17  Updated: 22/Aug/17  Resolved: 22/Aug/17

Status: Closed
Project: C++ Driver
Component/s: Build, Testing
Affects Version/s: 3.1.0, 3.1.1, 3.1.2
Fix Version/s: 3.1.3

Type: Bug Priority: Blocker - P1
Reporter: Brenton Poke [X] Assignee: Backlog - CXX Driver Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Linux virtual machine.


Attachments: JPEG File 9wLro6K[1].jpg    
Issue Links:
Related
is related to CXX-1423 Missing include for <cassert> in tests Closed

 Description   

I'm not sure why this happens, so i'm hoping you understand the CLI output. There are mentions of not being able to create instances properly on a single thread. Originally, I only had one core allocated to the VM, and thought that was the problem. I allocated a total of 4 and re-ran make after a make clean. Same error. Now i'm not sure what's going wrong. The build for the C-Driver went fine. the C++ Driver install is failing somewhere in what looks like the unit tests.



 Comments   
Comment by Hannes Magnusson [ 22/Aug/17 ]

This is now fixed in 3.1.3.

Thanks for the report!

Comment by Hannes Magnusson [ 18/Aug/17 ]

If you don't mind a temporary workaround then you can modify src/mongocxx/test_util/mock.hh and add

#include <cassert>

on line 17, see https://github.com/mongodb/mongo-cxx-driver/pull/587/files

I suspect we'll release mongocxx 3.1.3 on Monday with this one line fix.

The other alternative is to install mongoc & libbbson 1.6.3

Comment by Brenton Poke [X] [ 18/Aug/17 ]

So what is the latest of each that I can use concurrently?

Comment by Hannes Magnusson [ 16/Aug/17 ]

The current mongocxx 3.1.x. release is not compatible with mongoc 1.7.x at the moment. See CXX-1423

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