Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 337973 - dev-db/mongodb-1.8.0 version bump
Summary: dev-db/mongodb-1.8.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement with 7 votes (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
: 351865 (view as bug list)
Depends on: 342577
Blocks: 340032
  Show dependency tree
 
Reported: 2010-09-18 18:34 UTC by Johan Bergström
Modified: 2011-04-13 15:18 UTC (History)
9 users (show)

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


Attachments
mongodb-1.6.2.ebuild (mongodb-1.6.2.ebuild,1.80 KB, text/plain)
2010-09-18 18:36 UTC, Johan Bergström
Details
mongodb-1.6.2-fix-scons.patch (mongodb-1.6.2-fix-scons.patch,861 bytes, patch)
2010-09-18 18:36 UTC, Johan Bergström
Details | Diff
mongodb-1.6.2-fix-shared.patch (mongodb-1.6.2-fix-shared.patch,1.57 KB, patch)
2010-09-18 18:37 UTC, Johan Bergström
Details | Diff
Re-rolled patch to work with mongodb-1.6.3.ebuild (mongodb-1.6.3-fix-shared.patch,662 bytes, patch)
2010-10-25 06:35 UTC, Nao Nakashima
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2010-09-18 18:34:20 UTC
So, new version out. This bump grew a bit though; files soon attached.

Changes:
 - build shared library by default (static library available through static-libs) – bug 337085
 - pick up system ldflags – bug 334081
 - depend on libpcap – bug 329167

Open "issues":
 - USE=static-libs currently toggles shared/static. Should it be both?
 - If you use the developer profile, scons will also install stuff into /usr/lib/debug/* for reasons I haven't really grasped just yet.
 - scons 2.0.1 will fix most of the stuff patched in by the "fix-scons" patch, but there's really no need for it yet.
Comment 1 Johan Bergström 2010-09-18 18:36:18 UTC
Created attachment 247894 [details]
mongodb-1.6.2.ebuild
Comment 2 Johan Bergström 2010-09-18 18:36:42 UTC
Created attachment 247896 [details, diff]
mongodb-1.6.2-fix-scons.patch
Comment 3 Johan Bergström 2010-09-18 18:37:03 UTC
Created attachment 247898 [details, diff]
mongodb-1.6.2-fix-shared.patch
Comment 4 Johan Bergström 2010-09-19 08:44:37 UTC
(In reply to comment #0)
>  - If you use the developer profile, scons will also install stuff into
> /usr/lib/debug/* for reasons I haven't really grasped just yet.

This most likely happens in previous versions as well.
Comment 5 Johan Bergström 2010-09-20 14:20:41 UTC
FYI: http://jira.mongodb.org/browse/CDRIVER-24
Comment 6 Johan Bergström 2010-09-27 13:50:54 UTC
Mongodb 1.6.3 is out - renaming all files works nicely at my place.
Comment 7 Nao Nakashima 2010-10-25 06:35:10 UTC
Created attachment 251895 [details, diff]
Re-rolled patch to work with mongodb-1.6.3.ebuild

Re-rolled patch to work with mongodb-1.6.3.ebuild
Comment 8 Johan Bergström 2010-10-27 12:32:40 UTC
Version bump. Please use Nao's fix-shared patch from now on.
Comment 9 Lance Albertson (RETIRED) gentoo-dev 2010-11-07 04:46:34 UTC
(In reply to comment #0)
> So, new version out. This bump grew a bit though; files soon attached.
> 
> Changes:
>  - build shared library by default (static library available through
> static-libs) – bug 337085

According to comment #4 upstream doesn't recommend building with the shared library. I'd rather not do that unless its supported upstream.

>  - pick up system ldflags – bug 334081

Thanks for the patch!

>  - depend on libpcap – bug 329167
> 
> Open "issues":
>  - USE=static-libs currently toggles shared/static. Should it be both?

If we use it, it should be called static which only does shared.

>  - If you use the developer profile, scons will also install stuff into
> /usr/lib/debug/* for reasons I haven't really grasped just yet.

Probably the default location for debugging symbols.

>  - scons 2.0.1 will fix most of the stuff patched in by the "fix-scons" patch,
> but there's really no need for it yet.


Looks like scons 2.0.1 is now stable, I could just go ahead and make it the new dep.
Comment 10 Johan Bergström 2010-12-10 21:50:50 UTC
1.6.5 is out..
Comment 11 Johan Bergström 2010-12-10 23:06:17 UTC
Just ran tests, checked patches and compiled on AMD64 against both spidermonkey and v8 (2.5.6 and 2.5.9.1). They all pass. Maintainers: please let me know if I should continue working on this. Feels a bit sad to put time into each version bump then see another one coming :-(
Comment 12 Joel Berendzen 2011-01-04 19:05:39 UTC
(In reply to comment #11)
> Just ran tests, checked patches and compiled on AMD64 against both spidermonkey
> and v8 (2.5.6 and 2.5.9.1). They all pass. Maintainers: please let me know if I
> should continue working on this. Feels a bit sad to put time into each version
> bump then see another one coming :-(
> 

Hi, Johan.  I'm not a maintainer, but a user, and I appreciate your work.  Please keep updating.
Comment 13 Dustin Polke 2011-01-17 08:34:13 UTC
*** Bug 351865 has been marked as a duplicate of this bug. ***
Comment 14 Maxim Ivanov 2011-01-23 10:22:14 UTC
Dear maintainers,
please explain the reason why work which was done Johan is not in portage still?
Comment 15 Johan Bergström 2011-02-03 14:54:06 UTC
Please consider that latest spidermonkey lacks USE=unicode, dependencies needs to be changed to reflect this.
Comment 16 Julien Sanchez archtester 2011-03-17 12:12:17 UTC
MongoDB 1.8 is now out (http://www.mongodb.org/display/DOCS/1.8+Release+Notes) but previous 1.6.5 version still not in portage. Why? Could not it be proxy-maintained between Johan and Lance?
Comment 17 Johan Bergström 2011-03-17 12:18:25 UTC
I've been doing tests with the RC's. I will make one more ebuild for mongo which hopefully will be merged, but then I'm done. I'll post the ebuild during the weekend and will try to fix most open mongodb bugs while at it.
Comment 18 Ultrabug gentoo-dev 2011-03-30 11:11:50 UTC
@Johan / Lance :
I permitted myself to make this bug depend on bug #342577 as dev-lang/spidermonkey-1.9.2.15 is being stabilized but the unicode flag was dropped.

I've been also trying to work on the 1.8 ebuild but as your involvement in this package is longer than mine, maybe you have an input on these matters ?

Thanks
Comment 19 Tianon 2011-04-07 10:57:45 UTC
Just a quick heads up that we hit 1.8.1 yesterday (2011-04-06).

As a side note, really looking forward to the covered index support in 1.8.  On a test server in our operation, it's given us quite significant speed gains for most of our simple queries.  Good stuff, and in my mind is the main feature for which we need to get 1.8 in tree.
Comment 20 Johan Bergström 2011-04-07 11:08:04 UTC
Hey,

(In reply to comment #19)
> Just a quick heads up that we hit 1.8.1 yesterday (2011-04-06).

Yeah. I actually waited for this since I personally run into a rather nasty bug while upgrading to 1.8 (from 1.6.5), which was fixed in 1.8.1. Sorry for keeping you out of the loop.

> 
> As a side note, really looking forward to the covered index support in 1.8.  On
> a test server in our operation, it's given us quite significant speed gains for
> most of our simple queries.  Good stuff, and in my mind is the main feature for
> which we need to get 1.8 in tree.

I've got a 1.8.1 ebuild brewing, just need to wade through all open bugs and make sure they are accounted for in the ebuild.
Comment 21 Ultrabug gentoo-dev 2011-04-08 15:52:41 UTC
As a heads up on this bug, we're working together with Johan to get a mongodb-1.8.1 bump asap, we'll keep you guys posted.
Comment 22 Tianon 2011-04-12 22:23:25 UTC
Maybe while we wait you could post what you've got so far on this bug? :)  We might be able to help find other problems while you work on getting it "good enough" for going into the tree.
Comment 23 Julien Sanchez archtester 2011-04-13 07:55:32 UTC
(In reply to comment #22)
> Maybe while we wait you could post what you've got so far on this bug? :)  We
> might be able to help find other problems while you work on getting it "good
> enough" for going into the tree.

Perhaps you could use betagarden overlay : http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=summary
Comment 24 Ultrabug gentoo-dev 2011-04-13 08:20:10 UTC
(In reply to comment #23)
> (In reply to comment #22)
> > Maybe while we wait you could post what you've got so far on this bug? :)  We
> > might be able to help find other problems while you work on getting it "good
> > enough" for going into the tree.
> 
> Perhaps you could use betagarden overlay :
> http://git.overlays.gentoo.org/gitweb/?p=proj/betagarden.git;a=summary

FYI, the most up to date version is in my overlay :
http://git.overlays.gentoo.org/gitweb/?p=dev/ultrabug.git;a=summary

And I'm happy to say that we should be done today with Johan so it will very soon be in tree ! :)

Keep in touch, and I will sure keep this bug updated when it's done
Comment 25 Tianon 2011-04-13 08:44:06 UTC
For the lazy or uninitiated, install/configure layman and "sudo layman -a ultrabug".  Very glad to see this, and didn't even think to check your overlay (doh).  Also looking forward to it being in tree.  Thanks for your hard work, guys!  It's definitely appreciated.
Comment 26 Ultrabug gentoo-dev 2011-04-13 15:18:44 UTC
Hey folks,

All this new shiny stuff is in tree now, please give it a try and don't hesitate to give us feedback !

+*mongodb-1.8.1 (13 Apr 2011)
+*mongodb-1.6.5 (13 Apr 2011)
+
+  13 Apr 2011; Ultrabug <ultrabug@gentoo.org> -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.
+