@JstKddng Yes, you were right. By increasing RAM amount, it compiled well. Thank you.
Search Criteria
Package Details: mongodb 8.2.7-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: | pricechrispy |
| Last Packager: | pricechrispy |
| Votes: | 36 |
| Popularity: | 0.001993 |
| First Submitted: | 2019-01-18 22:08 (UTC) |
| Last Updated: | 2026-05-08 20:13 (UTC) |
Dependencies (31)
- curl (curl-gitAUR, curl-c-aresAUR)
- gcc14-libsAUR
- glibc (glibc-gitAUR, glibc-eacAUR, glibc-git-native-pgoAUR)
- libsasl
- libstemmer (libstemmer-gitAUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR, openssl-aegisAUR)
- snappy (snappy-gitAUR)
- yaml-cpp
- zlib (zlib-gitAUR, zlib-ng-compat-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- bazelisk (bazelisk-gitAUR) (make)
- bc (bc-ghAUR) (make)
- gcc14AUR (make)
- libxml2-legacy (make)
- lld (llvm-gitAUR) (make)
- onetbb (make)
- python (make)
- python-cheetah3 (make)
- python-distro (make)
- Show 11 more dependencies...
Required by (18)
- adminer (optional)
- alerta (optional)
- cronsun-bin
- flyenv-bin (optional)
- flyenv-git (optional)
- grasscutter-git (optional)
- icalingua++-electron-git (optional)
- icalingua++-git (optional)
- librechat (optional)
- nodejs-generator-scalatra (optional)
- omada-controller
- omada-controller-rxy
- pritunl-git (optional)
- pump.io (optional)
- python-ivre (optional)
- python-ivre-git (optional)
- python-pydal-git (optional)
- rocketchat-server
Sources (8)
Latest Comments
« First ‹ Previous 1 .. 3 4 5 6 7 8 9 10 11 12 13 .. 17 Next › Last »
D3vil0p3r commented on 2022-12-01 19:11 (UTC)
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
JstKddng commented on 2022-08-03 23:28 (UTC)
JstKddng commented on 2022-08-03 23:25 (UTC)
The mongo utility will be removed in future releases. Switching to mongosh is recommended.
JstKddng commented on 2022-07-21 01:29 (UTC) (edited on 2022-07-21 01:30 (UTC) by JstKddng)
With mongodb-6.0.0, the mongo utility is no longer available for release builds. If you want an interactive shell, mongosh is the only option.
JstKddng commented on 2022-07-17 23:52 (UTC)
@sid00100
You have to run sudo pacman -U mongodb-5.0.9-1-x86_64.pkg.tar.zst with the file you download from that link.
sid00100 commented on 2022-07-17 17:07 (UTC) (edited on 2022-07-17 17:20 (UTC) by sid00100)
not being able to build. https://software.opensuse.org//download.html?project=home%3Ajustkidding%3Aarch&package=mongodb this is not working too.
==> ERROR: A failure occurred in build(). Aborting...
(this is what happens with the file downloaded from the above link)
Pinned Comments
pricechrispy commented on 2025-11-09 20:45 (UTC)
Current releases https://www.mongodb.com/try/download/community
pricechrispy commented on 2025-10-03 16:59 (UTC)
Before upgrading to 8.2, you must set the feature compatibility version to 8.0. See documentation: https://www.mongodb.com/docs/manual/release-notes/8.2-upgrade-standalone/#feature-compatibility-version
Note that building takes about 84gb of memory as of 8.2.1.