Hi, I host automatic builds here:
https://build.opensuse.org/package/show/home:ItachiSan:archlinux/mongodb
I saw that there is a download step; is there any way to avoid it?
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: | 37 |
Popularity: | 0.28 |
First Submitted: | 2019-01-18 22:08 (UTC) |
Last Updated: | 2025-08-26 23:59 (UTC) |
Hi, I host automatic builds here:
https://build.opensuse.org/package/show/home:ItachiSan:archlinux/mongodb
I saw that there is a download step; is there any way to avoid it?
I can't believe this has been tested. Build fails right away with this error:
==> Starting build()... Could not find SCons in '/usr/src/mongodb/src/mongo-r8.0.13/src/third_party/scons-4.9.1/scons-local-4.9.1' ==> ERROR: A failure occurred in build(). Aborting...
The patch does not apply anymore with 8.0.12:
Applying patch /var/tmp/makepkg/mongodb/src/mongodb-7.0.2-sconstruct.patch... patching file SConstruct Hunk #1 FAILED at 25. Hunk #2 FAILED at 1724. Hunk #3 succeeded at 3123 (offset -9 lines). Hunk #4 succeeded at 3191 (offset -9 lines). Hunk #5 succeeded at 3245 (offset -7 lines). Hunk #6 succeeded at 3639 (offset -7 lines). Hunk #7 succeeded at 4765 (offset -2 lines). Hunk #8 succeeded at 5263 (offset -2 lines). Hunk #9 succeeded at 5474 (offset -2 lines). 2 out of 9 hunks FAILED -- saving rejects to file SConstruct.rej
Compilation problem persists and its related Jira ticket is not verified yet. I can no longer maintain this package.
The compilation problem remains for 15.1.1. I believe there is nothing we can do about it at the moment as the problem seems to be the r8.0.10 version of Abseil being incompatible with the 15.1.1 version of g++ and if we change the version of Abseil it will be a big deviation from the official release. I created an issue regarding the matter: https://jira.mongodb.org/browse/SERVER-106213
The package has been updated to 8.0.10 but the compile error remain the same.
So If I understand the backtrace correctly, mongodb bundle it's own version of abseil-cpp ?
Created an issue about static assertion failure. https://github.com/abseil/abseil-cpp/issues/1896
Compiling with gcc-15 fails
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/uses_allocator_args.h:71:29: error: static assertion failed: construction with an allocator must be possible if uses_allocator is true
71 | static_assert(is_constructible_v<_Tp, _Args..., const _Alloc&>,
| ^~~~
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/g++-v15/bits/uses_allocator_args.h:71:29: note: 'std::is_constructible_v<std::tuple\<std::__cxx11::basic_string\<char, std::char_traits\<char>, mongo::TrackingAllocator\<char> >, long int>, const std::scoped_allocator_adaptor\<mongo::TrackingAllocator\<std::pair\<const mongo::UUID, std::tuple\<std::__cxx11::basic_string\<char, std::char_traits\<char>, mongo::TrackingAllocator\<char> >, long int> > > >&>' evaluates to false
In file included from src/mongo/util/tracking_allocator.h:38,
from src/mongo/bson/util/builder.h:65,
from src/mongo/util/str.h:55,
from src/mongo/base/data_range.h:45,
from src/mongo/bson/bsonelement.h:44,
from src/mongo/bson/bsonobj.h:59,
from src/mongo/bson/bson_field.h:36,
from src/mongo/bson/bsonobjbuilder.h:48,
from src/mongo/db/namespace_string.h:51,
from src/mongo/db/multi_key_path_tracker.h:38,
from src/mongo/db/multi_key_path_tracker.cpp:46:
Pinned Comments