Starting from dev-db/mongodb-2.0.7 the mongoclient shared library is not compiled and installed anymore. The last good ebuild was 2.0.6 Reproducible: Always Steps to Reproduce: 1. USE="-static-libs" emerge mongodb Actual Results: # equery f mongodb | grep libmongoclient # libmongoclient.so is missing Expected Results: libmongoclient.so should be installed. Please add back the --sharedclient option, as it was before version 2.0.7: scons_opts=" --cc=$(tc-getCC) --cxx=$(tc-getCXX) --sharedclient"
Created attachment 338982 [details, diff] mongodb-2.0.7_sharedclient.patch Every mongodb ebuild is broken, so please apply this patch to *each* ebuild in the portage tree.
Hi Balint, sorry for the delay. I'll look into this bug today and keep you posted. Thank you
@Balint, did you get a successful compilation after adding this option plz ? If so, could you provide your build.log ? Cheers
Created attachment 341010 [details] Build log of patched dev-db/mongodb-2.0.7-r1 ebuild I made a local overlay, with the patched ebuild, and this is how I use it. Did you encountered some issues?
(In reply to comment #4) > Created attachment 341010 [details] > Build log of patched dev-db/mongodb-2.0.7-r1 ebuild > > I made a local overlay, with the patched ebuild, and this is how I use it. > > Did you encountered some issues? Yep so far I'm able to only get it working for <boost-1.50 ebuilds and 2.0.x versions.. gonna try a bit more but I don't have much spare time to dig into the sources and find the problem.
Fixed the 2.0.x ebuilds in tree + 05 Mar 2013; Ultrabug <ultrabug@gentoo.org> mongodb-2.0.7-r1.ebuild, + mongodb-2.0.7-r2.ebuild, mongodb-2.0.8-r1.ebuild, mongodb-2.0.8-r2.ebuild: + install the mongoclient shared library wrt #457694 for 2.0.x versions thx to + Balint SZENTE + Starting with 2.2.0 it doesnt work anymore, we should try and investigate who's the culprit on this. If one feels limited by this, open a new bug targeting the 2.2.x series plz.
I did not test with >=2.2.x, I will check it in the next days, and eventually will make a new issue. Thank you.
For 2.1.2+ it is an upstream bug: <https://jira.mongodb.org/browse/SERVER-6514>
Created attachment 341298 [details, diff] mongodb-2.2.0-r1.ebuild.patch Patch for the ebuild. You should apply this to each 2.2.x ebuild
Please ignore my previous comment. I made a mistake, I mixed the browser windows. I'm sorry.