Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

CMake Error at src/bsoncxx/CMakeLists.txt:86 (find_package) #4178

Closed
mobolun opened this issue Jun 18, 2018 · 2 comments
Closed

CMake Error at src/bsoncxx/CMakeLists.txt:86 (find_package) #4178

mobolun opened this issue Jun 18, 2018 · 2 comments
Assignees

Comments

@mobolun
Copy link

mobolun commented Jun 18, 2018

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

@jimmypark0
Copy link

+1

@ericiles ericiles self-assigned this Jun 18, 2018
@ericiles
Copy link
Contributor

This has been resolved with PR #4200

heifner added a commit that referenced this issue Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants