dev-ros/cv_bridge-1.12.5 fails emerging with ======================================== CMake Error at CMakeLists.txt:16 (find_package): Could not find a configuration file for package "OpenCV" that is compatible with requested version "3". The following configuration files were considered but not accepted: /usr/share/OpenCV/OpenCVConfig.cmake, version: 2.4.13 -- Configuring incomplete, errors occurred! ======================================== My understanding is, that some of the dev-ros packages depend on opencv2 (e.g. dev-ros/image_view-1.12.21) while others depend on opencv3 (dev-ros/cv_bridge-1.12.5). Since I have opencv 2.4.13 installed, the opencv2-depending dev-ros packages will emerge fine, while packages depending on opencv3 fill fail in the way shown above, since portage is not aware of that dependence.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a6550b5119958c5fa269e3f0b334a7ec1992531 commit 3a6550b5119958c5fa269e3f0b334a7ec1992531 Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2017-11-14 15:36:06 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2017-11-15 06:57:40 +0000 dev-ros/cv_bridge: Bump opencv dep. Closes: https://bugs.gentoo.org/637038 Package-Manager: Portage-2.3.13, Repoman-2.3.4 dev-ros/cv_bridge/cv_bridge-1.12.5.ebuild | 2 +- dev-ros/cv_bridge/cv_bridge-9999.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)