Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524400 - 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
Summary: app-admin/collectd USE=collectd_plugins_write_mongodb with dev-libs/mongo-c-d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Johan Bergström
URL: https://github.com/collectd/collectd/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-03 19:49 UTC by Louis Sautier (sbraz)
Modified: 2016-02-29 16:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>