-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Server Programmability
-
ALL
-
- use a system with boost 1.85.0 or newer
- try building mongo
The `branch_path` and `has_branch_path` functions are used in a number of places. Those functions are deprecated for a long while, and mapped onto using "parent_path" and "has_parent_path" in a mapped way. With boost 1.85.0 these were now removed, and only "parent_path" bits are available.
Thus the build fails with errors like this:
src/mongo/db/storage/storage_engine_lock_file_posix.cpp:60:15: error: 'const class boost::filesystem::path' has no member named 'has_branch_path'; did you mean 'has_root_path'? 60 | if (!file.has_branch_path()) { | ^~~~~~~~~~~~~~~ | has_root_path src/mongo/db/storage/storage_engine_lock_file_posix.cpp:69:40: error: 'const class boost::filesystem::path' has no member named 'branch_path' 69 | boost::filesystem::path dir = file.branch_path(); // parent_path in new boosts | ^~~~~~~~~~~
Been trying to build mongo on Archlinux that just recently bumped boost to 1.86.0.