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.062672
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

« First ‹ Previous 1 .. 4 5 6 7 8 9 10 11 12 13 14 15 Next › Last »

bug-reaper commented on 2020-07-04 06:58 (UTC)

scons: building terminated because of errors. build/opt/mongo/stdx/sigaltstack_location_test.o failed: Error 1 ==> ERROR: A failure occurred in check(). Aborting... HELP PLS

gnaggnoyil commented on 2020-06-05 18:23 (UTC)

Errors were encountered when building 4.2.7-1 as of today. When specifying MAKEFLAGS="VERBOSE=1 -j1", the build process produces the following errors:

g++ @/tmp/tmp97m1vngn.lnk
g++ -o build/opt/mongo/stdx/sigaltstack_location_test.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -fsized-deallocation -std=c++17 -fno-omit-frame-pointer -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DSAFEINT_USE_INTRINSICS=0 -DPCRE_STATIC -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -DBOOST_ENABLE_ASSERT_DEBUG_HANDLER -DABSL_FORCE_ALIGNED_ACCESS -Isrc/third_party/SafeInt -Isrc/third_party/pcre-8.42 -Isrc/third_party/fmt/dist/include -Isrc/third_party/boost-1.70.0 -Isrc/third_party/abseil-cpp-master/abseil-cpp -Ibuild/opt -Isrc src/mongo/stdx/sigaltstack_location_test.cpp
In file included from src/mongo/stdx/sigaltstack_location_test.cpp:30:
src/mongo/stdx/thread.h: In member function 'void mongo::stdx::support::SigAltStackController::_install() const':
src/mongo/stdx/thread.h:81:13: error: 'abort' was not declared in this scope
   81 |             abort();
      |             ^~~~~
src/mongo/stdx/thread.h: In member function 'void mongo::stdx::support::SigAltStackController::_uninstall() const':
src/mongo/stdx/thread.h:89:13: error: 'abort' was not declared in this scope
   89 |             abort();
      |             ^~~~~
scons: *** [build/opt/mongo/stdx/sigaltstack_location_test.o] Error 1
scons: building terminated because of errors.
build/opt/mongo/stdx/sigaltstack_location_test.o failed: Error 1
==> 错误: 在 check() 中发生一个错误。
    正在放弃...
Error making: mongodb

I've confirmed that every dep and build deps are up-to-date, and this error occurs on every archlinux environment I create/have.

synthead commented on 2020-04-14 17:48 (UTC)

I'm getting this build error:

Starting build()...
SCons import failed. Unable to find engine files in:
  /usr/lib/scons-3.1.2
  /usr/lib/scons-3.1.2
  /usr/local/lib/scons-3.1.2
  /usr/lib/python2.7/site-packages/scons-3.1.2
  /usr/lib/python2.7/site-packages/scons-3.1.2
  /usr/lib/scons-3.1.2
  /usr/lib/scons
  /usr/lib/scons
  /usr/local/lib/scons
  /usr/lib/python2.7/site-packages/scons
  /usr/lib/python2.7/site-packages/scons
  /usr/lib/scons
Traceback (most recent call last):
  File "/bin/scons", line 195, in <module>
    import SCons.Script
ImportError: No module named SCons.Script
==> ERROR: A failure occurred in build().
    Aborting...

Hi-Angel commented on 2020-01-09 08:43 (UTC)

@Hi-Angel - sorry for not having responded earlier. I can't reproduce your problem. mongodb.tmpfiles is used to create the /var/{lib,log}/mognodb directories, and appears to be working fine for me. I even tried removing the package, removing the directories, and installing the package without non-existent directory errors

Thank you very much! I didn't know it should be created by systemd-tmpfiles. After you mentioned it, I did some digging, and it turned out that systemd-tmpfiles was broken for me. For some reason my / was not owned by root, no idea why, and systemd-tmpfiles was refusing to coop with that. So after I fixed permissions, the directories were correctly created.

Sorry for causing troubles!

jamespharvey20 commented on 2019-12-30 09:07 (UTC) (edited on 2019-12-30 14:31 (UTC) by jamespharvey20)

@azcn2503, what version of the dependency python-cheetah3 do you have installed? Likely, you need to upgrade that AUR package to 3.2.4-2. Please let me know either way. If this doesn't work, are you using makepkg, devtools, or an AUR helper?

EDIT: If you already have python-cheetah3 3.2.4-2 installed, try rebuilding it and reinstalling it. Possibly its dependencies changed and require a rebuild.

azcn2503 commented on 2019-12-30 07:31 (UTC)

Attempting to upgrade from 4.2.1-1 to 4.2.2-1 and receiving the following error:

Creating 'build/opt/mongo/config.h'
/usr/bin/python src/mongo/base/generate_error_codes.py src/mongo/base/error_codes.err src/mongo/base/error_codes.tpl.h=build/opt/mongo/base/error_codes.h src/mongo/base/error_codes.tpl.cpp=build/opt/mongo/base/error_codes.cpp
Traceback (most recent call last):
  File "src/mongo/base/generate_error_codes.py", line 45, in <module>
    from Cheetah.Template import Template
ModuleNotFoundError: No module named 'Cheetah'

jamespharvey20 commented on 2019-12-23 08:18 (UTC)

@Hi-Angel - sorry for not having responded earlier. I can't reproduce your problem. mongodb.tmpfiles is used to create the /var/{lib,log}/mognodb directories, and appears to be working fine for me. I even tried removing the package, removing the directories, and installing the package without non-existent directory errors.

@jiri.one - mongodb used to be in the official repos, but was dropped because upstream made a license change that was unclear (at best) whether it could be redistributed prepackaged, so it was dropped to the AUR. So, sorry, but it doesn't look like it's a candidate for going back to an official package.

jiri.one commented on 2019-12-07 18:09 (UTC)

Hi,have someone repo for mongodb? I know mongodb-bin, but better will be real Arch build.

Hi-Angel commented on 2019-11-28 10:10 (UTC)

Please, add the following directories to the PKGBUILD:

/var/lib/mongodb
/var/log/mongodb

These two are written in the default mongodb.conf that is shipped, and without them mongod fails to start with "non-existent directory" errors.