Package Details: mongodb 7.0.14-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
Licenses: SSPL-1.0
Provides: mongodb
Submitter: felixonmars
Maintainer: JstKddng
Last Packager: JstKddng
Votes: 35
Popularity: 0.072272
First Submitted: 2019-01-18 22:08 (UTC)
Last Updated: 2024-09-24 02:53 (UTC)

Sources (9)

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

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

The mongo utility will be removed in future releases. Switching to mongosh is recommended.

Latest Comments

1 2 3 4 5 6 .. 15 Next › Last »

pohl7589 commented on 2024-10-12 08:58 (UTC) (edited on 2024-10-12 09:12 (UTC) by pohl7589)

mongodb 7.0.14 fails to build in a clean aarch64 chroot.

Checking that the C++ compiler can link a C++ program... no
C++ compiler g++ can't link C++ programs

The config.log shows the linker cannot link a hello world program:

scons: Configure: Checking that the C++ compiler can link a C++ program...
build/scons/opt/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.cpp <-
  |
  |#include <iostream>
  |#include <cstdlib>
  |
  |int main() {
  |    std::cout << "Hello, World" << std::endl;
  |    return EXIT_SUCCESS;
  |}
  |
g++ -o build/scons/opt/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.o -c -Woverloaded-virtual -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -Werror -ffp-contract=off -fasynchronous-unwind-tables -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -fno-omit-frame-pointer -fno-strict-aliasing -O2 -mtune=generic -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE build/scons/opt/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.cpp
g++ -o build/scons/opt/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0_5d3fee522b232c2fb8a6072c881f85cf -Wl,--fatal-warnings -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -pthread -Wl,-z,now -rdynamic build/scons/opt/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.o -lm -lresolv
/usr/bin/ld: warning: -z pack-relative-relocs ignored
collect2: error: ld returned 1 exit status
scons: Configure: no

It seems due to -Wl,--fatal-warnings being enabled the warning about -z pack-relative-relocs is treated as an error. In /etc/makepkg.conf I removed the LDFLAG -z pack-relative-relocs and now it compiles.

JstKddng commented on 2024-09-24 02:55 (UTC)

I'll upgrade to 7.0.14 in the meantime, 8.0.0 will need more patches it seems

JstKddng commented on 2024-09-24 01:02 (UTC)

indeed, I'm on the process of pushing mongodb 8.0

samvv commented on 2024-09-21 18:20 (UTC) (edited on 2024-09-21 18:22 (UTC) by samvv)

mongodb-7.0.12-1 failed to build as a dependency of the unifi AUR package. I suspect the boost version is too new.

Compiling build/opt/mongo/shell/shell_utils_launcher.o
In file included from src/mongo/shell/shell_utils_launcher.cpp:30:
src/mongo/shell/shell_utils_launcher.h:32:10: fatal error: boost/filesystem/convenience.hpp: No such file or directory
   32 | #include <boost/filesystem/convenience.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

In previous invocations I also got something about a missing boost::filesystem::is_regular_file.

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