@JstKddng: thanks for taking this up. The package as built right now (mongodb-5.0.6-1) breaks when upgrading from v4. It needs libyaml-cpp as a runtime dependency, and fails to start-up even when that's deployed after running a normal pacman upgrade (and explicitly installing libyaml-cpp). I've not dug into why it doesn't start yet after sorting out the dependency issue, just rolled back to v4 for now.
Search Criteria
Package Details: mongodb 8.0.4-1
Package Actions
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.084092 |
First Submitted: | 2019-01-18 22:08 (UTC) |
Last Updated: | 2025-03-31 21:53 (UTC) |
Dependencies (23)
- curl (curl-gitAUR, curl-c-aresAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- libsasl
- libstemmer (libstemmer-gitAUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- snappy (snappy-gitAUR)
- yaml-cpp
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- python-cheetah3 (make)
- python-distro (make)
- python-gitpython (make)
- python-psutil (make)
- python-pymongo (make)
- python-regex (python-regex-gitAUR) (make)
- python-requests (make)
- python-retryAUR (make)
- python-setuptools (make)
- python-yaml (python-yaml-gitAUR) (make)
- mongodb-toolsAUR (percona-server-mongodb-binAUR, mongodb36-binAUR, mongodb-tools-gitAUR, mongodb-tools-binAUR) (optional) – mongoimport, mongodump, mongotop, etc
- mongoshAUR (mongosh-gitAUR, mongosh-binAUR) (optional) – interactive shell to connect with MongoDB
Required by (30)
- adminer (optional)
- alerta (optional)
- cronsun-bin
- grasscutter-git (optional)
- graylog (optional)
- icalingua++-electron-git (optional)
- icalingua++-git (optional)
- kamailio (optional)
- nemesyst-git (optional)
- nodejs-generator-scalatra (optional)
- omada-controller
- omada-controller-rxy
- pritunl-git (optional)
- pump.io (optional)
- pumpio-git (optional)
- python-ezdb-git (optional)
- python-ivre (optional)
- Show 13 more...
Sources (8)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 16 Next › Last »
rageltman commented on 2022-02-20 19:45 (UTC)
JstKddng commented on 2022-02-06 14:09 (UTC) (edited on 2022-07-21 01:46 (UTC) by JstKddng)
Hey everyone, new maintainer here. I've updated the package to the latest version. You can get prebuilt binaries for mongodb on my OBS repository.
https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb
14mRh4X0r commented on 2022-01-10 11:56 (UTC)
I was able to build with this patch.
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...
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