Package Details: mongodb 8.0.4-1

Git Clone URL: https://aur.archlinux.org/mongodb.git (read-only, click to copy)
Package Base: mongodb
Description: A high-performance, open source, schema-free document-oriented database
Upstream URL: https://www.mongodb.com/
Keywords: database document-oriented nosql
Licenses: SSPL-1.0
Provides: mongodb
Submitter: felixonmars
Maintainer: siavoshkc
Last Packager: siavoshkc
Votes: 36
Popularity: 0.123800
First Submitted: 2019-01-18 22:08 (UTC)
Last Updated: 2025-03-31 21:53 (UTC)

Pinned Comments

JstKddng commented on 2022-08-03 23:28 (UTC)

Binary builds are available:

https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb

JstKddng commented on 2022-08-03 23:28 (UTC)

If you have a pre-sandybridge CPU or an ARMv8 sbc, you can use mongodb44

If you'd like to stay in the V5.0 branch, you can use mongodb50

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 16 Next › Last »

ZhangHua commented on 2024-09-08 11:07 (UTC) (edited on 2024-09-08 11:35 (UTC) by ZhangHua)

It seems that we need this patch to let mongodb build with boost 1.86.0, I use this patch to build mongodb 7.0.14 and it seems working.

PS: I think you may consider adding libboost_filesystem.so into depends so boost-libs will be locked to the version used to compile mongodb. This may help with that mongodb failed to start because boost-libs upgraded. But this will also stop mongodb being upgraded if user build aur packages after their system is upgraded.

txtsd commented on 2024-08-27 10:34 (UTC)

I had to install openslide to make this run.

rakotomandimby commented on 2024-05-26 08:38 (UTC)

Downloading the 7.0.8 version is forbidden:

curl: (22) The requested URL returned error: 403
==> ERROR: Failure while downloading https://fastdl.mongodb.org/src/mongodb-src-r7.0.8.tar.gz
    Aborting...

zork commented on 2024-04-30 08:48 (UTC)

Build fails, imp module disappeared from python:

ModuleNotFoundError: No module named 'imp':
  File "/home/zork/.cache/yay/mongodb/src/mongodb-src-r7.0.8/SConstruct", line 55:
    from buildscripts import moduleconfig
  File "/home/zork/.cache/yay/mongodb/src/mongodb-src-r7.0.8/buildscripts/moduleconfig.py", line 30:
    import imp

Current python version:

[zork@archdevel ~]$ python --version
Python 3.12.3

JstKddng commented on 2024-04-13 22:32 (UTC)

@D3vil0p3r

I have a fairly beefy computer (16c/32t with 64GB RAM) so I build with all threads on /tmp and it roughly takes 30 min to compile.

You could try compiling with 4 threads (and check that you aren't compiling on /tmp) or you could download a prebuilt package from here: https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb

D3vil0p3r commented on 2024-04-13 14:47 (UTC)

@JstKidding which resource amount do you suggest for package building and to increase the build time? Or better, which resources you use for it and how much time it lasts for you? Are you assigning 1 core for building?

I am running the building on a 16 GB RAM, 4 cores but I assign 1 core for building to prevent some errors during it, but after 5 hours it is still building.

JstKddng commented on 2024-03-11 18:20 (UTC)

@keilmillerjr

check that you aren't building mongodb on tmpfs (i.e. /tmp) because 16 gb isn't enough for building on /tmp.

@krassecommits

try to reduce the number of threads used when compiling

keilmillerjr commented on 2024-03-11 17:13 (UTC)

@JstKddng adding -j2 to _scons_args within the PKGBUILD resolved the 100% CPU and lockup issue. However, btop froze at 100% memory. 14GB free memory isn't enough to build this package?!

krassecommits commented on 2024-03-08 23:18 (UTC)

Intel i7 9750H, 16GB RAM Took forever to compile and ended with this error:

src/mongo/util/aligned.h:205:85: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
scons: building terminated because of errors.

scons: *** Found dependency cycle(s):
  Internal Error: no cycle found for node build/opt/third_party/icu4c-57.1/source/common/uvectr64.o (<SCons.Node.FS.File object at 0x63b0f6bc0410>) in state pending
  Internal Error: no cycle found for node build/opt/mongo/db/commands/http_client_gen.o (<SCons.Node.FS.File object at 0x63b0f6e4c610>) in state pending
  Internal Error: no cycle found for node build/opt/mongo/db/s/global_index/global_index_cloner_gen.o (<SCons.Node.FS.File object at 0x63b0f74c8210>) in state pending
  Internal Error: no cycle found for node build/opt/mongo/db/repl/wait_for_majority_service.o (<SCons.Node.FS.File object at 0x63b0f6f56440>) in state pending
  Internal Error: no cycle found for node build/opt/mongo/db/s/global_index/global_index_server_parameters_gen.o (<SCons.Node.FS.File object at 0x63b0f73120a0>) in state pending

File "/home/user/.cache/yay/mongodb/src/mongodb-src-r7.0.6/src/third_party/scons-3.1.2/scons-local-3.1.2/SCons/Taskmaster.py", line 1076, in cleanup
build/opt/mongo/db/s/compact_structured_encryption_data_coordinator.o failed: Error 1

JstKddng commented on 2024-03-07 22:51 (UTC)

@keilmillerjr

That line is only a warning, the actual error might be somewhere else on the logs (most probably you ran out of memory).

Try editing /etc/makepkg.conf and reduce (or set) the -j flag on MAKEFLAGS to a number lower than your number of cpu threads.