mongodb failed to build from source in Fedora rawhide/f30 https://koji.fedoraproject.org/koji/taskinfo?taskID=32415194 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Please fix mongodb at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, mongodb will be orphaned. Before branching of Fedora 31, mongodb will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1531320 [details] build.log file build.log too big, will only attach last 1024 bytes
Created attachment 1531321 [details] root.log file root.log too big, will only attach last 1024 bytes
Created attachment 1531322 [details] state.log
The build.log is truncated and useless. The compiler error is: g++ -o build/fedora/mongo/util/fail_point.o -c -Woverloaded-virtual -Wpessimizing-move -Wredundant-move -Wno-maybe-uninitialized -std=c++14 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O2 -Wno-unused-local-typedefs -Wno-unused-function -Wno-deprecated-declarations -Wno-unused-const-variable -Wno-unused-but-set-variable -Wno-missing-braces -fstack-protector-strong -fno-builtin-memcmp -fPIE -DNDEBUG -D_XOPEN_SOURCE=700 -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_MATH_NO_LONG_DOUBLE_MATH_FUNCTIONS -Isrc/third_party/asio-master/asio/include -Ibuild/fedora -Isrc src/mongo/util/fail_point.cpp [...] BUILDSTDERR: In file included from src/mongo/platform/decimal128.h:38, BUILDSTDERR: from src/mongo/platform/endian.h:37, BUILDSTDERR: from src/mongo/base/data_range.h:37, BUILDSTDERR: from src/mongo/bson/bsonelement.h:38, BUILDSTDERR: from src/mongo/db/jsobj.h:46, BUILDSTDERR: from src/mongo/util/fail_point.h:33, BUILDSTDERR: from src/mongo/util/fail_point.cpp:31: BUILDSTDERR: src/mongo/util/unordered_fast_key_table_internal.h: In member function 'std::pair<mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::iterator_impl<mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::Area*>, bool> mongo::UnorderedFastKeyTable<K_L, K_S, V, Traits>::try_emplace(const HashedKey&, Args&& ...)': BUILDSTDERR: src/mongo/util/assert_util.h:346:44: error: expected identifier before '{' token BUILDSTDERR: 346 | [&]() MONGO_COMPILER_COLD_FUNCTION { \ BUILDSTDERR: | ^ BUILDSTDERR: src/mongo/util/assert_util.h:420:5: note: in expansion of macro 'MONGO_BASE_ASSERT_FAILED' BUILDSTDERR: 420 | MONGO_BASE_ASSERT_FAILED(::mongo::msgassertedWithLocation, msgid, msg) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: src/mongo/util/unordered_fast_key_table_internal.h:169:5: note: in expansion of macro 'msgasserted' BUILDSTDERR: 169 | msgasserted(16471, "UnorderedFastKeyTable couldn't add entry after growing many times"); BUILDSTDERR: | ^~~~~~~~~~~
We are currently in the process of dropping mongodb from Rawhide/F30. Change page: https://fedoraproject.org/wiki/Changes/MongoDB_Removal Fesco ticket: https://pagure.io/fesco/issue/2078