Package Details: mongodb 7.0.5-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: 1.22
First Submitted: 2019-01-18 22:08 (UTC)
Last Updated: 2024-01-28 21:15 (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

1 2 3 4 5 6 .. 13 Next › Last »

JstKddng commented on 2023-10-11 05:40 (UTC)

It's fine, if anything, it's the OpenSUSE folk that are redistributing the binaries. Plus, I think mongodb really only cares if you are somehow making money out of the modified source code.

It's pretty funny, the license change coincides with the release of AWS's DocumentDB. They probably didn't want AWS using mongodb in their service so they changed the license so AWS had to develop their in-house implementation and now DocumentDB is not 100% compatible with mongodb.

I'm going to continue maintaining this for as long as I use it and for as long as I'm able to.

PolarianDev commented on 2023-10-10 08:50 (UTC) (edited on 2023-10-10 08:50 (UTC) by PolarianDev)

@JstKddng I have dropped mongodb from my unofficial repository after reading the reason it was dropped from the official repository [1].

TL;DR the licensing is not clear on the distribution of "modified" source, and as you have patches here, this is modified source code.

This means you can be slapped with legal action at any time for providing binary builds, and this is not something I want to deal with. Feel free to keep it on your repository but be aware mongodb can come knocking at any point.

Good luck!

JstKddng commented on 2023-10-05 12:45 (UTC)

it's fine, makepkg already takes care of adding the required flags for lto and other stuff. This means some setups might by possible but are not supported by upstream.

PolarianDev commented on 2023-10-05 12:24 (UTC)

Create a issue upstream and ask how to build with LTO?

LTO is useful, and should at least be attempted to work.

(If you do create the issue please pin it to the top of the repository, it could be useful for others to see).

Thank you,
Polarian

JstKddng commented on 2023-10-05 12:17 (UTC)

yeah, they just added some checks for some reason, lto should work.

PolarianDev commented on 2023-10-05 12:10 (UTC)

Also LTO worked on the previous version, this error was not encountered there.

PolarianDev commented on 2023-10-05 12:09 (UTC)

@JstKddng,

Then add:

options=('!lto')

By default, lto is enabled within chroot builds, therefore it will break in the official environment.

JstKddng commented on 2023-10-05 11:36 (UTC)

indeed, won't build if you have lto enabled. I'll fix that.

PolarianDev commented on 2023-10-05 09:55 (UTC)

@JstKddng,

The latest version you have pushed does not build in a clean chroot, please see the following log:

gcc found in $PATH at /usr/bin/gcc
CXX is g++
g++ found in $PATH at /usr/bin/g++
Checking if dev env is valid... skipped
Checking if C++ compiler "g++" is GCC... yes
Checking if C compiler "gcc" is GCC... yes
Detected a x86_64 processor
Checking if target OS linux is supported by the toolchain... yes
Checking if C compiler is GCC 11.3 or newer...yes
Checking if C++ compiler is GCC 11.3 or newer...yes
Checking whether the C compiler works... yes
Checking whether the C++ compiler works... yes
Checking that the C++ compiler can link a C++ program... yes
Checking if C compiler supports -Wno-unused-local-typedefs... yes
Checking if C compiler supports -Wno-unused-function... yes
Checking if C compiler supports -Wno-unused-private-field... no
Checking if C compiler supports -Wno-deprecated-declarations... yes
Checking if C compiler supports -Wno-tautological-constant-out-of-range-compare... no
Checking if C compiler supports -Wno-tautological-constant-compare... no
Checking if C compiler supports -Wno-tautological-unsigned-zero-compare... no
Checking if C compiler supports -Wno-tautological-unsigned-enum-zero-compare... no
Checking if C compiler supports -Wno-unused-const-variable... yes
Checking if C compiler supports -Wno-unused-but-set-variable... yes
Checking if C compiler supports -Wno-missing-braces... yes
Checking if C compiler supports -Wno-inconsistent-missing-override... no
Checking if C compiler supports -Wno-potentially-evaluated-expression... no
Checking if C++ compiler supports -Wpessimizing-move... yes
Checking if C++ compiler supports -Wno-maybe-uninitialized... yes
Checking if C++ compiler supports -Wno-undefined-var-template... no
Checking if C++ compiler supports -Wno-instantiation-after-specialization... no
Checking if C compiler supports -Wno-unused-lambda-capture... no
Checking if C++ compiler supports -fsized-deallocation... yes
Checking if C++ compiler supports -Wno-defaulted-function-deleted... no
Checking if C++ compiler supports -Wunused-exception-parameter... no
Checking if C++ compiler supports -Wno-deprecated... yes
Checking if C++ compiler supports -Wno-deprecated-builtins... no
Checking if -Wnon-virtual-dtor works reasonably... no
Checking if we are using libstdc++... yes
Checking if C++ compiler supports -std=c++20... yes
Checking if C compiler supports -std=c11... yes
WARNING: System versions of C++ libraries must be compiled with C++20 support
Checking for C++20... yes
Checking for memset_s... no
Checking for C function strnlen()... yes
Checking for C function explicit_bzero()... yes
Checking for libstdc++ 5.3.0 or better... yes
Checking if we are on a POSIX system... yes
Checking if the POSIX monotonic clock is supported... yes
Checking off_t is 8 bytes... yes
Checking if C compiler supports -gdwarf64... yes
Checking that DWARF64 format is viable... (cached) no
Checking if C compiler supports -fdebug-types-section... yes
Checking if linker supports -Wl,--no-threads... no
Checking if linker supports --Wl,--threads=1... no
Checking if linker supports -Wl,--build-id... yes
Checking if linker supports -Wl,--hash-style=gnu... yes
Checking if linker supports -Wl,-z,noexecstack... yes
Checking if linker supports -Wl,--warn-execstack... yes
Checking if linker supports -Wl,-z,relro... yes
Checking if C compiler supports -Wa,--nocompress-debug-sections... yes
Checking elf.h for SHF_COMPRESSED... yes
Checking if linker supports -Wl,--compress-debug-sections=none... yes
Checking if C compiler supports -flto... yes
Checking if linker supports -flto... yes
NameError: name 'linker_ld' is not defined:
  File "/home/build/mongodb/src/mongodb-src-r7.0.2/SConstruct", line 5403:
    env = doConfigure(env)
  File "/home/build/mongodb/src/mongodb-src-r7.0.2/SConstruct", line 4615:
    if linker_ld != "gold":
==> ERROR: A failure occurred in build().
    Aborting...

Hope this helps,
Polarian

Scimmia commented on 2023-09-29 02:54 (UTC)

ortonomy, did you bother reading the makedepends?