boost and boost-libs ver. 1.89 removed libboost_system upstream. A patch was added to remove Scons references to libboost_system and the package simply needs to be rebuilt against the new boost packages. Additional patch added to suppress -Wsign-compare and -Wlto-type-mismatch warnings. All patches renamed with numeric prefix to ensure patch order as the number of patches increase - working fine, no other changes.
Search Criteria
Package Details: mongodb44 4.4.29-11
Package Actions
| Git Clone URL: | https://aur.archlinux.org/mongodb44.git (read-only, click to copy) |
|---|---|
| Package Base: | mongodb44 |
| Description: | A high-performance, open source, schema-free document-oriented database (last version to support non-avx CPUs) |
| Upstream URL: | https://www.mongodb.com/ |
| Licenses: | Apache, custom:SSPL1 |
| Conflicts: | mongodb |
| Provides: | mongodb |
| Submitter: | JstKddng |
| Maintainer: | drankinatty |
| Last Packager: | drankinatty |
| Votes: | 3 |
| Popularity: | 0.000436 |
| First Submitted: | 2022-08-03 19:21 (UTC) |
| Last Updated: | 2025-10-25 04:28 (UTC) |
Dependencies (15)
- boost-libs
- curl (curl-gitAUR, curl-c-aresAUR)
- libstemmer (libstemmer-gitAUR)
- pcre
- snappy (snappy-gitAUR)
- yaml-cpp
- boost (boost-gitAUR) (make)
- python-cheetah3 (make)
- python-psutil (make)
- python-regex (python-regex-gitAUR) (make)
- python-requests (make)
- python-setuptools (make)
- python-yaml (python-yaml-gitAUR) (make)
- mongodb-toolsAUR (percona-server-mongodb-binAUR, mongodb36-binAUR, mongodb-tools-gitAUR, mongodb-tools-binAUR) (optional) – mongoimport, mongodump, mongotop, etc
- mongoshAUR (mongosh-gitAUR, mongosh-binAUR) (optional) – interactive shell to connect with MongoDB
Required by (18)
- adminer (requires mongodb) (optional)
- alerta (requires mongodb) (optional)
- cronsun-bin (requires mongodb)
- flyenv-bin (requires mongodb) (optional)
- flyenv-git (requires mongodb) (optional)
- grasscutter-git (requires mongodb) (optional)
- icalingua++-electron-git (requires mongodb) (optional)
- icalingua++-git (requires mongodb) (optional)
- kamailio (requires mongodb) (optional)
- librechat (requires mongodb) (optional)
- nemesyst-git (requires mongodb) (optional)
- nodejs-generator-scalatra (requires mongodb) (optional)
- omada-controller (requires mongodb)
- omada-controller-rxy (requires mongodb)
- pritunl-git (requires mongodb) (optional)
- pump.io (requires mongodb) (optional)
- python-ezdb-git (requires mongodb) (optional)
- python-ivre (requires mongodb) (optional)
Sources (18)
- 001-mongodb-4.4.1-boost.patch
- 002-mongodb-4.4.1-gcc11.patch
- 003-mongodb-4.4.8-no-compass.patch
- 004-mongodb-4.4.10-boost-1.79.patch
- 005-mongodb-4.4.10-boost-1.81.patch
- 006-mongodb-4.4.10-no-force-lld.patch
- 007-mongodb-4.4.29-boost-1.86.patch
- 008-mongodb-4.4.29-boost-1.87+stdmove.patch
- 009-mongodb-4.4.29-fix-scons.patch
- 010-mongodb-4.4.29-gcc-15.patch
- 011-mongodb-4.4.29-no-enterprise.patch
- 012-mongodb-4.4.29-redudant-std-move.patch
- 013-mongodb-4.4.29-scons-boost-1.89.patch
- 014-mongodb-4.4.29-scons-Wno-sign-compare.patch
- mongodb-4.4.15-adjust-cache-alignment-assumptions.patch.arm64
- mongodb.sysusers
- mongodb.tmpfiles
- mongodb44-4.4.29.tar.gz
Latest Comments
drankinatty commented on 2025-10-22 13:05 (UTC) (edited on 2025-10-25 04:31 (UTC) by drankinatty)
drankinatty commented on 2025-05-07 03:30 (UTC) (edited on 2025-05-07 03:32 (UTC) by drankinatty)
Note: after update to boost-1.88.0-2-x86_64, a package rebuild is required, however this will fail due to gcc-15. Patch Done! The package builds and runs fine with gcc-15 and boost-88. TODO add -Wno-sign-compare to CFLAGS and add -Wno-odr to CXXFLAGS for moz.js warnings. (next time)
drankinatty commented on 2025-02-08 08:15 (UTC) (edited on 2025-05-07 03:30 (UTC) by drankinatty)
Note: after update of boost-1.87.0-2-x86_64, a rebuild of the package is required. Additionally, the -Wstringop-overread and -Wstringop-overflow= options now flag about a dozen new warnings along with a few sign-compare and loop variables that should be references.
On fresh rebuild, installed size is reduced by 61M and mongodb idle CPU use is reduced significantly to ~0.3% every few seconds.
Updated to add mongodb-4.4.29-boost-1.87+stdmove.patch resolving all new warnings for non-reference used with range-based-for loops creating copy and removal of final redundant std::move() on function return.
danielkr commented on 2025-02-01 11:12 (UTC)
Replacing line #2292 in src/mongo-r4.4.29/SConstruct with:
env.Append( CCFLAGS=['-march=armv8-a+crc', '-mtune=cortex-a72'])
will make it compile and runnable on a raspberry PI (tested on 4 but should work on others as well).
Make sure to run with makepkg -e so it does not unpack and overwrite your changes.
drankinatty commented on 2024-11-02 01:22 (UTC) (edited on 2024-11-02 07:39 (UTC) by drankinatty)
Adopted package, Updated to final 4.4.29 version. Patched to build against boost 1.86 and cleaned up redundant std::move() warnings. Disabled unnecessary preprocessor #warning message output (e.g. the FORTIFY_SOURCE messages) and suppressed char8_t warnings from the 3rd-party fmt package (-Wno-c++20-compat). The package now builds cleanly.
Since 4.4.29 was the final release of the 4.4 branch, this shouldn't change much except for dependency changes upstream. The 4.4 branch was the last branch built without AVX intrinsics enabled so it will run on any hardware or within VMs. It works quite well.
JstKddng commented on 2023-10-06 05:46 (UTC)
disowning since mongodb 7 kinda supports armv8
archerdm commented on 2022-12-29 17:03 (UTC)
Can we change the provides line to:
provides=(mongodb="$pkgver")
Thanks
JstKddng commented on 2022-08-04 00:22 (UTC)
Binary builds for x86_64 are available:
https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb44
Binary builds for aarch64 are not available for now.
Pinned Comments
drankinatty commented on 2025-10-22 13:05 (UTC) (edited on 2025-10-25 04:31 (UTC) by drankinatty)
boostandboost-libsver. 1.89 removedlibboost_systemupstream. A patch was added to remove Scons references tolibboost_systemand the package simply needs to be rebuilt against the new boost packages. Additional patch added to suppress-Wsign-compareand-Wlto-type-mismatchwarnings. All patches renamed with numeric prefix to ensure patch order as the number of patches increase - working fine, no other changes.