Due to kde-apps/kitinerary-21.08.3-r1 it is required now. Reproducible: Always Steps to Reproduce: 1. Do not have dev-cpp/gtest installed. 2. Emerge dev-libs/libphonenumber without test use-flag. Actual Results: Fails in configure phase with: CMake Error at /var/tmpfs/portage/dev-libs/libphonenumber-8.12.37/work/libphonenumber-8.12.37/tools/cpp/gtest.cmake:29 (message): Can't find Google C++ Testing Framework: can't locate gtest/gtest.h. Please read the README and also take a look at tools/cpp/gtest.cmake. Call Stack (most recent call first): /var/tmpfs/portage/dev-libs/libphonenumber-8.12.37/work/libphonenumber-8.12.37/tools/cpp/CMakeLists.txt:26 (find_or_build_gtest) -- Configuring incomplete, errors occurred! Expected Results: Builds.
Please do include the full build.log for reports like this if you can (and the referenced CMake*.txt files it should mention). And emerge --info.
*** Bug 823946 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e66040a0ed9da569a73663026e362c50a492c3a commit 9e66040a0ed9da569a73663026e362c50a492c3a Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2021-11-16 10:54:59 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2021-11-16 11:03:04 +0000 dev-libs/libphonenumber: Fix testing.patch, restrict tests Set CMAKE_USE_DIR instead of S to make git patches apply. Closes: https://bugs.gentoo.org/823902 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org> .../files/libphonenumber-8.12.37-cmake.patch | 8 +-- .../files/libphonenumber-8.12.37-testing.patch | 68 ++++++++++++++++++---- .../libphonenumber/libphonenumber-8.12.37.ebuild | 6 +- 3 files changed, 63 insertions(+), 19 deletions(-)