I wouldn't use 4.0.7-1. It doesn't require wiredtiger commit db5942dc, as upstream expects. See https://github.com/mongodb/mongo/commit/0a201aa5bff44f490b970727587b60066c3ce1a7
As separate packages, mongodb and wiredtiger almost always need to be upgraded at the same time.
I'm wondering if it makes continued sense for mongodb to have wiredtiger as a separate dependency. By default, it pulls in its dependencies' source by the specified commit in its mongodb git repo. Haivng it use the system wiredtiger is from when they were in community.
Some if its dependencies can be specified to use the system-installed packages, but can't, because they either require older versions than Arch has, or have their own in-repo patches they didn't submit upstream. Like, asio, icu, boost, and strangely even mongo-c.
Since if you're going to use mongodb, you have to have wiredtiger by one of these methods, and wiredtiger isn't used for anything other than mongodb, having them separate seems like it's just adding extra steps for users to build. (mongodb-3.4 does of course depend on wiredtiger, but that conflicts with this package, and I'm not sure it's safe for it to be given the commit that current stable mongodb requires anyway.)
EDIT: I'm now leaning toward keeping wiredtiger separate. Statically building it in-tree doesn't provide the files wiredtiger does, and users could be using its headers and libraries. Additionally, we'd have to look into the other wiredtiger configure options (leveldb, lz4, tcmalloc, builtin zlib) can/should be added when building within mongo. Probably not worth investing time in, easier for the 3 involved maintainers to just become maintainers of both packages.
Pinned Comments
JstKddng commented on 2022-08-03 23:28 (UTC)
Binary builds are available:
https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb
JstKddng commented on 2022-08-03 23:28 (UTC)
If you have a pre-sandybridge CPU or an ARMv8 sbc, you can use mongodb44
If you'd like to stay in the V5.0 branch, you can use mongodb50
JstKddng commented on 2022-08-03 23:25 (UTC)
The
mongo
utility will be removed in future releases. Switching tomongosh
is recommended.