Calligra build fails on binary-factory: problem with boost

Yurii Kolesnykov root at yurikoles.com
Wed Mar 10 16:59:41 GMT 2021


Hi,

I had tried your CMake snippet and it just works for me with Boost from homebrew:

Found Boost: /usr/local/lib/cmake/Boost-1.75.0/BoostConfig.cmake (found version "1.75.0") found components: system

Given that I think that maybe it’s better to /cc a mailing list that is listed on the bottom of craft repo readme, despite the fact that it contains `windows` in its name. I hope this wouldn’t be intrusive.

> 10 бер. 2021 р. о 12:04 Dag <dag.andersen at kdemail.net> написав(ла):
> 
> Hi, clueless on mac and have no way of testing so hoping somebody can help.
> 
> I have this in cmake:
> 
> add_definitions(-DBOOST_ALL_NO_LIB)
> find_package(Boost REQUIRED COMPONENTS system) # for pigment and stage
> if (NOT Boost_FOUND)
>   message(FATAL_ERROR "Did not find Boost. Boost is required for the core libraries, stage, sheets.")
> endif ()
> 
> And i get this error:
> 
> 17:26:25  CMake Error at /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
> 17:26:25    Could NOT find Boost (missing: system) (found version "1.69.0")
> 17:26:25  Call Stack (most recent call first):
> 17:26:25    /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
> 17:26:25    /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindBoost.cmake:2193 (find_package_handle_standard_args)
> 17:26:25    CMakeLists.txt:350 (find_package)
> 17:26:25  17:26:25  17:26:25  -- Configuring incomplete, errors occurred!
> 
> -- 
> Mvh Dag


> 10 бер. 2021 р. о 12:04 Dag <dag.andersen at kdemail.net> написав(ла):
> 
> Hi, clueless on mac and have no way of testing so hoping somebody can help.
> 
> I have this in cmake:
> 
> add_definitions(-DBOOST_ALL_NO_LIB)
> find_package(Boost REQUIRED COMPONENTS system) # for pigment and stage
> if (NOT Boost_FOUND)
>   message(FATAL_ERROR "Did not find Boost. Boost is required for the core libraries, stage, sheets.")
> endif ()
> 
> And i get this error:
> 
> 17:26:25  CMake Error at /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
> 17:26:25    Could NOT find Boost (missing: system) (found version "1.69.0")
> 17:26:25  Call Stack (most recent call first):
> 17:26:25    /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
> 17:26:25    /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindBoost.cmake:2193 (find_package_handle_standard_args)
> 17:26:25    CMakeLists.txt:350 (find_package)
> 17:26:25  17:26:25  17:26:25  -- Configuring incomplete, errors occurred!
> 
> -- 
> Mvh Dag


> 10 бер. 2021 р. о 12:04 Dag <dag.andersen at kdemail.net> написав(ла):
> 
> Hi, clueless on mac and have no way of testing so hoping somebody can help.
> 
> I have this in cmake:
> 
> add_definitions(-DBOOST_ALL_NO_LIB)
> find_package(Boost REQUIRED COMPONENTS system) # for pigment and stage
> if (NOT Boost_FOUND)
>   message(FATAL_ERROR "Did not find Boost. Boost is required for the core libraries, stage, sheets.")
> endif ()
> 
> And i get this error:
> 
> 17:26:25  CMake Error at /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
> 17:26:25    Could NOT find Boost (missing: system) (found version "1.69.0")
> 17:26:25  Call Stack (most recent call first):
> 17:26:25    /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:577 (_FPHSA_FAILURE_MESSAGE)
> 17:26:25    /Users/packaging/Craft/BinaryFactory/macos-64-clang/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.19/Modules/FindBoost.cmake:2193 (find_package_handle_standard_args)
> 17:26:25    CMakeLists.txt:350 (find_package)
> 17:26:25  17:26:25  17:26:25  -- Configuring incomplete, errors occurred!
> 
> -- 
> Mvh Dag



More information about the kde-mac mailing list