Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 882515 - dev-db/mongodb-6.0.3 version bump
Summary: dev-db/mongodb-6.0.3 version bump
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Ultrabug
URL: https://www.mongodb.com/try/download/...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-11-22 14:41 UTC by Matteo Modesti
Modified: 2025-04-13 19:12 UTC (History)
9 users (show)

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


Attachments
ebuilds for mongodb-7.0.8 and 7.0.9 (mongodb.tar.xz,9.18 KB, application/x-xz)
2024-05-09 13:25 UTC, François Valenduc
Details
ebuilds for mongodb-7.0.12 with python 3.12 and boost-1.85 support (mongodb-7.0.12.ebuild,5.21 KB, application/vnd.gentoo.ebuild)
2024-07-13 16:06 UTC, François Valenduc
Details
mongodb-4.4.29-no-enterprise.patch (mongodb-4.4.29-no-enterprise.patch,969 bytes, patch)
2024-07-13 16:08 UTC, François Valenduc
Details | Diff
patch for boost 1.85 (mongodb-7.0.12-boost-1.85.patch,7.65 KB, patch)
2024-07-13 16:10 UTC, François Valenduc
Details | Diff
mongodb-7.0.1-sconstruct (mongodb-7.0.1-sconstruct.patch,4.83 KB, patch)
2024-07-13 16:12 UTC, François Valenduc
Details | Diff
extrapatch-sconstruct.patch (extrapatch-sconstruct.patch,712 bytes, patch)
2024-07-13 16:13 UTC, François Valenduc
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matteo Modesti 2022-11-22 14:41:02 UTC
Portage only offers MongoDB 5.0.5, while 6.0.3 and 5.0.14 have been released. 5.0.5 is not even +stable. Please update to the new version.
Is anybody maintaining this package?
Thank you in advance

Reproducible: Always
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-30 05:53:26 UTC
ping
Comment 2 Jim Tupper 2023-10-29 23:55:22 UTC
Any further news on this? Mongo is now at v7 upstream
Comment 3 programming 2024-04-24 04:10:28 UTC
7.0.8 is now current.
Comment 4 Jens Kleikamp 2024-04-24 05:48:03 UTC
I could not have imagined this. Very sad whats happening with Gentoo :(
Comment 5 François Valenduc 2024-05-09 13:25:45 UTC
Created attachment 892614 [details]
ebuilds for mongodb-7.0.8 and 7.0.9

This archive contains ebuilds for mongodb 7.0.8 and 7.0.9 and the associated patches taken from archlinux.
Comment 6 François Valenduc 2024-05-09 13:27:57 UTC
However, it does not compile with Python 3.12 because of the imp module does not exists anymore. It seems it is only used in buildscripts/moduleconfig.py.

I don't know how to replace it, and I don't know if it uses other modules removed in Python 3.12.
Comment 7 François Valenduc 2024-07-13 16:06:23 UTC
Created attachment 897534 [details]
ebuilds for mongodb-7.0.12 with python 3.12 and boost-1.85 support
Comment 8 François Valenduc 2024-07-13 16:08:32 UTC
Created attachment 897535 [details, diff]
mongodb-4.4.29-no-enterprise.patch

This patch removes used of the imp module which then allow to compile with python 3.12
Comment 9 François Valenduc 2024-07-13 16:10:01 UTC
Created attachment 897536 [details, diff]
patch for boost 1.85

Adapted from https://bugs.gentoo.org/932251
Comment 10 François Valenduc 2024-07-13 16:12:02 UTC
Created attachment 897537 [details, diff]
mongodb-7.0.1-sconstruct

Taken from archlinux
Comment 11 François Valenduc 2024-07-13 16:13:34 UTC
Created attachment 897538 [details, diff]
extrapatch-sconstruct.patch

Taken from archlinux
Comment 12 François Valenduc 2025-02-19 20:04:23 UTC
How many years will it take to finally bump mongodb ? I have proposed ebuilds for version up to 7.0.12 but 7.0.15 also works, and nothing has been done. However I am not a developer at all and I do not have sufficient knowledge to take over maintainership of the package.
Is this package still maintained in gentoo ?
7.0.16 does not work with boost 1.86 because of a change with change_extension.
I didn't manage to built 8.0 branch either because they switched to poetry and I do not know how to fix the problems.
But upgrading to 7.0.16 should be possible if the problem with newer versions of boost.
I do not understand at all why nothing happens.
Comment 13 François Valenduc 2025-04-11 16:12:53 UTC
Meanwhile, mongodb 5.0 branch is EOL since end of October last year (see https://www.mongodb.com/legal/support-policy/lifecycles).
How many year will be needed to move to newer versions in gentoo ?
Comment 14 François Valenduc 2025-04-12 15:51:13 UTC
For those interested, I managed to solve the problem with change_extension replaced by replace_extension in boost and I successfully compiled 7.0.18. I have put this version and the needed patches here:

https://github.com/fvalenduc/gentoo-portage/tree/bump-mongodb

Should I submit a pull request even if I am not (and do not want to be) the maintainer of mongodb in gentoo ?
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-12 16:15:36 UTC
(In reply to François Valenduc from comment #14)
> 
> Should I submit a pull request even if I am not (and do not want to be) the
> maintainer of mongodb in gentoo ?

Yes, thanks.