CMake Error at src/bsoncxx/CMakeLists.txt:86 (find_package)
Cloning into 'mongo-cxx-driver'... -- The CXX compiler identification is Clang 4.0.1 -- Check for working CXX compiler: /usr/bin/clang++ -- Check for working CXX compiler: /usr/bin/clang++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is Clang 4.0.1 -- Check for working C compiler: /usr/bin/clang -- Check for working C compiler: /usr/bin/clang -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Auto-configuring bsoncxx to use MNMLSTC for polyfills since C++17 is inactive CMake Error at src/bsoncxx/CMakeLists.txt:86 (find_package): Could not find a configuration file for package "libbson-static-1.0" that is compatible with requested version "1.10.0".
The following configuration files were considered but not accepted:
/usr/local/lib/cmake/libbson-static-1.0/libbson-static-1.0-config.cmake, version: 1.9.3
-- Configuring incomplete, errors occurred! See also "/mongo-cxx-driver/build/CMakeFiles/CMakeOutput.log". ERROR: Service 'builder' failed to build: The command '/bin/sh -c git clone --depth 1 -b releases/stable https://github.com/mongodb/mongo-cxx-driver && cd mongo-cxx-driver && cmake -H. -Bbuild -G Ninja -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local && cmake --build build --target install && cd .. && rm -rf mongo-cxx-driver' returned a non-zero code: 1
How can I fix that please?
OS: Docker 18.03.1 / Linux Container
+1
This has been resolved with PR #4200