Bug 1925355 - CMake warning when searching for Boost 1.75
Summary: CMake warning when searching for Boost 1.75
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-05 00:42 UTC by Ian McInerney
Modified: 2021-02-07 04:32 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-07 04:32:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ian McInerney 2021-02-05 00:42:50 UTC
Description of problem:

When using CMake to configure a project that uses Boost, the new Boost 1.75 version in rawhide causes the FindBoost module to throw the warning

CMake Warning at /usr/share/cmake/Modules/FindBoost.cmake:1204 (message):
  New Boost version may have incorrect or missing dependencies and imported
  targets
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindBoost.cmake:1326 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/share/cmake/Modules/FindBoost.cmake:1935 (_Boost_MISSING_DEPENDENCIES)
  qa/unit_test_utils/CMakeLists.txt:28 (find_package)



Version-Release number of selected component (if applicable): 3.19.4


Additional info:

There is an upstream patch in merge request https://gitlab.kitware.com/cmake/cmake/-/merge_requests/5768 that has been accepted and merged to fix this warning. This patch should be backported to rawhide so that FindBoost operates properly with the new Boost version that is now available.

Note that the patch has been accepted into the upcoming 3.19.5 release, so it is only needed until Fedora updates to that version.

Comment 1 Rex Dieter 2021-02-07 04:32:24 UTC
upstream fix pulled into rawhide,
https://src.fedoraproject.org/rpms/cmake/c/77583d3966d5ab3a2fda49b2b16bf8ed2eafa5bc?branch=rawhide


Note You need to log in before you can comment on or make changes to this bug.