Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591848 - dev-libs/mongo-cxx-driver-1.1.2 does not include dependencies for unittests, which cannot be disabled
Summary: dev-libs/mongo-cxx-driver-1.1.2 does not include dependencies for unittests, ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
: 591954 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-08-22 10:35 UTC by Jan-Matthias Braun
Modified: 2017-07-08 04:08 UTC (History)
2 users (show)

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


Attachments
Add gtest build dependency to allow compilation on systems without gtest framework installed. (add_gtest_build_dep.patch,360 bytes, patch)
2016-08-22 10:35 UTC, Jan-Matthias Braun
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Matthias Braun 2016-08-22 10:35:07 UTC
Created attachment 443850 [details, diff]
Add gtest build dependency to allow compilation on systems without gtest framework installed.

Compilation fails with missing gtest headers.
The compilation seems to be unconditional in the scons configuration, therefore the ebuild should depend on gtest.

Attached is the easiest patch to at least enable compilation on systems which do not have gtest installed by default, by adding the depend.
Comment 1 Balint SZENTE 2016-11-04 09:36:36 UTC
See bug 591954, comment 5.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2017-07-08 04:07:43 UTC
*** Bug 591954 has been marked as a duplicate of this bug. ***
Comment 3 Michael Palimaka (kensington) gentoo-dev 2017-07-08 04:08:50 UTC
Thanks, fixed in git using Balint's suggestion.

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