FS#51597 - [cmake] FindBoost module in cmake 3.6 does not handle boost 1.62

Attached to Project: Arch Linux
Opened by Abdó Roig-Maranges (abdo) - Monday, 31 October 2016, 08:44 GMT
Last edited by Antonio Rojas (arojas) - Sunday, 25 December 2016, 09:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:

The FindBoost module provided by cmake 3.6 only handles up to boost 1.61. Using it with boost 1.62 (current arch version) spits out some warnings, and fails to properly link against boost libraries.

One solution would be to patch our cmake with FindBoost.cmake from cmake's master branch. That would be my choice, since the module does not rely strongly on the cmake version used. Alternatively, you can follow the instructions buried deep into FindBoost.cmake in order to support newer boost versions.


Steps to reproduce:

Try to compile anything that uses boost shared libraries and does not provide its own FindBoost module. For example ledger from AUR. It would spit out some warnings and fail to link against boost.
This task depends upon

Closed by  Antonio Rojas (arojas)
Sunday, 25 December 2016, 09:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  cmake 3.7.1
Comment by Alessandro Menti (elgaton) - Friday, 02 December 2016, 20:26 GMT
This was fixed upstream: https://gitlab.kitware.com/cmake/cmake/commit/a997cac8323dc1764e092b8691857dd9af70956e, so updating the package to the latest upstream version (v3.7.1) should do the trick.
Comment by A. K. (Misery) - Wednesday, 07 December 2016, 13:53 GMT
Any plan when CMake will be updated to 3.7.1?

Loading...