archer666 - It just compiled fine for me, so I do think this was probably an out of memory issue. You could try the following things:
* Decreasing the number of cores you're allowing it to use while building which will decrease the amount of memory usage.
* Create additional swap space, even if you remove it after building. (If you can use a swap file, that will let you avoid partitioning.)
* Remove check()
from the PKGBUILD. I generally think it's a very good idea to run this, but on current packages, it just passed tests for me, and I see that's the phase you ran out of memory in.
Search Criteria
Package Details: mongodb 7.0.14-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.062672 |
First Submitted: | 2019-01-18 22:08 (UTC) |
Last Updated: | 2024-09-24 02:53 (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)
- Show 7 more dependencies...
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)
- python-pydal-git (optional)
- rocketchat-server
- rocketchat-server-standalone
- sip3-captain-ce (optional)
- sip3-salto-ce (optional)
- sip3-twig-ce (optional)
- unifi
- unifi-beta
- unifi-video
Sources (9)
Latest Comments
« First ‹ Previous 1 .. 5 6 7 8 9 10 11 12 13 14 15 Next › Last »
jamespharvey20 commented on 2019-11-19 02:45 (UTC)
archer666 commented on 2019-11-18 19:19 (UTC)
4.2.1 - no good
scons: building terminated because of errors. build/opt/mongo/db/s/collection_range_deleter_test.o failed: Error 1 ==> ERROR: A failure occurred in check(). Aborting... ==> ERROR: Makepkg was unable to build mongodb.
g++: fatal error: Killed signal terminated program cc1plus
Looks like out of memory - 16GB machine, I terminated almost everything, 10GB RAM free at least.
jamespharvey20 commented on 2019-10-16 01:53 (UTC) (edited on 2019-10-22 01:16 (UTC) by jamespharvey20)
lsr, I opened a bugreport upstream at https://jira.mongodb.org/browse/SERVER-44038
I'm baffled at what I found. Removing the line that forces ggdb
that you brought up reduces my makepkg
(so, tests are still ran) build size from 259GB to 2.3GB, and reduces the build from 70 minutes to 44 minutes. For users with platter drives, I think it will have an even more dramatic reduction in build times.
I tried several ways to get -O2
optimization, with no success.
I'm wondering if there's an intentional reason why they're doing this on posix, so am being cautious and waiting to hear back from upstream before I release a new version. I mean, I'd have to assume they would have noticed at some point in the past performance significantly dropped and have found they were forcing debug builds and no optimization, right?..... The stripped binary size doesn't change, but maybe there's some quirk here we're not aware of.
jamespharvey20 commented on 2019-10-14 10:40 (UTC) (edited on 2019-10-14 10:43 (UTC) by jamespharvey20)
lsr, awesome catch. I'm baffled by this, and can't wait to see how much faster mongodb performs. I know version 4.0.6 (when mongodb was dropped from community) had a similar build time and size requirement. It will be interesting to know how/when/why this came about. I'll admit I never looked through the SConstruct file other than having to do with system library options, and just went off upstream's compilation instructions which of course don't mention this. I'll be running compilation size and time benchmarks as is, without the forcing of -ggdb
you pointed out, and also without -ggdb
and the release
option for optimization. I'll be posting back here, and likely be filing a bugreport upstream. I'm hoping fixing this and using optimizations won't drastically increase compilation times, but my guess is it will, we'll see...
lsr commented on 2019-10-14 08:49 (UTC)
The SConstruct file seems to always enable debug symbol generation:
"-ggdb" if not env.TargetOSIs('emscripten') else "-g",
Removing this line seems to reduce the build tree to a less insane 10GiB.
jamespharvey20 commented on 2019-10-13 03:34 (UTC) (edited on 2019-10-13 03:38 (UTC) by jamespharvey20)
mrohnstock, thanks for the report. Sorry I was out of town for quite a few days. Appears yaml-cpp made a bug fix regarding precision which causes its precision behavior to change. I've reported upstream to mongodb at https://jira.mongodb.org/browse/SERVER-43980. Links there are to the yaml-cpp change.
I haven't directly used yaml-cpp, and don't know if mongodb can make a change specifying precision which would be compatible with not only yaml-cpp 0.6.3 but also older versions. Even if they can, I don't know how extensive the fix would be and how long it would take them.
I've pushed 4.2.0-3 which drops using yaml-cpp as a system library, and pulls in the specific commit that mongodb's source tree has for it. This will have a minuscule impact on mongodb build time and package size.
I compiled through makepkg instead of devtools so all tests would run, and verified it compiles without error again.
mrohnstock commented on 2019-10-02 05:20 (UTC) (edited on 2019-10-02 05:29 (UTC) by mrohnstock)
Hi jamespharvey20,
as yaml-cpp got updated two days ago a rebuild of mongodb is required, as at least one symbol is missing afterwards:
/usr/bin/mongod: symbol lookup error: /usr/bin/mongod: undefined symbol: _ZN4YAML6detail9node_data12empty_scalarB5cxx11E
After again about 18h of compiling a new error appear...
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:52.461+0200 2019-10-01T22:24:52.460+0200 I - [main] Testing URI: mongodb://alice/bob:foo@localhost/db
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:52.461+0200 2019-10-01T22:24:52.460+0200 I - [main] Testing URI: mongodb://alice:foo/bar@localhost/db
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:52.461+0200 2019-10-01T22:24:52.460+0200 I - [main] Testing URI: mongodb:///tmp/mongodb-27017.sock/
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:52.462+0200 2019-10-01T22:24:52.460+0200 I - [main] going to run test: srvRecordTest
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.562+0200 2019-10-01T22:24:53.562+0200 E - [main] Throwing exception: Expected: !(rs.getStatus().isOK()) Failing URI: mongodb+srv://test6.test.build.10gen.cc/database data on line: 904 @src/mongo/client/mongo_uri_test.cpp:993
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.563+0200 2019-10-01T22:24:53.563+0200 I - [main] FAIL: srvRecordTest Expected: !(rs.getStatus().isOK()) Failing URI: mongodb+srv://test6.test.build.10gen.cc/database data on line: 904 @src/mongo/client/mongo_uri_test.cpp:993 in test srvRecordTest
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.563+0200 0x562bb7e4cfaa 0x562bb796cbb3 0x562bb796ce3d 0x562bb795893b 0x562bb796b6d4 0x562bb794d28b 0x562bb796d465 0x562bb796e9d9 0x562bb7933e9e 0x7f062c77fee3 0x562bb794cade
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.563+0200 ----- BEGIN BACKTRACE -----
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.564+0200 {"backtrace":[{"b":"562BB7627000","o":"825FAA","s":"_ZN5mongo15printStackTraceERSo"},{"b":"562BB7627000","o":"345BB3","s":"_ZN5mongo8unittest29TestAssertionFailureExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_"},{"b":"562BB7627000","o":"345E3D","s":"_ZN5mongo8unittest20TestAssertionFailureC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_"},{"b":"562BB7627000","o":"33193B"},{"b":"562BB7627000","o":"3446D4","s":"_ZN5mongo8unittest4Test3runEv"},{"b":"562BB7627000","o":"32628B"},{"b":"562BB7627000","o":"346465","s":"_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi"},{"b":"562BB7627000","o":"3479D9","s":"_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i"},{"b":"562BB7627000","o":"30CE9E","s":"main"},{"b":"7F062C759000","o":"26EE3","s":"__libc_start_main"},{"b":"562BB7627000","o":"325ADE","s":"_start"}],"processInfo":{ "mongodbVersion" : "unknown", "gitVersion" : "none", "compiledModules" : [ "unknown" ], "uname" : { "sysname" : "Linux", "release" : "4.19.75-1-lts", "version" : "#1 SMP Sun Sep 22 21:23:17 CEST 2019", "machine" : "x86_64" }, "somap" : [ { "b" : "562BB7627000", "elfType" : 3, "buildId" : "DB1377A31898859D08A246D98797CAB108B0F0F9" }, { "b" : "7FFEE5BC7000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "AEABF491BD6677034AEA65F3B7C4C518E3982F49" }, { "b" : "7F062D720000", "path" : "/usr/lib/libz.so.1", "elfType" : 3, "buildId" : "5BBDB8B0958891549BB245BEAB9A1B248D97199A" }, { "b" : "7F062D518000", "path" : "/usr/lib/libsnappy.so.1", "elfType" : 3, "buildId" : "4945D214906C5C184B044DF00ED23A3A4DC08166" }, { "b" : "7F062D4F9000", "path" : "/usr/lib/libsasl2.so.3", "elfType" : 3, "buildId" : "5EB2BB3E230AE8C8041137E699B28B8897470F6D" }, { "b" : "7F062D495000", "path" : "/usr/lib/libyaml-cpp.so.0.6", "elfType" : 3, "buildId" : "9CE8599B80C376E11594893F64DB930275BD2406" }, { "b" : "7F062D409000", "path" : "/usr/lib/libcurl.so.4", "elfType" : 3, "buildId" : "603163860880AF19A20B2D0662922E089DB0E447" }, { "b" : "7F062D013000", "path" : "/usr/lib/libtcmalloc.so.4", "elfType" : 3, "buildId" : "9D9D6DF03F9FA0FAB29B51CF9D541CC76FA94634" }, { "b" : "7F062CFF8000", "path" : "/usr/lib/libresolv.so.2", "elfType" : 3, "buildId" : "E4B2B917453A734D025066EABEDF96599E2D7224" }, { "b" : "7F062CD27000", "path" : "/usr/lib/libcrypto.so.1.1", "elfType" : 3, "buildId" : "9E2DE4455F506C6976993CC445022092BE0B54A8" }, { "b" : "7F062CC97000", "path" : "/usr/lib/libssl.so.1.1", "elfType" : 3, "buildId" : "F0FD93B30114A7CD44FDB6DD1F6D471D2AE90AED" }, { "b" : "7F062CC92000", "path" : "/usr/lib/libdl.so.2", "elfType" : 3, "buildId" : "DFB8370A4FD752F3F5CBE807A3528F18F61D176F" }, { "b" : "7F062CC87000", "path" : "/usr/lib/librt.so.1", "elfType" : 3, "buildId" : "7673B31E17C41CA27FBD88CB985081E9627BC9B2" }, { "b" : "7F062CA9F000", "path" : "/usr/lib/libstdc++.so.6", "elfType" : 3, "buildId" : "EB501D9FF20E37200F3A4E0BC0ED14634E0EC543" }, { "b" : "7F062C957000", "path" : "/usr/lib/libm.so.6", "elfType" : 3, "buildId" : "0F856154AA17D9A576B823BDAF8630D5E4C94EAC" }, { "b" : "7F062C93D000", "path" : "/usr/lib/libgcc_s.so.1", "elfType" : 3, "buildId" : "6E78D7299B06E83AD19D1FF69EEDB749B17368FB" }, { "b" : "7F062C91C000", "path" : "/usr/lib/libpthread.so.0", "elfType" : 3, "buildId" : "9267B03C3D16CEAEBCBCD4D81D7374B2BF8EF1F3" }, { "b" : "7F062C759000", "path" : "/usr/lib/libc.so.6", "elfType" : 3, "buildId" : "A8AF6C81CB28A37BF3A546970BF64224402F8BD4" }, { "b" : "7F062C731000", "path" : "/usr/lib/libnghttp2.so.14", "elfType" : 3, "buildId" : "4219E1F134469A4C8AC0B1849B759F924CDE4A34" }, { "b" : "7F062C712000", "path" : "/usr/lib/libidn2.so.0", "elfType" : 3, "buildId" : "BE83B30E7B61A215BF00B1B9207663679E133EFD" }, { "b" : "7F062C6D0000", "path" : "/usr/lib/libssh2.so.1", "elfType" : 3, "buildId" : "E3D2D2457F198CC759D49550108E70CCFD9E8CDB" }, { "b" : "7F062C6BD000", "path" : "/usr/lib/libpsl.so.5", "elfType" : 3, "buildId" : "CE00C357D7769AFEF846A12E3CFDE915CDC50902" }, { "b" : "7F062C66D000", "path" : "/usr/lib/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "57DD8442F60D25BA9BAA4E4304F788200F2E6F42" }, { "b" : "7F062C57F000", "path" : "/usr/lib/libkrb5.so.3", "elfType" : 3, "buildId" : "21930CA0C85798ACCDB009D840FAF1FA887409EA" }, { "b" : "7F062C54A000", "path" : "/usr/lib/libk5crypto.so.3", "elfType" : 3, "buildId" : "60CF7C2EC1987ACADEAC7B2C977DB5261F6C4BF7" }, { "b" : "7F062C544000", "path" : "/usr/lib/libcom_err.so.2", "elfType" : 3, "buildId" : "DCF3AFF7E1262A8DE73F6C071AD5452E8C6F0531" }, { "b" : "7F062D986000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "5F661EE590E1776147FE7FF025E0BD922E7DAE70" }, { "b" : "7F062C1C2000", "path" : "/usr/lib/libunistring.so.2", "elfType" : 3, "buildId" : "B06A573A55F6005E92418F30945B13581F9BC848" }, { "b" : "7F062C1B2000", "path" : "/usr/lib/libkrb5support.so.0", "elfType" : 3, "buildId" : "5A6E77E8A946A471F9E42EDDB168F77D263172F5" }, { "b" : "7F062C1AB000", "path" : "/usr/lib/libkeyutils.so.1", "elfType" : 3, "buildId" : "CC70288F3B3DED400229586626D232405AE3DB6B" }, { "b" : "7F062D976000", "path" : "/usr/lib/sasl2/libdigestmd5.so", "elfType" : 3, "buildId" : "D1097B4F447ADD8E071599D82DFD003221319377" }, { "b" : "7F062D96D000", "path" : "/usr/lib/sasl2/libsasldb.so", "elfType" : 3, "buildId" : "8C87CDC6673301F0482F2818A9537131A8BD3CDA" }, { "b" : "7F062D95D000", "path" : "/usr/lib/libgdbm.so.6", "elfType" : 3, "buildId" : "3CED12D97BB484AED60E80FD799642F89FA94FDF" }, { "b" : "7F062D952000", "path" : "/usr/lib/sasl2/libntlm.so", "elfType" : 3, "buildId" : "37E8B14505CD5BC907D60D628BF3861322A93710" }, { "b" : "7F062D94C000", "path" : "/usr/lib/sasl2/liblogin.so", "elfType" : 3, "buildId" : "1D611C3A477B6101DE8248908EA44A6C4D3B18AC" }, { "b" : "7F062D946000", "path" : "/usr/lib/sasl2/libkdexoauth2.so", "elfType" : 3, "buildId" : "EEA6A77BBA7BA2B15D05EA337D0B0A8FC1890E60" }, { "b" : "7F062D940000", "path" : "/usr/lib/sasl2/libanonymous.so", "elfType" : 3, "buildId" : "45E7CD56D9BB3442549518DC9BA28F80321AE38E" }, { "b" : "7F062D939000", "path" : "/usr/lib/sasl2/libcrammd5.so", "elfType" : 3, "buildId" : "D457203C4F5AD64ED76AE93C2998524D7D26BFAA" }, { "b" : "7F062C19C000", "path" : "/usr/lib/sasl2/libplain.so", "elfType" : 3, "buildId" : "085FFBA1386E4D23DD6CF33D8171886663CF9241" }, { "b" : "7F062C190000", "path" : "/usr/lib/sasl2/libscram.so", "elfType" : 3, "buildId" : "90705ADB02DEDB6A21BD41B58630E6CF42842E4C" } ] }}
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.564+0200 mongo_uri_test(_ZN5mongo15printStackTraceERSo+0x3A) [0x562bb7e4cfaa]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.564+0200 mongo_uri_test(_ZN5mongo8unittest29TestAssertionFailureExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_+0x1F3) [0x562bb796cbb3]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.564+0200 mongo_uri_test(_ZN5mongo8unittest20TestAssertionFailureC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_+0x2D) [0x562bb796ce3d]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.565+0200 mongo_uri_test(+0x33193B) [0x562bb795893b]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.565+0200 mongo_uri_test(_ZN5mongo8unittest4Test3runEv+0x24) [0x562bb796b6d4]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.565+0200 mongo_uri_test(+0x32628B) [0x562bb794d28b]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.565+0200 mongo_uri_test(_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x4B5) [0x562bb796d465]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.565+0200 mongo_uri_test(_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i+0x5E9) [0x562bb796e9d9]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.566+0200 mongo_uri_test(main+0x85E) [0x562bb7933e9e]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.566+0200 libc.so.6(__libc_start_main+0xF3) [0x7f062c77fee3]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.566+0200 mongo_uri_test(_start+0x2E) [0x562bb794cade]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.566+0200 ----- END BACKTRACE -----
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.567+0200 2019-10-01T22:24:53.563+0200 I - [main] going to run test: Redact
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.567+0200 2019-10-01T22:24:53.563+0200 I - [main] DONE running tests
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.567+0200 2019-10-01T22:24:53.563+0200 I - [main] going to run suite: ServiceContextTest
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.567+0200 2019-10-01T22:24:53.563+0200 I - [main] going to run test: ValidButBadURIsFailToConnect
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 2019-10-01T22:24:53.593+0200 I - [main] DONE running tests
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 2019-10-01T22:24:53.593+0200 I - [main] **************************************************
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 2019-10-01T22:24:53.593+0200 I - [main] MongoURI | tests: 6 | fails: 1 | assert calls: 0 | time secs: 1.175
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 srvRecordTest Expected: !(rs.getStatus().isOK()) Failing URI: mongodb+srv://test6.test.build.10gen.cc/database data on line: 904 @src/mongo/client/mongo_uri_test.cpp:993 in test srvRecordTest
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 0x562bb7e4cfaa 0x562bb796cbb3 0x562bb796ce3d 0x562bb795893b 0x562bb796b6d4 0x562bb794d28b 0x562bb796d465 0x562bb796e9d9 0x562bb7933e9e 0x7f062c77fee3 0x562bb794cade
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 ----- BEGIN BACKTRACE -----
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 {"backtrace":[{"b":"562BB7627000","o":"825FAA","s":"_ZN5mongo15printStackTraceERSo"},{"b":"562BB7627000","o":"345BB3","s":"_ZN5mongo8unittest29TestAssertionFailureExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_"},{"b":"562BB7627000","o":"345E3D","s":"_ZN5mongo8unittest20TestAssertionFailureC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_"},{"b":"562BB7627000","o":"33193B"},{"b":"562BB7627000","o":"3446D4","s":"_ZN5mongo8unittest4Test3runEv"},{"b":"562BB7627000","o":"32628B"},{"b":"562BB7627000","o":"346465","s":"_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi"},{"b":"562BB7627000","o":"3479D9","s":"_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i"},{"b":"562BB7627000","o":"30CE9E","s":"main"},{"b":"7F062C759000","o":"26EE3","s":"__libc_start_main"},{"b":"562BB7627000","o":"325ADE","s":"_start"}],"processInfo":{ "mongodbVersion" : "unknown", "gitVersion" : "none", "compiledModules" : [ "unknown" ], "uname" : { "sysname" : "Linux", "release" : "4.19.75-1-lts", "version" : "#1 SMP Sun Sep 22 21:23:17 CEST 2019", "machine" : "x86_64" }, "somap" : [ { "b" : "562BB7627000", "elfType" : 3, "buildId" : "DB1377A31898859D08A246D98797CAB108B0F0F9" }, { "b" : "7FFEE5BC7000", "path" : "linux-vdso.so.1", "elfType" : 3, "buildId" : "AEABF491BD6677034AEA65F3B7C4C518E3982F49" }, { "b" : "7F062D720000", "path" : "/usr/lib/libz.so.1", "elfType" : 3, "buildId" : "5BBDB8B0958891549BB245BEAB9A1B248D97199A" }, { "b" : "7F062D518000", "path" : "/usr/lib/libsnappy.so.1", "elfType" : 3, "buildId" : "4945D214906C5C184B044DF00ED23A3A4DC08166" }, { "b" : "7F062D4F9000", "path" : "/usr/lib/libsasl2.so.3", "elfType" : 3, "buildId" : "5EB2BB3E230AE8C8041137E699B28B8897470F6D" }, { "b" : "7F062D495000", "path" : "/usr/lib/libyaml-cpp.so.0.6", "elfType" : 3, "buildId" : "9CE8599B80C376E11594893F64DB930275BD2406" }, { "b" : "7F062D409000", "path" : "/usr/lib/libcurl.so.4", "elfType" : 3, "buildId" : "603163860880AF19A20B2D0662922E089DB0E447" }, { "b" : "7F062D013000", "path" : "/usr/lib/libtcmalloc.so.4", "elfType" : 3, "buildId" : "9D9D6DF03F9FA0FAB29B51CF9D541CC76FA94634" }, { "b" : "7F062CFF8000", "path" : "/usr/lib/libresolv.so.2", "elfType" : 3, "buildId" : "E4B2B917453A734D025066EABEDF96599E2D7224" }, { "b" : "7F062CD27000", "path" : "/usr/lib/libcrypto.so.1.1", "elfType" : 3, "buildId" : "9E2DE4455F506C6976993CC445022092BE0B54A8" }, { "b" : "7F062CC97000", "path" : "/usr/lib/libssl.so.1.1", "elfType" : 3, "buildId" : "F0FD93B30114A7CD44FDB6DD1F6D471D2AE90AED" }, { "b" : "7F062CC92000", "path" : "/usr/lib/libdl.so.2", "elfType" : 3, "buildId" : "DFB8370A4FD752F3F5CBE807A3528F18F61D176F" }, { "b" : "7F062CC87000", "path" : "/usr/lib/librt.so.1", "elfType" : 3, "buildId" : "7673B31E17C41CA27FBD88CB985081E9627BC9B2" }, { "b" : "7F062CA9F000", "path" : "/usr/lib/libstdc++.so.6", "elfType" : 3, "buildId" : "EB501D9FF20E37200F3A4E0BC0ED14634E0EC543" }, { "b" : "7F062C957000", "path" : "/usr/lib/libm.so.6", "elfType" : 3, "buildId" : "0F856154AA17D9A576B823BDAF8630D5E4C94EAC" }, { "b" : "7F062C93D000", "path" : "/usr/lib/libgcc_s.so.1", "elfType" : 3, "buildId" : "6E78D7299B06E83AD19D1FF69EEDB749B17368FB" }, { "b" : "7F062C91C000", "path" : "/usr/lib/libpthread.so.0", "elfType" : 3, "buildId" : "9267B03C3D16CEAEBCBCD4D81D7374B2BF8EF1F3" }, { "b" : "7F062C759000", "path" : "/usr/lib/libc.so.6", "elfType" : 3, "buildId" : "A8AF6C81CB28A37BF3A546970BF64224402F8BD4" }, { "b" : "7F062C731000", "path" : "/usr/lib/libnghttp2.so.14", "elfType" : 3, "buildId" : "4219E1F134469A4C8AC0B1849B759F924CDE4A34" }, { "b" : "7F062C712000", "path" : "/usr/lib/libidn2.so.0", "elfType" : 3, "buildId" : "BE83B30E7B61A215BF00B1B9207663679E133EFD" }, { "b" : "7F062C6D0000", "path" : "/usr/lib/libssh2.so.1", "elfType" : 3, "buildId" : "E3D2D2457F198CC759D49550108E70CCFD9E8CDB" }, { "b" : "7F062C6BD000", "path" : "/usr/lib/libpsl.so.5", "elfType" : 3, "buildId" : "CE00C357D7769AFEF846A12E3CFDE915CDC50902" }, { "b" : "7F062C66D000", "path" : "/usr/lib/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "57DD8442F60D25BA9BAA4E4304F788200F2E6F42" }, { "b" : "7F062C57F000", "path" : "/usr/lib/libkrb5.so.3", "elfType" : 3, "buildId" : "21930CA0C85798ACCDB009D840FAF1FA887409EA" }, { "b" : "7F062C54A000", "path" : "/usr/lib/libk5crypto.so.3", "elfType" : 3, "buildId" : "60CF7C2EC1987ACADEAC7B2C977DB5261F6C4BF7" }, { "b" : "7F062C544000", "path" : "/usr/lib/libcom_err.so.2", "elfType" : 3, "buildId" : "DCF3AFF7E1262A8DE73F6C071AD5452E8C6F0531" }, { "b" : "7F062D986000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "5F661EE590E1776147FE7FF025E0BD922E7DAE70" }, { "b" : "7F062C1C2000", "path" : "/usr/lib/libunistring.so.2", "elfType" : 3, "buildId" : "B06A573A55F6005E92418F30945B13581F9BC848" }, { "b" : "7F062C1B2000", "path" : "/usr/lib/libkrb5support.so.0", "elfType" : 3, "buildId" : "5A6E77E8A946A471F9E42EDDB168F77D263172F5" }, { "b" : "7F062C1AB000", "path" : "/usr/lib/libkeyutils.so.1", "elfType" : 3, "buildId" : "CC70288F3B3DED400229586626D232405AE3DB6B" }, { "b" : "7F062D976000", "path" : "/usr/lib/sasl2/libdigestmd5.so", "elfType" : 3, "buildId" : "D1097B4F447ADD8E071599D82DFD003221319377" }, { "b" : "7F062D96D000", "path" : "/usr/lib/sasl2/libsasldb.so", "elfType" : 3, "buildId" : "8C87CDC6673301F0482F2818A9537131A8BD3CDA" }, { "b" : "7F062D95D000", "path" : "/usr/lib/libgdbm.so.6", "elfType" : 3, "buildId" : "3CED12D97BB484AED60E80FD799642F89FA94FDF" }, { "b" : "7F062D952000", "path" : "/usr/lib/sasl2/libntlm.so", "elfType" : 3, "buildId" : "37E8B14505CD5BC907D60D628BF3861322A93710" }, { "b" : "7F062D94C000", "path" : "/usr/lib/sasl2/liblogin.so", "elfType" : 3, "buildId" : "1D611C3A477B6101DE8248908EA44A6C4D3B18AC" }, { "b" : "7F062D946000", "path" : "/usr/lib/sasl2/libkdexoauth2.so", "elfType" : 3, "buildId" : "EEA6A77BBA7BA2B15D05EA337D0B0A8FC1890E60" }, { "b" : "7F062D940000", "path" : "/usr/lib/sasl2/libanonymous.so", "elfType" : 3, "buildId" : "45E7CD56D9BB3442549518DC9BA28F80321AE38E" }, { "b" : "7F062D939000", "path" : "/usr/lib/sasl2/libcrammd5.so", "elfType" : 3, "buildId" : "D457203C4F5AD64ED76AE93C2998524D7D26BFAA" }, { "b" : "7F062C19C000", "path" : "/usr/lib/sasl2/libplain.so", "elfType" : 3, "buildId" : "085FFBA1386E4D23DD6CF33D8171886663CF9241" }, { "b" : "7F062C190000", "path" : "/usr/lib/sasl2/libscram.so", "elfType" : 3, "buildId" : "90705ADB02DEDB6A21BD41B58630E6CF42842E4C" } ] }}
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_ZN5mongo15printStackTraceERSo+0x3A) [0x562bb7e4cfaa]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_ZN5mongo8unittest29TestAssertionFailureExceptionC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_+0x1F3) [0x562bb796cbb3]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_ZN5mongo8unittest20TestAssertionFailureC2ERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEjS9_+0x2D) [0x562bb796ce3d]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(+0x33193B) [0x562bb795893b]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_ZN5mongo8unittest4Test3runEv+0x24) [0x562bb796b6d4]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(+0x32628B) [0x562bb794d28b]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_ZN5mongo8unittest5Suite3runERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi+0x4B5) [0x562bb796d465]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_ZN5mongo8unittest5Suite3runERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS8_EERKS8_i+0x5E9) [0x562bb796e9d9]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(main+0x85E) [0x562bb7933e9e]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 libc.so.6(__libc_start_main+0xF3) [0x7f062c77fee3]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 mongo_uri_test(_start+0x2E) [0x562bb794cade]
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.593+0200 ----- END BACKTRACE -----
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.594+0200
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.594+0200 2019-10-01T22:24:53.593+0200 I - [main] ServiceContextTest | tests: 1 | fails: 0 | assert calls: 0 | time secs: 0.029
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.594+0200 2019-10-01T22:24:53.593+0200 I - [main] TOTALS | tests: 7 | fails: 1 | assert calls: 0 | time secs: 1.204
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.594+0200 2019-10-01T22:24:53.593+0200 I - [main] Failing tests:
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.594+0200 2019-10-01T22:24:53.593+0200 I - [main] MongoURI/srvRecordTest Failed
[cpp_unit_test:mongo_uri_test] 2019-10-01T22:24:53.594+0200 2019-10-01T22:24:53.593+0200 I - [main] FAILURE - 1 tests in 1 suites failed
[executor:cpp_unit_test:job0] 2019-10-01T22:24:53.598+0200 mongo_uri_test ran in 1.67 seconds: failed.
[executor:cpp_unit_test:job0] 2019-10-01T22:24:53.599+0200 C++ unit test build/opt/mongo/client/mongo_uri_test failed, so stopping...
[executor:cpp_unit_test:job0] 2019-10-01T22:24:53.599+0200 Received a StopExecution exception: C++ unit test build/opt/mongo/client/mongo_uri_test failed.
[executor] 2019-10-01T22:24:53.601+0200 Waiting for threads to complete
[executor] 2019-10-01T22:24:53.601+0200 Threads are completed!
[executor] 2019-10-01T22:24:53.601+0200 Summary: 23 test(s) ran in 8.90 seconds (22 succeeded, 369 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
build/opt/mongo/client/mongo_uri_test (17 UNKNOWN)
[resmoke] 2019-10-01T22:24:53.601+0200 ================================================================================
[resmoke] 2019-10-01T22:24:53.601+0200 Summary of unittests suite: 23 test(s) ran in 8.90 seconds (22 succeeded, 369 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
build/opt/mongo/client/mongo_uri_test (17 UNKNOWN)
23 test(s) ran in 8.91 seconds (22 succeeded, 369 were skipped, 1 failed, 0 errored)
cpp_unit_tests: 23 test(s) ran in 8.90 seconds (22 succeeded, 369 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
build/opt/mongo/client/mongo_uri_test (17 UNKNOWN)
[resmoke] 2019-10-01T22:24:53.601+0200 Exiting with code: 1
==> FEHLER: Ein Fehler geschah in check().
Breche ab...
really annoying...
jamespharvey20 commented on 2019-08-28 02:32 (UTC)
mrohnstock, per upstream's response, I've disabled mongodb using pcre via system library, so it pulls in their own version and compiles it into mongodb itself. Verified it passes check()
with makepkg
.
jamespharvey20 commented on 2019-08-23 10:25 (UTC)
mrohnstock, thanks for your bugreport.
I'm increasingly understanding why there is swearing from previous maintainers of mongodb, in the old community git repo.
I've created a new jira issue asking for comment, because the issue you linked to is closed, and I've had them give no response on other closed issues I've had followup questions on.
I'm not sure what to do here. The way they worded the issue you linked to implies to me that it's just a test failure, and not necessarily affect production. That might indicate just disabling the test. But, I'm fairly uncomfortable with releasing effectively untested code. And, I'm increasingly having the impression based on past and current mongodb history that the mongodb source code is incapable of working with external dependencies in the long term, and we may have to abandon the practice of efficiently working with packaged dependencies and just let it compile in everything it needs itself.
mrohnstock commented on 2019-08-23 04:54 (UTC) (edited on 2019-08-23 06:17 (UTC) by mrohnstock)
After about 18h of compiling the following error appear:
...
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.161+0200 2019-08-22T22:02:49.158+0200 I - [main] RegexMatchExpression | tests: 27 | fails: 1 | assert calls: 0 | time secs: 0.002
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.162+0200 RegexAcceptsLFOption DBException: Location51091: Regular expression is invalid: (*VERB) not recognized or malformed in test RegexAcceptsLFOption
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.162+0200 2019-08-22T22:02:49.158+0200 I - [main] SizeMatchExpression | tests: 6 | fails: 0 | assert calls: 0 | time secs: 0.000
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.162+0200 2019-08-22T22:02:49.158+0200 I - [main] TOTALS | tests: 494 | fails: 1 | assert calls: 0 | time secs: 7.515
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.162+0200 2019-08-22T22:02:49.158+0200 I - [main] Failing tests:
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.162+0200 2019-08-22T22:02:49.158+0200 I - [main] RegexMatchExpression/RegexAcceptsLFOption Failed
[cpp_unit_test:expression_test] 2019-08-22T22:02:49.162+0200 2019-08-22T22:02:49.158+0200 I - [main] FAILURE - 1 tests in 1 suites failed
[executor:cpp_unit_test:job0] 2019-08-22T22:02:49.178+0200 expression_test ran in 8.06 seconds: failed.
[executor:cpp_unit_test:job0] 2019-08-22T22:02:49.178+0200 C++ unit test build/opt/mongo/db/matcher/expression_test failed, so stopping...
[executor:cpp_unit_test:job0] 2019-08-22T22:02:49.178+0200 Received a StopExecution exception: C++ unit test build/opt/mongo/db/matcher/expression_test failed.
[executor] 2019-08-22T22:02:49.180+0200 Waiting for threads to complete
[executor] 2019-08-22T22:02:49.180+0200 Threads are completed!
[executor] 2019-08-22T22:02:49.181+0200 Summary: 105 test(s) ran in 115.98 seconds (104 succeeded, 287 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
build/opt/mongo/db/matcher/expression_test (17 UNKNOWN)
[resmoke] 2019-08-22T22:02:49.181+0200 ================================================================================
[resmoke] 2019-08-22T22:02:49.181+0200 Summary of unittests suite: 105 test(s) ran in 115.98 seconds (104 succeeded, 287 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
build/opt/mongo/db/matcher/expression_test (17 UNKNOWN)
105 test(s) ran in 116.00 seconds (104 succeeded, 287 were skipped, 1 failed, 0 errored)
cpp_unit_tests: 105 test(s) ran in 115.98 seconds (104 succeeded, 287 were skipped, 1 failed, 0 errored)
The following tests failed (with exit code):
build/opt/mongo/db/matcher/expression_test (17 UNKNOWN)
[resmoke] 2019-08-22T22:02:49.181+0200 Exiting with code: 1
==> Ein Fehler geschah in check().
Breche ab...
which got already reported as Won't fix in jira. PCRE needs an fix, listed here. I've created a task for the pcre package here.
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.