Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505280 - dev-libs/mongo-c-driver-0.98.0 version bump
Summary: dev-libs/mongo-c-driver-0.98.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-21 16:58 UTC by Jeroen Roovers (RETIRED)
Modified: 2014-07-23 16:25 UTC (History)
2 users (show)

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


Attachments
libbson-0.98.0.ebuild (libbson-0.98.0.ebuild,762 bytes, text/plain)
2014-07-16 23:53 UTC, Johan Bergström
Details
mongo-c-driver-0.98.0.ebuild (mongo-c-driver-0.98.0.ebuild,1.59 KB, text/plain)
2014-07-17 04:48 UTC, Johan Bergström
Details
libbson-0.98.0.ebuild (libbson-0.98.0.ebuild,982 bytes, text/plain)
2014-07-17 04:49 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2014-03-21 16:58:13 UTC
Looks like they're getting serious with >=0.90.0:
    "
     We will rapidly work towards reaching an API/ABI stable library fit for a
     1.0.0 release.
    "
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2014-03-27 17:11:09 UTC
Just for reference; pmacct is unable to cope with that new-style (>=0.90.0) mongo-c-driver right now. As such I have committed an 0.8.1-r1 release that does work; you may be able to drop the mask for pmacct-1.5.0_rc2 if that was the only reason you wanted this bumped up.
Comment 2 Johan Bergström 2014-03-28 02:45:26 UTC
A lot of changes in this version regarding build. We should also split out bson into dev-libs/bson.

I can work on an ebuild over the weekend.
Comment 3 Ultrabug gentoo-dev 2014-05-04 13:58:18 UTC
(In reply to Johan Bergström from comment #2)
> A lot of changes in this version regarding build. We should also split out
> bson into dev-libs/bson.
> 
> I can work on an ebuild over the weekend.

Can you please ? and post it here, cheers mate
Comment 4 Johan Bergström 2014-07-02 01:50:33 UTC
I'm waiting for 0.96.5 before pushing this through. Contains a few build fixes. We should be good netizens here and provide a better patch for their build system, since their way of including building tests/examples will currently be included based on configure flags, meaning we can't for instance build tests if we only want to run them.
Comment 5 Johan Bergström 2014-07-16 23:53:38 UTC
Created attachment 380854 [details]
libbson-0.98.0.ebuild

Here's the dependency for mongo-c-driver 0.98.0. I'm still not in love with how their Makefile system is setup, but everything at least works as intended.

Next step mongo-c-driver ebuild. This will encounter a few problems with packages depending on it since the api/abi has changed a lot. We might have to run through all those packages and make sure they depend on the older versions until they support the newer library. 

0.98.0 is supposed to be the RC up to 1.0, so this is a perfect time to get it in and start testing.
Comment 6 Johan Bergström 2014-07-17 04:48:28 UTC
Created attachment 380856 [details]
mongo-c-driver-0.98.0.ebuild

Here's an ebuild for mongo-c-driver.

A few things:
 - still bugs with missing -pthread (https://github.com/mongodb/mongo-c-driver/issues/54)
 - Needs to run with a journalled mongodb; lowest space req I could do is 2x128mb (https://github.com/mongodb/mongo-c-driver/issues/59)
 - Cant find a satisfactory way of starting the mongod instance as another user (which would be preferred)
Comment 7 Johan Bergström 2014-07-17 04:49:24 UTC
Created attachment 380858 [details]
libbson-0.98.0.ebuild

Updated ebuild to fix a potential issue with -pthread.
Comment 8 Johan Bergström 2014-07-17 04:52:53 UTC
Here's a list of packages depending on the library:
 - net-analyzer/pmacct
 - app-admin/collectd
 - app-admin/rsyslog

..since the c library was "somewhat" bundled with mongodb previously, the list of packages might be slightly longer. Anyway, I think we're in a pretty good spot to introduce this.
Comment 9 Johan Bergström 2014-07-17 06:02:24 UTC
Oh, feel free to add me as co-maintainer for libbson.
Comment 10 Ultrabug gentoo-dev 2014-07-23 15:59:24 UTC
ok, started to catch up, libbson is in tree now

thx for your patience guys and thx a lot johan

+*libbson-0.98.0 (23 Jul 2014)
+
+  23 Jul 2014; Ultrabug <ultrabug@gentoo.org> +libbson-0.98.0.ebuild,
+  +metadata.xml:
+  initial ebuild thx to Johan Bergström in #505280
+
Comment 11 Ultrabug gentoo-dev 2014-07-23 16:25:24 UTC
+*mongo-c-driver-0.98.0 (23 Jul 2014)
+
+  23 Jul 2014; Ultrabug <ultrabug@gentoo.org> +mongo-c-driver-0.98.0.ebuild:
+  version bump wrt #505280 thx to Johan Bergström
+

this one done too !

I've done the re-keyword bugs also on #517880 and #517882

Closing this one now, thx guys