Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337593 - dev-db/mongodb should depend on libpcre being compiled with the cxx useflag
Summary: dev-db/mongodb should depend on libpcre being compiled with the cxx useflag
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
Depends on:
Reported: 2010-09-16 08:47 UTC by Roeland Douma
Modified: 2011-04-13 15:13 UTC (History)
2 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Roeland Douma 2010-09-16 08:47:51 UTC
If libpcre is not compiled with the cxx useflag the configure script of mongodb fails because it can't find "pcrecpp.h".

Compiling libpcre with the cxx flag solves this problem.
Comment 1 Johan Bergström 2010-09-17 08:41:54 UTC
Mongodb 1.7.0 isn't in the tree yet, but thanks for the heads up. Are there any upstream discussions about this?
Comment 2 Jonas Bernoulli 2010-11-12 17:56:47 UTC
This also applies to 1.6.0 which is in the tree.
Comment 3 Johan Bergström 2010-11-24 22:08:10 UTC
Just confirmed this with a 1.6.4 ebuild. We should indeed depend on libpcre[cxx].
Comment 4 Ultrabug gentoo-dev 2011-04-13 15:13:08 UTC
Hi Roeland and thanks for reporting this issue, you're right about this and we fixed this in tree.

+*mongodb-1.8.1 (13 Apr 2011)
+*mongodb-1.6.5 (13 Apr 2011)
+  13 Apr 2011; Ultrabug <> -mongodb-1.2.4.ebuild,
+  -files/mongodb-1.2-modify-post-strip.patch,
+  -files/mongodb-1.2-modify-testing.patch, -mongodb-1.4.4.ebuild,
+  -files/mongodb-1.4-modify-post-strip.patch,
+  -files/mongodb-1.4-modify-testing.patch, -mongodb-1.5.5.ebuild,
+  -mongodb-1.6.0.ebuild, -files/mongodb-1.6.0-fix-scons.patch,
+  +mongodb-1.6.5.ebuild, +files/mongodb-1.6-fix-scons.patch,
+  +mongodb-1.8.1.ebuild, +files/mongodb-1.8-fix-scons.patch,
+  +files/mongos.confd, +files/mongos.initd, files/mongodb.confd,
+  files/mongodb.initd:
+  Mongodb rework/bump. Fix bugs #329167, #334081, #337085, #337593, #337973,
+  #338039, #340032, #356731. Many thanks to Johan Bergström for his help and
+  testing. Drop old versions.

Thanks again