Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 524400

Summary: app-admin/collectd USE=collectd_plugins_write_mongodb with dev-libs/mongo-c-driver-0.98.2 - conftest.c:191:19: fatal error: mongo.h: No such file or directory
Product: Gentoo Linux Reporter: Louis Sautier (sbraz) <sbraz>
Component: Current packagesAssignee: Johan Bergström <bugs>
Status: RESOLVED FIXED    
Severity: normal CC: proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/collectd/collectd/issues/492
Whiteboard:
Package list:
Runtime testing required: ---

Description Louis Sautier (sbraz) gentoo-dev 2014-10-03 19:49:17 UTC
Emerging collectd with collectd_plugins_write_mongodb enabled and dev-libs/mongo-c-driver 0.98.2 makes it fail during configure with the following error:
conftest.c:191:19: fatal error: mongo.h: No such file or directory
It seems that since 0.90.0, the mongodb library changed a lot : https://github.com/mongodb/mongo-c-driver/releases/tag/0.90.0
The ebuild should require a version of dev-libs/mongo-c-driver older than 0.90.0, like 0.8.1-r1.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-03 20:20:13 UTC
(In reply to Louis Sautier from comment #0)
> The ebuild should require a version of dev-libs/mongo-c-driver older than
> 0.90.0, like 0.8.1-r1.

Obviously you mean the exact opposite: fix collectd, and not "depend" on older versions of dependencies to stick around forever.
Comment 2 Louis Sautier (sbraz) gentoo-dev 2014-10-08 15:18:18 UTC
Well, that would probably the best solution but a bug would have to be opened upstream in that case, wouldn't it?
I don't think Gentoo developers can do much about the issue then.
Comment 3 Patrice Clement gentoo-dev 2016-02-29 16:20:27 UTC
commit 0351034075163e36645165d2b1e5683fd7511015 (HEAD -> master)
Merge: a0b7390 3b459b6
Author: Patrice Clement <monsieurp@gentoo.org>
Date:   Mon Feb 29 15:31:16 2016 +0000

Merge github#887: app-admin/collectd: Version bump to v5.5.1

This PR bumps collectd to version 5.5.1 and fixes a raft of bugs.

See commit 3b459b6d37f22f9da2c070173756bf12de2591f0 for a lengthy explanation
concerning the changes involved.

Pull-Request: https://github.com/gentoo/gentoo/pull/887
Gentoo-Bug: https://bugs.gentoo.org/570766
Gentoo-Bug: https://bugs.gentoo.org/517060
Gentoo-Bug: https://bugs.gentoo.org/524400
Gentoo-Bug: https://bugs.gentoo.org/570778
Reporter: Thomas D <whissi@whissi.de>
Acked-by: Johan Bergström <bugs@bergstroem.nu>
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>