Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2359

macos-1014 tasks failing to find boost

      Example failure

      These are the relevant logs:

      [2021/08/25 03:42:57.394] -- The CXX compiler identification is AppleClang 10.0.1.10010046
      [2021/08/25 03:42:57.394] -- Check for working CXX compiler: /Applications/Xcode10.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++
      [2021/08/25 03:42:57.483] -- Check for working CXX compiler: /Applications/Xcode10.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -- works
      [2021/08/25 03:42:57.579] -- Detecting CXX compiler ABI info
      [2021/08/25 03:42:57.579] -- Detecting CXX compiler ABI info - done
      [2021/08/25 03:42:57.579] -- Detecting CXX compile features
      [2021/08/25 03:42:58.022] -- Detecting CXX compile features - done
      [2021/08/25 03:42:58.022] -- Found PythonInterp: /data/mci/3b5b975d186ec0130d0912b91be31fa4/mongo-cxx-driver/venv/bin/python (found version "2.7.10")
      [2021/08/25 03:42:58.642] -- The C compiler identification is AppleClang 10.0.1.10010046
      [2021/08/25 03:42:58.642] -- Check for working C compiler: /Applications/Xcode10.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
      [2021/08/25 03:42:58.730] -- Check for working C compiler: /Applications/Xcode10.2.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
      [2021/08/25 03:42:58.821] -- Detecting C compiler ABI info
      [2021/08/25 03:42:58.821] -- Detecting C compiler ABI info - done
      [2021/08/25 03:42:58.821] -- Detecting C compile features
      [2021/08/25 03:42:59.201] bsoncxx version: 3.7.0-pre
      [2021/08/25 03:42:59.201] found libbson version 1.20.0-pre
      [2021/08/25 03:42:59.201] CMake Error at /Applications/cmake-3.11.0-Darwin-x86_64/CMake.app/Contents/share/cmake-3.11/Modules/FindBoost.cmake:2044 (message):
      [2021/08/25 03:42:59.201]   Unable to find the requested Boost libraries.
      [2021/08/25 03:42:59.201]   Unable to find the Boost header files.  Please set BOOST_ROOT to the root
      [2021/08/25 03:42:59.201]   directory containing Boost or BOOST_INCLUDEDIR to the directory containing
      [2021/08/25 03:42:59.202]   Boost's headers.
      [2021/08/25 03:42:59.202] Call Stack (most recent call first):
      [2021/08/25 03:42:59.203] -- Detecting C compile features - done
      [2021/08/25 03:42:59.203] -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
      [2021/08/25 03:42:59.294] -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
      [2021/08/25 03:42:59.294] -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
      [2021/08/25 03:42:59.401]   src/bsoncxx/CMakeLists.txt:158 (find_package)
      [2021/08/25 03:42:59.401] mongocxx version: 3.7.0-pre
      [2021/08/25 03:42:59.401] found libmongoc version 1.20.0-pre
      [2021/08/25 03:42:59.429] -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
      [2021/08/25 03:42:59.429] -- Looking for C++ include pthread.h
      [2021/08/25 03:42:59.602] -- Looking for C++ include pthread.h - found
      [2021/08/25 03:42:59.602] -- Looking for pthread_create
      [2021/08/25 03:42:59.602] -- Looking for pthread_create - not found
      [2021/08/25 03:42:59.706] -- Check if compiler accepts -pthread
      [2021/08/25 03:42:59.706] -- Check if compiler accepts -pthread - yes
      [2021/08/25 03:42:59.748] -- Found Threads: TRUE
      [2021/08/25 03:42:59.748] -- Build files generated for:
      [2021/08/25 03:42:59.748] -- 	build system: Unix Makefiles
      [2021/08/25 03:42:59.755] CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
      [2021/08/25 03:42:59.755] Please set them or make sure they are set and tested correctly in the CMake files:
      [2021/08/25 03:42:59.755] /data/mci/3b5b975d186ec0130d0912b91be31fa4/mongo-cxx-driver/src/bsoncxx/Boost_INCLUDE_DIR
      [2021/08/25 03:42:59.755]    used as include directory in directory /data/mci/3b5b975d186ec0130d0912b91be31fa4/mongo-cxx-driver/src/bsoncxx
      [2021/08/25 03:42:59.755]    used as include directory in directory /data/mci/3b5b975d186ec0130d0912b91be31fa4/mongo-cxx-driver/src/bsoncxx
      [2021/08/25 03:42:59.755] -- Configuring incomplete, errors occurred!
      [2021/08/25 03:42:59.755] See also "/data/mci/3b5b975d186ec0130d0912b91be31fa4/mongo-cxx-driver/build/CMakeFiles/CMakeOutput.log".
      [2021/08/25 03:42:59.755] See also "/data/mci/3b5b975d186ec0130d0912b91be31fa4/mongo-cxx-driver/build/CMakeFiles/CMakeError.log".
      [2021/08/25 03:42:59.761] Command failed: command encountered problem: error waiting on process 'e422575f-a72d-4472-baeb-a5de177e38db': exit status 1
      [2021/08/25 03:42:59.761] Task completed - FAILURE.
      

            Assignee:
            ezra.chung@mongodb.com Ezra Chung
            Reporter:
            kevin.albertson@mongodb.com Kevin Albertson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: