Package Details: mongodb 7.0.8-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: 34
Popularity: 0.31
First Submitted: 2019-01-18 22:08 (UTC)
Last Updated: 2024-04-12 01:52 (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

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 2 3 4 5 6 7 8 9 10 11 12 .. 14 Next › Last »

TJM commented on 2021-11-15 14:34 (UTC) (edited on 2021-11-15 14:36 (UTC) by TJM)

Got an compilation error:

src/mongo/db/exec/plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type
  214 |     std::optional<std::string> replanReason;
      |          ^~~~~~~~
src/mongo/db/exec/plan_stats.h:41:1: note: 'std::optional' is defined in header '<optional>'; did you forget to '#include <optional>'?
   40 | #include "mongo/util/container_size_helper.h"
  +++ |+#include <optional>
   41 | #include "mongo/util/time_support.h"

Perhaps a patch is required?

ali.molaei commented on 2021-04-03 06:27 (UTC)

@xamindar You can use https://aur.archlinux.org/packages/mongodb-bin/ as it's downloading from official repositories of mongodb, or use the docker as you said, if you don't want to compile from source

rpodgorny commented on 2021-04-03 06:16 (UTC)

xamindar: i'm using the official docker images for quite some time and it's been working perfectly for me so far...

xamindar commented on 2021-04-02 22:23 (UTC)

Looks like this isn't maintained anymore. Build even fails.

Where is the proper place to get mongodb as it's not even in official repositories?

rageltman commented on 2020-12-29 18:31 (UTC) (edited on 2020-12-29 18:38 (UTC) by rageltman)

So it looks like libboost changes break mongo but good, and its a fun rebuild. The AUR doesn't really have a good way to deal with forcing release bumps on packages for which a dependency has updated (the py3.9 fiasco currently going on is a good testament to that - tons of builds failing in CI because py packages installed stuff to the 3.8 folder and have no clue they need to rebuild). However, suggest bumping the PKBUILD by a version (or two since anyone in our shoes has had to build a 2 release now) to prod folks' CIs into rebuilding with the current libboost from official repos (or possibly bundling it in to maintain compatibility as upstream changes).

@YoFreakinLo - just make a /chrootbuild file in your build system and it'll skip tests altogether.

YoFreakinLo commented on 2020-12-23 16:14 (UTC) (edited on 2020-12-23 16:17 (UTC) by YoFreakinLo)

Hello everyone. I want to install this package from pamac (manjaro package manager, NOT pacman but pamac) and I get the error already mentioned by others: scons: building terminated because of errors. build/opt/mongo/stdx/sigaltstack_location_test.o failed: Error 1 ==> ERROR: A failure occurred in check(). Aborting... I have no intention to install it with another package manager or to build it from source myself. Someone mentioned, that only the check() function has to be skipped somehow. So what is the procedure? Should I just download this package, find something somewhere in the source files, comment it, and install the modified package with pamac?

Some more information: I'm not having the same error as the user whom @wilkie suggested to skip the check. Nothing is written about the about() function only the error message appears after a really long list of warnings about redundant std::move()-s like these: src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]': src/mongo/db/matcher/expression_type.h:69:38: required from here src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move] src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call

Thank you for your comment help in advance. Have a nice day.

Edit1: I don't know how to put the console output to into that green box. Tried to indent with four spaces, didn't help, or at least I can't see it. Sry for that.

Edit2: I've installed the bin package too for now. I'm not sure I wanna change to this package, but I might still need it, so I'm awaiting your answer nontheless.

wilkie commented on 2020-12-07 03:01 (UTC)

The about() function noted by Wennadocta happens during the check() phase, so it will work if you just skip the checks.

Compiling build/opt/mongo/stdx/sigaltstack_location_test.o
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();
      |             ^~~~~
Generating library build/opt/mongo/db/repl/libbase_cloner_test_fixture.a
Skipping ranlib for thin archive build/opt/mongo/db/repl/libbase_cloner_test_fixture.a
Compiling build/opt/mongo/db/query/collation/collator_factory_icu_locales_test.o
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
==> ERROR: A failure occurred in check().
    Aborting...

Wennadocta commented on 2020-09-11 18:46 (UTC)

Source code contains error. Function is not declared

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();
      |             ^~~~~

ArchBoxHero commented on 2020-08-12 05:33 (UTC)

@keilmillerjr hey. I ended up going with the mongodb-bin package. But I have a new install on some new hardware. I'm going to shoot for installing this package really soon. I'll post anything relevant.

bassam commented on 2020-08-10 23:57 (UTC) (edited on 2020-08-11 00:31 (UTC) by bassam)

Build failed again (I get the same error when I try to install via gui package manager):

$ makepkg -si
...
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaBinDataEncryptedTypeExpression]':
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
   74 |         return std::move(expr);
      |                              ^
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::InternalSchemaTypeExpression]':
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
src/mongo/db/matcher/expression_type.h: In instantiation of 'std::unique_ptr<mongo::MatchExpression> mongo::TypeMatchExpressionBase<T>::shallowClone() const [with T = mongo::TypeMatchExpression]':
src/mongo/db/matcher/expression_type.h:69:38:   required from here
src/mongo/db/matcher/expression_type.h:74:30: warning: redundant move in return statement [-Wredundant-move]
src/mongo/db/matcher/expression_type.h:74:30: note: remove 'std::move' call
scons: building terminated because of errors.
build/opt/mongo/stdx/sigaltstack_location_test.o failed: Error 1
==> ERROR: A failure occurred in check().
    Aborting...