Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955590 - games-strategy/wesnoth-1.18.3 fails to build with boost-1.88 error: ‘search_path’ is not a member of ‘bp’
Summary: games-strategy/wesnoth-1.18.3 fails to build with boost-1.88 error: ‘search_p...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL: https://github.com/wesnoth/wesnoth/is...
Whiteboard:
Keywords: PATCH, UPSTREAM
Depends on:
Blocks: 955532
  Show dependency tree
 
Reported: 2025-05-07 18:52 UTC by Andrei Slavoiu
Modified: 2025-05-08 17:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix build with boost-1.88 (wesnoth-1.18.3-boost-1.88.patch,3.01 KB, patch)
2025-05-07 23:22 UTC, Michael Uleysky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2025-05-07 18:52:23 UTC
../wesnoth-1.18.3/src/filesystem.cpp: In function ‘std::string filesystem::get_exe_dir()’:
../wesnoth-1.18.3/src/filesystem.cpp:1025:32: error: ‘search_path’ is not a member of ‘bp’
 1025 |         bfs::path search = bp::search_path(exe).string();
      |                                ^~~~~~~~~~~
../wesnoth-1.18.3/src/filesystem.cpp:1032:22: error: ‘search_path’ is not a member of ‘bp’
 1032 |         search = bp::search_path(exe).string();
      |                      ^~~~~~~~~~~
../wesnoth-1.18.3/src/filesystem.cpp: In function ‘std::string filesystem::sanitize_path(const std::string&)’:
../wesnoth-1.18.3/src/filesystem.cpp:1736:24: error: ‘replace_all’ is not a member of ‘boost’
 1736 |                 boost::replace_all(canonicalized, user_name, "USER");
      |                        ^~~~~~~~~~~


Reproducible: Always
Comment 1 Michael Uleysky 2025-05-07 23:22:23 UTC
Created attachment 928085 [details, diff]
Fix build with boost-1.88

This patch works with boost-1.88; its functionality with earlier versions has not been tested.