boost icon indicating copy to clipboard operation
boost copied to clipboard

BCP Not Building It Contains Deprecated Methods

Open BowenJohnson opened this issue 1 year ago • 4 comments

I am having issues building tools/bcp (running bootstrap then build command, 'b2 threading=multi address-model=64 tools/bcp'). The builds fail because several files still contain deprecated methods. It looks like this issue was addressed in a pull request, github.com/boostorg/bcp/pull/18/files, back in April, but for some reason this looks like it didn't make it into the release for 1.85 or 1.86. Is there a fix for this?

BowenJohnson avatar Aug 20 '24 18:08 BowenJohnson

I am facing the same issue as described by Bowen. I tested it on the Boost 1.86 Release. Here are the logs with error messages: boost_1_86_build.log.

Does anyone know when this issue will be resolved? Is there a plan to include a fix for this issue in the next Boost release?

dtrochow-intel avatar Aug 21 '24 20:08 dtrochow-intel

希望尽快修复,谢谢🙏! | Hope it's fixed soon, thanks 🙏!

tools/bcp/copy_path.cpp: In member function ‘void bcp_implementation::copy_path(const boost::filesystem::path&)’:
tools/bcp/copy_path.cpp:59:18: error: ‘const class boost::filesystem::path’ has no member named ‘branch_path’
tools/bcp/copy_path.cpp:63:10: error: ‘const class boost::filesystem::path’ has no member named ‘leaf’
   63 |    if((p.leaf() == "Jamroot") && m_namespace_name.size())
tools/bcp/add_dependent_lib.cpp:63:8: error: ‘directory_iterator’ is not a member of ‘fs’; did you mean ‘directory_entry’?
   63 |    fs::directory_iterator i(p);
……

BunnySakura avatar Aug 30 '24 09:08 BunnySakura

I have exactly same issue, like one other dev on 1.86 version

image

message(4).txt

Zangetsu38 avatar Sep 01 '24 05:09 Zangetsu38

ok, for fix it, just replace crazy old version of bcp by last in master...

Zangetsu38 avatar Sep 02 '24 09:09 Zangetsu38