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.38
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 .. 14 Next › Last »

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

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.

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.