Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677258 - net-libs/google-cloud-cpp-0.5.0 should depend on dev-cpp/gtest - CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
Summary: net-libs/google-cloud-cpp-0.5.0 should depend on dev-cpp/gtest - CMake Error ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
: 677068 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-02-04 17:23 UTC by Lehi Toskin
Modified: 2019-03-31 13:46 UTC (History)
1 user (show)

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


Attachments
build.log (google-cloud-cpp-0.5.0-build.log,5.65 KB, text/plain)
2019-02-04 17:24 UTC, Lehi Toskin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lehi Toskin 2019-02-04 17:23:24 UTC
net-libs/google-cloud-cpp-0.5.0 fails to build, saying it requires dev-cpp/gtest before it can continue

Reproducible: Always

Steps to Reproduce:
1. emerge net-libs/google-cloud-cpp-0.5.0 *without* gtest installed
Actual Results:  
Emerge will fail

Expected Results:  
Emerge should pull dev-cpp/gtest as a dependency of net-libs/google-cloud-cpp
Comment 1 Lehi Toskin 2019-02-04 17:24:32 UTC
Created attachment 563718 [details]
build.log

Build log of emerge net-libs/google-cloud-cpp-0.5.0
Comment 2 Peter Serbe 2019-03-12 17:41:39 UTC
it should also comprise clang as a dependency...
Comment 3 Michael Moon 2019-03-28 12:35:48 UTC
This affects me too.

I created an ebuild in my local overlay that depends on dev-cpp/gtest which pulls  gtest and then installs successfully.
Comment 4 Jason Zaman gentoo-dev 2019-03-30 14:25:05 UTC
*** Bug 677068 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2019-03-31 13:46:27 UTC
The bug has been closed via the following commit(s):

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

commit 7c9d530dc47c17e12b6d0724a80e12c6e11932b6
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2019-03-30 14:24:12 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2019-03-31 13:45:32 +0000

    net-libs/google-cloud-cpp: add gtest bdep
    
    Closes: https://bugs.gentoo.org/677258
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 net-libs/google-cloud-cpp/google-cloud-cpp-0.5.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)