Created attachment 593464 [details] emerge info When trying to compile dev-db/mongodb-3.6.14 (I get this error with mongodb-3.6.13 as well) I get the following error: src/mongo/db/matcher/expression_tree.h:208:25: note: remove 'std::move' call Compiling build/opt/mongo/s/catalog/type_shard.o src/mongo/util/heap_profiler.cpp: In member function 'void mongo::{anonymous}::HeapProfiler::generateStackIfNeeded(mongo::{anonymous}::HeapProfiler::Stack&, mongo::{anonymous}::HeapProfiler::StackInfo&)': src/mongo/util/heap_profiler.cpp:484:33: error: 'abi' has not been declared 484 | demangled = abi::__cxa_demangle(dli.dli_sname, 0, 0, &status); | ^~~ While the error and fix below seems to indicate that this would be a general bug, I'm not entirely convinced that it doesn't have something to do with my system, as I used to be able to compile mongodb-3.6.13 just fine without any modifications. Of note is that I recently updated my gcc version from 8.3.0 to 9.2.0. When I did this I followed the gcc upgrade guide on the wiki, and after encountering this issue even did an empty tree emerge world as a precaution to see if that would help anything. I manually patched src/mongo/util/heap_profiler.cpp to include #include <cxxabi.h> at the top of the file and it finished merging just fine.
Please attach the entire build log to this bug report.
It's the same bug as 694530, just with the patches applied to the 3.6.1[34] sources. The patch in the original bug was based on 3.6.13.
Created attachment 593594 [details, diff] Add include for missing cxxabi header
same bug here, thanks for the patch.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4d42a62e084fd57566197ea94009e06b55983e commit dd4d42a62e084fd57566197ea94009e06b55983e Author: Tomas Mozes <hydrapolic@gmail.com> AuthorDate: 2019-11-02 20:04:55 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2019-11-04 06:22:16 +0000 dev-db/mongodb: use dedicated acct-{group,user} packages Closes: https://bugs.gentoo.org/698152 Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/13529 Signed-off-by: Joonas Niilola <juippis@gentoo.org> dev-db/mongodb/mongodb-3.6.14.ebuild | 14 +++++--------- dev-db/mongodb/mongodb-4.0.13.ebuild | 13 ++++--------- dev-db/mongodb/mongodb-4.2.1.ebuild | 13 ++++--------- 3 files changed, 13 insertions(+), 27 deletions(-)