@JstKddng Yes, you were right. By increasing RAM amount, it compiled well. Thank you.
Search Criteria
Package Details: mongodb 7.0.15-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 |
Licenses: | SSPL-1.0 |
Provides: | mongodb |
Submitter: | felixonmars |
Maintainer: | JstKddng |
Last Packager: | JstKddng |
Votes: | 35 |
Popularity: | 0.051090 |
First Submitted: | 2019-01-18 22:08 (UTC) |
Last Updated: | 2024-12-12 23:00 (UTC) |
Dependencies (27)
- boost-libs
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, 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, glibc-eac-binAUR, glibc-eac-rocoAUR)
- gperftools (gperftools-gitAUR)
- krb5 (krb5-gitAUR)
- libldap (libldap-gnutlsAUR)
- libsasl
- libstemmer (libstemmer-gitAUR)
- libunwind (libunwind-carbonAUR, libunwind-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- pcre2 (pcre2-gitAUR)
- snappy (snappy-gitAUR)
- yaml-cpp
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- boost (boost-gitAUR) (make)
- mongo-c-driver (make)
- python-cheetah3 (make)
- python-psutil (make)
- python-pymongo (make)
- python-regex (python-regex-gitAUR) (make)
- python-requests (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 (29)
- adminer (optional)
- alerta (optional)
- camlistore (optional)
- cronsun-bin
- grasscutter-git (optional)
- graylog (optional)
- icalingua++-electron-git (optional)
- icalingua++-git (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)
- python-ivre-git (optional)
- Show 11 more...
Sources (9)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 .. 15 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
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 tomongosh
is recommended.