Created attachment 893464 [details] /var/log/portage/dev-db:mongodb-5.0.26:20240520-042754.log src/mongo/scripting/engine.cpp: In member function 'virtual bool mongo::Scope::execFile(const std::string&, bool, bool, int)': src/mongo/scripting/engine.cpp:170:28: error: 'directory_iterator' is not a member of 'boost::filesystem'; did you mean 'directory_entr y'? 170 | boost::filesystem::directory_iterator end; | ^~~~~~~~~~~~~~~~~~ | directory_entry src/mongo/scripting/engine.cpp:173:33: error: 'directory_iterator' is not a member of 'boost::filesystem'; did you mean 'directory_entr y'? 173 | for (boost::filesystem::directory_iterator it(p); it != end; it++) { | ^~~~~~~~~~~~~~~~~~ | directory_entry
https://github.com/mongodb/mongo/commit/f8e4be7f6da71f978b2aa9991febb4c7ad89c903#diff-010644a9158d28e5745762753c7ce454444c9fb9ab4c684e9f2fdcff50c6f539 may fix it but will need cherry-picking
*** Bug 932314 has been marked as a duplicate of this bug. ***
Created attachment 893684 [details, diff] boost-1.85 patch
*** Bug 932800 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f2c752ff3afb0952991e09cb7fb4947b57df06f commit 4f2c752ff3afb0952991e09cb7fb4947b57df06f Author: Sam James <sam@gentoo.org> AuthorDate: 2024-05-28 01:38:59 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-28 01:38:59 +0000 dev-db/mongodb: fix build w/ boost-1.85 Closes: https://bugs.gentoo.org/932251 Thanks-to: Jura <me@slie.ru> Signed-off-by: Sam James <sam@gentoo.org> .../mongodb/files/mongodb-5.0.26-boost-1.85.patch | 139 +++++++++++++++++++++ dev-db/mongodb/mongodb-5.0.26.ebuild | 1 + 2 files changed, 140 insertions(+)
Does this also need to be applied to mongodb-4.4.29? Some systems can't upgrade to 5.0 because that requires a newer CPU (it's incompatible with amd64 chips without avx instruction support (e.g., Haswell Celerons or pre-Haswell chips) An alternative would be to update that ebuild to explicitly require an older boost version.
Created attachment 895145 [details, diff] mongodb-4.4.29 boost-1.85 patch This is the patch for mongodb-4.4.29