summaryrefslogtreecommitdiff
path: root/dev-db/mongodb
AgeCommit message (Collapse)Author
18 hoursdev-db/mongodb: backport pymongo depSam James
... from 5c43cb4a04c6df2de851fe7a739bcaeb27b8668c. Closes: https://bugs.gentoo.org/962405 Signed-off-by: Sam James <sam@gentoo.org>
18 hoursdev-db/mongodb: fix python_check_depsSam James
Pointed out by negril. Bug: https://bugs.gentoo.org/962405 Signed-off-by: Sam James <sam@gentoo.org>
2025-11-04dev-*/*: update for virtual/zlibMichał Górny
Update done using: ``` git grep -l sys-libs/zlib dev-* | xargs sed -i -e s@sys-libs/zlib@virtual/zlib@g git diff --name-only | xargs copybump git diff --name-only | xargs grep -l PYTHON_COMPAT | xargs gpy-impl -@dead pkgcheck scan --commits -c SourcingCheck,VisibilityCheck --exit error ``` Followed by manual revert in dev-python/zlib-ng where it accidentally caught sys-libs/zlib-ng dependencies. Signed-off-by: Michał Górny <mgorny@gentoo.org>
2025-09-17dev-db/mongodb: fix build issue w/ clang 20Z. Liu
upstream patch is applied, otherwise the build w/ clang 20 fails with: > src/mongo/bson/util/bsoncolumnbuilder.h:285:49: error: call to deleted constructor of 'const mongo::TrackingAllocator<void> &' However, the build still fails with: > /usr/bin/x86_64-pc-linux-gnu-ld.bfd: build/gentoo/mongo/db/storage/wiredtiger/wiredtiger_record_store.o: in function `mongo::WiredTigerRecordStore::getEarliestOplogTimestamp(mongo::OperationContext*)': > /usr/lib/gcc/x86_64-pc-linux-gnu/14/include/g++-v14/bits/atomic_base.h:1002:(.text+0x7da9): undefined reference to `__atomic_compare_exchange' > clang++: error: linker command failed with exit code 1 (use -v to see invocation) The reason is that Timestamp is a composite type, which requires -latomic when building with clang++ and libstdc++. Mongodb's SConstruct only checks for some basic types ('int64_t', 'uint64_t', 'int32_t', 'uint32_t'), so this case is not detected. Test case below: $ cat a.cc #include <atomic> struct Timestamp { unsigned int t, i; }; template<typename T> struct AtomicWord { std::atomic<T> v; T compareAndSwap(T e, T n) { v.compare_exchange_strong(e,n); return e; } }; int main() { AtomicWord<Timestamp> x; Timestamp a{0,0}, b{1,1}; x.compareAndSwap(a,b); return 0; } $ clang++ -stdlib=libstdc++ a.cc /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /tmp/a-1e3f91.o: in function `std::atomic<Timestamp>::compare_exchange_strong(Timestamp&, Timestamp, std::memory_order, std::memory_order)': a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x222): undefined reference to `__atomic_compare_exchange' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x28d): undefined reference to `__atomic_compare_exchange' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x2f8): undefined reference to `__atomic_compare_exchange' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x3c1): undefined reference to `__atomic_compare_exchange' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x42c): undefined reference to `__atomic_compare_exchange' /usr/bin/x86_64-pc-linux-gnu-ld.bfd: /tmp/a-1e3f91.o:a.cc:(.text._ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_[_ZNSt6atomicI9TimestampE23compare_exchange_strongERS0_S0_St12memory_orderS3_]+0x497): more undefined references to `__atomic_compare_exchange' follow clang++: error: linker command failed with exit code 1 (use -v to see invocation) Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43808 Closes: https://github.com/gentoo/gentoo/pull/43808 Signed-off-by: Sam James <sam@gentoo.org>
2025-09-06dev-db/mongodb: Stabilize 8.0.8 amd64, #958898Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-05dev-db/mongodb: fix whitespaceSam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-05dev-db/mongodb: add 8.0.12François Valenduc
Signed-off-by: François Valenduc <francoisvalenduc@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43194 Closes: https://github.com/gentoo/gentoo/pull/43194 Signed-off-by: Sam James <sam@gentoo.org>
2025-09-05dev-db/mongodb: add 7.0.23Alfred Wingate
Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43287 Closes: https://github.com/gentoo/gentoo/pull/43287 Signed-off-by: Sam James <sam@gentoo.org>
2025-09-05dev-db/mongodb: add 6.0.25Alfred Wingate
Bug: https://bugs.gentoo.org/954813 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43287 Signed-off-by: Sam James <sam@gentoo.org>
2025-09-05dev-db/mongodb: add 5.0.31Alfred Wingate
Bug: https://bugs.gentoo.org/954813 Signed-off-by: Alfred Wingate <parona@protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43287 Signed-off-by: Sam James <sam@gentoo.org>
2025-05-07dev-db/mongodb: fix FILESDIR referencesSam James
Bad sed. Closes: https://bugs.gentoo.org/955547 Fixes: 8ee176dbe6fb61293b3b0ac57d859261e0ca902e Signed-off-by: Sam James <sam@gentoo.org>
2025-05-06dev-db/mongodb: disable py3.10Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-06dev-db/mongodb: move all patches to devspaeSam James
Wanted to do this after because the patches are a mess and having some history for them is good. Signed-off-by: Sam James <sam@gentoo.org>
2025-05-06dev-db/mongodb/files: restore PATH commentary in patchesSam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-05-06dev-db/mongodb: add 8.0.8François Valenduc
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>
2025-05-06dev-db/mongodb: add 7.0.18François Valenduc
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>
2025-05-06dev-db/mongodb: add 6.0.22François Valenduc
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>
2025-04-06dev-db/mongodb: drop 5.0.26Robert Förster
Bug: https://bugs.gentoo.org/944308 Closes: https://bugs.gentoo.org/942112 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/41271 Signed-off-by: Jay Faulkner <jayf@gentoo.org>
2025-03-21dev-db/mongodb: Stabilize 5.0.30 amd64, #951686Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2025-02-22dev-db/mongodb: Fix incorrect REPLACING_VERSIONS usageUlrich Müller
Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2024-12-12dev-db/mongodb: fix build error w/ clang 19Z. Liu
Backport from upstream commit 33cdc6655b0de44cb7a431216dcbb0d5a552aec6 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/39677 Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11dev-db/mongodb: add PATH to Environment, otherwise build failed w/ clangZ. Liu
Closes: https://bugs.gentoo.org/829340 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/38444 Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11dev-db/mongodb: restore .gh in SRC_URISam James
It's useful to disambiguate between autogenerated gh tarballs and real release tarballs. Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11dev-db/mongodb: drop 4.4.29Robert Förster
Closes: https://bugs.gentoo.org/934178 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/38551 Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11dev-db/mongodb: add 5.0.30Robert Förster
Closes: https://bugs.gentoo.org/843329 Closes: https://bugs.gentoo.org/908987 Closes: https://bugs.gentoo.org/932278 Closes: https://bugs.gentoo.org/938962 Bug: https://bugs.gentoo.org/944308 Signed-off-by: Robert Förster <Dessa@gmake.de> Signed-off-by: Sam James <sam@gentoo.org>
2024-12-11dev-db/mongodb: rebase boost 1.79 patch and split 1.85 patch in two to reuse ↵Robert Förster
it in 6 Signed-off-by: Robert Förster <Dessa@gmake.de> Signed-off-by: Sam James <sam@gentoo.org>
2024-07-23dev-db/mongodb: fix configure with --jobs optionAzamat H. Hackimov
Reapply fix from #906897. Bug: https://bugs.gentoo.org/906897 Closes: https://bugs.gentoo.org/935274 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/37686 Signed-off-by: Sam James <sam@gentoo.org>
2024-07-15dev-db/mongodb: backport boost-1.85 fix to 4.4.xSam James
Thanks to Gary. Closes: https://bugs.gentoo.org/932251 Signed-off-by: Sam James <sam@gentoo.org>
2024-05-30dev-db/mongodb: drop 4.4.20, 5.0.16-r1Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2024-05-28dev-db/mongodb: Stabilize 5.0.26 amd64, #932941Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-05-28dev-db/mongodb: fix build w/ boost-1.85Sam James
Closes: https://bugs.gentoo.org/932251 Thanks-to: Jura <me@slie.ru> Signed-off-by: Sam James <sam@gentoo.org>
2024-05-14dev-db/mongodb: add missing patchRobert Förster
Closes: https://bugs.gentoo.org/931736 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/36669 Signed-off-by: Sam James <sam@gentoo.org>
2024-05-10dev-db/mongodb: add 4.4.29, 5.0.26Robert Förster
Bug: https://bugs.gentoo.org/843329 Bug: https://bugs.gentoo.org/908987 Closes: https://bugs.gentoo.org/919768 Closes: https://bugs.gentoo.org/929386 Signed-off-by: Robert Förster <Dessa@gmake.de> Closes: https://github.com/gentoo/gentoo/pull/36591 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2024-01-17Move {dev-util → dev-build}/sconsMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-13Move {dev-util → dev-debug}/valgrindMichał Górny
Signed-off-by: Michał Górny <mgorny@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/34786 Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-01-07dev-db/mongodb: disable py3.9Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2024-01-07dev-db/mongodb: drop USE=ltoSam James
As noted in the bug (and this is why we're removing it in general unless it's useful), it has confusing semantics if the user passes -flto in their *FLAGS. After inspecting the upstream build system, the LTO build option which USE=lto wires up does nothing useful, so drop it. Closes: https://bugs.gentoo.org/915081 Signed-off-by: Sam James <sam@gentoo.org>
2024-01-07dev-db/mongodb: fix indentationSam James
Signed-off-by: Sam James <sam@gentoo.org>
2023-12-18profiles/use.desc: Make USE=lto globalMichał Górny
Add a global USE=lto flag. The flag is used semi-consistently in 31 packages, with a few adding extra information. That said, probably many of these uses are invalid, as they are equivalent to adding `-flto` to CFLAGS. Signed-off-by: Michał Górny <mgorny@gentoo.org>
2023-09-09dev-db/mongodb: fix build w/ gcc 13David Seifert
Closes: https://bugs.gentoo.org/912416 Signed-off-by: David Seifert <soap@gentoo.org>
2023-05-23dev-db/mongodb: fix build w/ arm64+gcc-12Sam James
Closes: https://bugs.gentoo.org/855128 Signed-off-by: Sam James <sam@gentoo.org>
2023-05-23dev-db/mongodb: allow MAKEOPTS -jN > nprocSam James
Closes: https://bugs.gentoo.org/906897 Signed-off-by: Sam James <sam@gentoo.org>
2023-05-16dev-db/mongodb: drop 4.4.10-r1, 5.0.5-r2Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2023-05-05dev-db/mongodb: Stabilize 4.4.20 amd64, #905614Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-05-03dev-db/mongodb: Stabilize 5.0.16-r1 amd64, #905613Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2023-04-20dev-db/mongodb: add 4.4.20Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2023-04-20dev-db/mongodb: drop 4.4.8-r1, 4.4.8-r2Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2023-04-20dev-db/mongodb: support python3.11 closes #896672Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2023-04-19dev-db/mongodb: add 5.0.16Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2023-03-31dev-db/mongodb: Stabilize 4.4.8-r2 amd64, #888926Arthur Zamarin
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>