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: RESOLVED FIXED
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-05-06 19:34 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.
Comment 16 Larry the Git Cow gentoo-dev 2025-05-06 19:20:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25f98c57ed251a6352419c34840a9849e61bfd8b

commit 25f98c57ed251a6352419c34840a9849e61bfd8b
Author:     François Valenduc <francoisvalenduc@gmail.com>
AuthorDate: 2025-05-02 11:14:36 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-06 19:10:34 +0000

    dev-db/mongodb: add 8.0.8
    
    Bug: https://bugs.gentoo.org/882515
    Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/41580
    Closes: https://github.com/gentoo/gentoo/pull/41580
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mongodb/Manifest                            |   1 +
 dev-db/mongodb/files/mongodb-8.0.4-scons.patch     |  25 ++
 .../files/mongodb-8.0.6-fixes-for-boost-1.85.patch | 267 +++++++++++++++++++++
 ...odb-8.0.6-mozjs-remove-unused-constructor.patch |  28 +++
 .../files/mongodb-8.0.6-skip-reqs-check.patch      |  24 ++
 .../mongodb/files/mongodb-8.0.6-use-tenacity.patch |  37 +++
 dev-db/mongodb/mongodb-8.0.8.ebuild                | 212 ++++++++++++++++
 7 files changed, 594 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c43cb4a04c6df2de851fe7a739bcaeb27b8668c

commit 5c43cb4a04c6df2de851fe7a739bcaeb27b8668c
Author:     François Valenduc <francoisvalenduc@gmail.com>
AuthorDate: 2025-05-02 11:13:20 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-06 19:10:33 +0000

    dev-db/mongodb: add 7.0.18
    
    Bug: https://bugs.gentoo.org/882515
    Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/41580
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mongodb/Manifest                            |   1 +
 dev-db/mongodb/files/extrapatch-sconstruct.patch   |  16 ++
 .../mongodb/files/mongodb-7.0.1-sconstruct.patch   | 115 ++++++++++
 .../mongodb/files/mongodb-7.0.18-boost-1.85.patch  | 204 ++++++++++++++++++
 .../mongodb/files/mongodb-7.0.2-sconstruct.patch   | 236 +++++++++++++++++++++
 dev-db/mongodb/mongodb-7.0.18.ebuild               | 206 ++++++++++++++++++
 6 files changed, 778 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228a8c8a4347097e136ac25145e09a659827054b

commit 228a8c8a4347097e136ac25145e09a659827054b
Author:     François Valenduc <francoisvalenduc@gmail.com>
AuthorDate: 2025-05-02 11:12:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-06 19:10:33 +0000

    dev-db/mongodb: add 6.0.22
    
    Bug: https://bugs.gentoo.org/882515
    Signed-off-by: François Valenduc <francoisvalenduc@gmail.com>
    Part-of: https://github.com/gentoo/gentoo/pull/41580
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mongodb/Manifest                            |   1 +
 .../mongodb/files/mongodb-6.0.0-boost-1.79.patch   |  81 ++++++
 dev-db/mongodb/files/mongodb-6.0.0-gcc12.patch     |  12 +
 .../files/mongodb-6.0.2-sconstruct-changes.patch   |  93 +++++++
 .../mongodb/files/mongodb-6.0.21-boost-1.85.patch  | 182 +++++++++++++
 dev-db/mongodb/files/mongodb-6.0.21-cstdint.patch  |  24 ++
 .../mongodb/files/mongodb-6.0.22-boost-1.85.patch  | 286 +++++++++++++++++++++
 dev-db/mongodb/files/mongodb-6.0.7-gcc-13.patch    |  12 +
 dev-db/mongodb/mongodb-6.0.22.ebuild               | 204 +++++++++++++++
 9 files changed, 895 insertions(+)