summaryrefslogtreecommitdiff
path: root/dev-db/mongodb/files
AgeCommit message (Collapse)Author
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-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-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>
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: 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-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: 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-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>
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-16dev-db/mongodb: drop 4.4.10-r1, 5.0.5-r2Alexys Jacob
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2023-01-30dev-db/mongodb: fix build w/ gcc 13Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-12-31dev-db/mongodb: further Boost 1.81 fixesSam James
Closes: https://bugs.gentoo.org/889020 Signed-off-by: Sam James <sam@gentoo.org>
2022-12-30dev-db/mongodb: drop 4.2.17-r2, 4.2.23Sam James
Signed-off-by: Sam James <sam@gentoo.org>
2022-12-30dev-db/mongodb: fix build w/ boost 1.81Sam James
Closes: https://bugs.gentoo.org/887037 Signed-off-by: Sam James <sam@gentoo.org>
2022-06-18dev-db/mongodb: don't force LLDSam James
See patch for details. Closes: https://bugs.gentoo.org/769986 Signed-off-by: Sam James <sam@gentoo.org>
2022-06-17dev-db/mongodb: fix build with Boost 1.79 for 4.2.17Sam James
Closes: https://bugs.gentoo.org/843290 Signed-off-by: Sam James <sam@gentoo.org>
2022-05-14dev-db/mongodb: fix build with Boost 1.79 (for Mongo 4.4.10)Sam James
Closes: https://bugs.gentoo.org/843290 Signed-off-by: Sam James <sam@gentoo.org>
2022-05-14dev-db/mongodb: fix build with Boost 1.79; fix automagic SSL usageSam James
Bug: https://bugs.gentoo.org/843290 Signed-off-by: Sam James <sam@gentoo.org>
2022-04-26dev-db/mongodb: systemd service set LimitNOFILEDennis Lamm
Closes: https://bugs.gentoo.org/839369 Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 Closes: https://github.com/gentoo/gentoo/pull/25154 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2021-10-29dev-db/mongodb: remove unused patchesMichael Mair-Keimberger
Closes: https://github.com/gentoo/gentoo/pull/22708 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2021-09-21dev-db/mongodb: remove unused patchMichael Mair-Keimberger
Closes: https://github.com/gentoo/gentoo/pull/22356 Package-Manager: Portage-3.0.23, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2021-08-20dev-db/mongodb: fix building with glibc-2.34Tomáš Mózes
Patch taken from https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/43608/11/meta-openembedded/meta-oe/dynamic-layers/meta-python/recipes-dbs/mongodb/mongodb/0001-Do-not-use-MINSIGSTKSZ.patch Closes: https://bugs.gentoo.org/806773 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22052 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2021-08-19dev-db/mongodb: bump to 5.0.2Tomáš Mózes
- Optional dep on new mongosh - Skip tests as they now require new python packages Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2021-08-19dev-db/mongodb: bump to 4.4.8Tomáš Mózes
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2021-08-19dev-db/mongodb: bump to 4.2.15Tomáš Mózes
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/21898 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2021-07-15dev-db/mongodb: fix building against GCC 11.xThomas Deutschmann
Thanks-to: Ivan Budiakov Bug: https://bugs.gentoo.org/768339 Package-Manager: Portage-3.0.21, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
2021-02-20dev-db/mongodb: remove unused patchMichael Mair-Keimberger
Closes: https://github.com/gentoo/gentoo/pull/19551 Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at> Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
2021-01-18dev-db/mongodb: drop pmasked and vulnerable wrt #760827Alexys Jacob
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2020-11-09dev-db/mongodb: bump to 4.4.1Tomáš Mózes
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2020-11-09dev-db/mongodb: bump to 4.0.20/4.2.10Tomáš Mózes
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2020-01-01dev-db/mongodb: remove unused patchMichael Mair-Keimberger
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/14206 Signed-off-by: Aaron Bauman <bman@gentoo.org>
2019-11-14dev-db/mongodb: add retry policy to mongodb initdAlexys Jacob
Package-Manager: Portage-2.3.78, Repoman-2.3.18 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2019-09-22dev-db/mongodb: version bump, fix #693282Alexys Jacob
Package-Manager: Portage-2.3.75, Repoman-2.3.17 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2019-09-21dev-db/mongodb: Fix building against boost 1.71Jouni Kosonen
Closes: https://bugs.gentoo.org/694530 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: David Seifert <soap@gentoo.org>
2019-08-21dev-db/mongodb: remove obsolete patchAlexys Jacob
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2019-08-09dev-db/mongodb: drop soon to EOL 3.4Alexys Jacob
Package-Manager: Portage-2.3.71, Repoman-2.3.17 Signed-off-by: Alexys Jacob <ultrabug@gentoo.org>
2019-03-03dev-db/mongodb: remove unused patchMichael Mair-Keimberger
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/11210 Signed-off-by: Aaron Bauman <bman@gentoo.org>
2018-11-05dev-db/mongodb: obsolete ebuilds and files clean upUltrabug
Signed-off-by: Alexys Jacob <ultrabug@gentoo.org> Package-Manager: Portage-2.3.50, Repoman-2.3.11
2018-06-28dev-db/mongodb: bump to 4.0.0Tomas Mozes
Package-Manager: Portage-2.3.40, Repoman-2.3.9
2018-01-11dev-db/mongodb: reintroduce scons fixesTomas Mozes
Closes: https://bugs.gentoo.org/643984 Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/6804