This package depends on tf2_geometry_msgs, but the ebuild does not list it as a dependency. Consequently, emerge fails due to this configuration error: - Could NOT find tf2_geometry_msgs (missing: tf2_geometry_msgs_DIR) -- Could not find the required component 'tf2_geometry_msgs'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /usr/share/catkin/cmake/catkinConfig.cmake:88 (find_package): Could not find a package configuration file provided by "tf2_geometry_msgs" with any of the following names: tf2_geometry_msgsConfig.cmake tf2_geometry_msgs-config.cmake Add the installation prefix of "tf2_geometry_msgs" to CMAKE_PREFIX_PATH or set "tf2_geometry_msgs_DIR" to a directory containing one of the above files. If "tf2_geometry_msgs" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:4 (find_package) After emerging tf2_geometry_msgs it works, i.e., emerging turtle_tf2 succeeded.
Thank you for the report. We need to have all information at hand before ticket assignment. That is why I ask you to * attach the logs and * paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Created attachment 641378 [details] build.log.xz
Created attachment 641380 [details] emerge --info dev-ros/turtle_tf2
I have added the log files and therefore reopened the bug. However, I still would like to point out that https://github.com/ros/geometry_tutorials/blob/kinetic-devel/turtle_tf2/CMakeLists.txt simply contains a find_package() on tf2_geometry_msgs. This fact alone implies that the ebuild has to contain dev-ros/tf2_geometry_msgs as a dependency. This dependency has been added by commit 8c8b7f8 and was therefore newly introduced for version 0.2.3 of dev-ros/tf2_geometry_msgs. This is why it worked for tf2_geometry_msgs-0.2.2.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59666f33d9e58af5435b6f83806c61044e9eff6d commit 59666f33d9e58af5435b6f83806c61044e9eff6d Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2020-07-27 11:31:13 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2020-07-27 11:31:13 +0000 dev-ros/turtle_tf2: fixup deps Closes: https://bugs.gentoo.org/724874 Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Alexis Ballier <aballier@gentoo.org> dev-ros/turtle_tf2/turtle_tf2-0.2.3.ebuild | 5 +++-- dev-ros/turtle_tf2/turtle_tf2-9999.ebuild | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-)