There's now a package I've made available for mongosh
built from source, so I think that it should replace mongosh-bin
and, by the way, mongo
can be dropped from the build.
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.123800 |
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)
- Show 3 more dependencies...
Required by (31)
- adminer (optional)
- alerta (optional)
- camlistore (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)
- Show 14 more...
Sources (8)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 16 Next › Last »
yakoyakoyokuyoku commented on 2023-03-11 03:48 (UTC)
gnaggnoyil commented on 2023-02-06 15:51 (UTC)
@JstKddng I don't think so. All I did was just running extra-x86_64-build
on the directory containing the PKGBUILD.
JstKddng commented on 2023-02-05 15:44 (UTC)
@gnaggnoyil
are you perhaps trying to make a debug build?
gnaggnoyil commented on 2023-02-04 15:20 (UTC)
I met the following error when building in a clean chroot:
Checking that the C++ compiler can link a C++ program... no
C++ compiler g++ can't link C++ programs
See /build/mongodb/src/mongodb-src-r6.0.4/build/scons/config.log for details
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Build failed, check /var/lib/archbuild/extra-x86_64/gnaggnoyil/build
And the config.log
has the following error message:
scons: Configure: Checking that the C++ compiler can link a C++ program...
build/scons/07c20a8e/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/07c20a8e/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.o -c -Woverloaded-virtual -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -g -ffile-prefix-map=/build/mongodb/src=/usr/src/debug/mongodb -flto=auto -Werror -ffp-contract=off -fasynchronous-unwind-tables -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -fno-omit-frame-pointer -fno-strict-aliasing -O0 -mprefer-vector-width=128 -D_XOPEN_SOURCE=700 -D_GNU_SOURCE build/scons/07c20a8e/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.cpp
In file included from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/os_defines.h:39,
from /usr/include/c++/12.2.1/x86_64-pc-linux-gnu/bits/c++config.h:655,
from /usr/include/c++/12.2.1/iostream:38,
from build/scons/07c20a8e/sconf_temp/conftest_ac30bfea77045c1c67c4f51773b51414_0.cpp:2:
/usr/include/features.h:412:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
cc1plus: all warnings being treated as errors
scons: Configure: no
What could possibly go wrong here?
dtrv commented on 2023-01-05 13:00 (UTC)
Check your CPU flags before compiling 5.0+. AFAIK SSE and AVX are required.
D3vil0p3r commented on 2022-12-01 19:11 (UTC)
@JstKddng Yes, you were right. By increasing RAM amount, it compiled well. Thank you.
JstKddng commented on 2022-11-29 20:09 (UTC)
@D3vil0p3r
perhaps you are running out of ram?
hard to debug as the OBS builds mongodb fine, last build was the 27/11.
You can download a prebuilt package from this link https://download.opensuse.org/repositories/home:/justkidding:/arch/Arch/x86_64/mongodb-6.0.2-1-x86_64.pkg.tar.zst
D3vil0p3r commented on 2022-11-29 08:27 (UTC) (edited on 2022-11-29 09:05 (UTC) by D3vil0p3r)
If I clone its git URL and I run makepkg -si
, during the compilation, the following error is produced:
<SNIP>
scons: Building targets ...
Generating build/59f4f0dd/mongo/db/pipeline/aggregate_command_gen.cpp
Generating build/59f4f0dd/mongo/db/pipeline/document_source_union_with_gen.cpp
Generating build/59f4f0dd/mongo/db/commands/txn_cmds_gen.cpp
Generating build/59f4f0dd/mongo/db/pipeline/exchange_spec_gen.cpp
Generating build/59f4f0dd/mongo/db/commands/txn_two_phase_commit_cmds_gen.cpp
Compiling build/59f4f0dd/mongo/db/pipeline/document_source_union_with.o
Compiling build/59f4f0dd/mongo/db/transaction_validation.o
Compiling build/59f4f0dd/third_party/icu4c-57.1/source/i18n/ucol_sit.o
In file included from src/mongo/db/catalog/util/partitioned.h:43,
from src/mongo/db/query/plan_cache.h:32,
from src/mongo/db/query/classic_plan_cache.h:36,
from src/mongo/db/query/plan_explainer.h:33,
from src/mongo/db/query/plan_executor.h:37,
from src/mongo/db/clientcursor.h:42,
from src/mongo/db/query/cursor_response.h:36,
from build/59f4f0dd/mongo/s/query/async_results_merger_params_gen.h:25,
from src/mongo/db/pipeline/pipeline.h:48,
from src/mongo/db/pipeline/document_source.h:58,
from src/mongo/db/pipeline/document_source_single_document_transformation.h:34,
from src/mongo/db/pipeline/document_source_documents.h:32,
from src/mongo/db/pipeline/document_source_union_with.cpp:37:
src/mongo/util/aligned.h:135:77: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
135 | using CacheAligned = Aligned<T, stdx::hardware_destructive_interference_size>;
| ^
src/mongo/util/aligned.h:135:77: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/aligned.h:135:77: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/aligned.h:135:77: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/aligned.h:135:77: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
Compiling build/59f4f0dd/mongo/db/matcher/rewrite_expr.o
g++: fatal error: Terminated signal terminated program cc1plus
compilation terminated.
scons: *** [build/59f4f0dd/mongo/db/pipeline/document_source_union_with.o] Error 1
scons: building terminated because of errors.
build/59f4f0dd/mongo/db/pipeline/document_source_union_with.o failed: Error 1
==> ERROR: A failure occurred in build().
Aborting...
For overcoming this first error, I set MAKEFLAGS
as -j1
value in /etc/makepkg
file. After a good amount of time during the compilation, then I get the following error:
<SNIP>
src/mongo/util/aligned.h:135:77: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
135 | using CacheAligned = Aligned<T, stdx::hardware_destructive_interference_size>;
| ^
src/mongo/util/aligned.h:135:77: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/aligned.h:135:77: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/aligned.h:135:77: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/aligned.h:135:77: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
Compiling build/59f4f0dd/mongo/db/pipeline/expression_trigonometric.o
Compiling build/59f4f0dd/mongo/db/pipeline/expression_function.o
Generating build/59f4f0dd/mongo/db/pipeline/expression_parser_gen.cpp
Compiling build/59f4f0dd/mongo/db/pipeline/expression.o
In file included from src/mongo/db/catalog/util/partitioned.h:43,
from src/mongo/db/query/plan_cache.h:32,
from src/mongo/db/query/classic_plan_cache.h:36,
from src/mongo/db/query/plan_explainer.h:33,
from src/mongo/db/query/plan_executor.h:37,
from src/mongo/db/catalog/collection.h:49,
from src/mongo/db/catalog/collection_catalog.h:36,
from src/mongo/db/curop.h:38,
from src/mongo/db/stats/counters.h:35,
from src/mongo/db/pipeline/expression.cpp:57:
src/mongo/util/aligned.h:135:77: warning: use of 'std::hardware_destructive_interference_size' [-Winterference-size]
135 | using CacheAligned = Aligned<T, stdx::hardware_destructive_interference_size>;
| ^
src/mongo/util/aligned.h:135:77: note: its value can vary between compiler versions or with different '-mtune' or '-mcpu' flags
src/mongo/util/aligned.h:135:77: note: if this use is part of a public ABI, change it to instead use a constant variable you define
src/mongo/util/aligned.h:135:77: note: the default value for the current CPU tuning is 64 bytes
src/mongo/util/aligned.h:135:77: note: you can stabilize this value with '--param hardware_destructive_interference_size=64', or disable this warning with '-Wno-interference-size'
{standard input}: Assembler messages:
{standard input}:192254: Warning: end of file not at end of a line; newline inserted
{standard input}:193190: Warning: Unary operator - ignored because bad operand follows
{standard input}:193190: Error: missing or invalid displacement expression `-'
{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
g++: fatal error: Terminated signal terminated program cc1plus
compilation terminated.
scons: *** [build/59f4f0dd/mongo/db/pipeline/expression.o] Error 1
scons: building terminated because of errors.
build/59f4f0dd/mongo/db/pipeline/expression.o failed: Error 1
==> ERROR: A failure occurred in build().
Aborting...
Please, fix.
Elagoht commented on 2022-11-05 21:17 (UTC)
Memory leak happens during installation. I had to install bin package.
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
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