Package Details: mongodb44 4.4.29-8

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.115616
First Submitted: 2022-08-03 19:21 (UTC)
Last Updated: 2025-02-09 08:48 (UTC)

Dependencies (15)

Required by (30)

Sources (15)

Pinned Comments

drankinatty commented on 2025-02-08 08:15 (UTC) (edited on 2025-02-09 08:50 (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.

Latest Comments

drankinatty commented on 2025-02-08 08:15 (UTC) (edited on 2025-02-09 08:50 (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.