Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 689724 - dev-ros/tf2-0.6.5 - CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2165 (message): Unable to find the requested Boost libraries. // boost_signals
Summary: dev-ros/tf2-0.6.5 - CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robot Operating System team
URL: https://github.com/ros/geometry2/comm...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-07-12 10:42 UTC by Victor Mataré
Modified: 2019-07-18 19:39 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
upstream tf2 patch (remove_boost_signals.patch,1.02 KB, patch)
2019-07-12 10:43 UTC, Victor Mataré
Details | Diff
fixed ebuild (tf2-0.6.5-r1.ebuild,603 bytes, text/plain)
2019-07-12 10:44 UTC, Victor Mataré
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Mataré 2019-07-12 10:42:55 UTC
The signals API has been removed in boost-1.70 and is replaced by signals2. dev-ros/tf2 now fails with:

CMake Error at /usr/share/cmake/Modules/FindBoost.cmake:2165 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.70.0

  Boost include path: /usr/include

  Could not find the following Boost libraries:

          boost_signals

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:6 (find_package)


However boost_signals was just a stale dependency in tf2's CMakeLists.txt, so it can simply be removed.
Comment 2 Victor Mataré 2019-07-12 10:44:01 UTC
Created attachment 582608 [details]
fixed ebuild
Comment 3 Victor Mataré 2019-07-12 11:33:56 UTC
Huh. Looks like this will become quite tedious since the issue is present in other ROS packages, too and upstream doesn't seem to bother with doing a bugfix release.
Comment 4 Larry the Git Cow gentoo-dev 2019-07-18 19:39:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d55f21128a02fe4f58019ad70c7d5d0b6a40069b

commit d55f21128a02fe4f58019ad70c7d5d0b6a40069b
Author:     Alexis Ballier <aballier@gentoo.org>
AuthorDate: 2019-07-18 19:39:02 +0000
Commit:     Alexis Ballier <aballier@gentoo.org>
CommitDate: 2019-07-18 19:39:17 +0000

    dev-ros/tf2: fix build with boost 1.70.
    
    Thanks to: Victor Mataré
    Closes: https://bugs.gentoo.org/689724
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>

 dev-ros/tf2/files/boost.patch                      | 26 ++++++++++++++++++++++
 .../tf2/{tf2-0.6.5.ebuild => tf2-0.6.5-r1.ebuild}  |  3 ++-
 2 files changed, 28 insertions(+), 1 deletion(-)