Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BCP Not Building It Contains Deprecated Methods #942

Open
BowenJohnson opened this issue Aug 20, 2024 · 4 comments
Open

BCP Not Building It Contains Deprecated Methods #942

BowenJohnson opened this issue Aug 20, 2024 · 4 comments

Comments

@BowenJohnson
Copy link

BowenJohnson commented Aug 20, 2024

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?

@dtrochow-intel
Copy link

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?

@BunnySakura
Copy link

希望尽快修复,谢谢🙏! | 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);
……

@Zangetsu38
Copy link

Zangetsu38 commented Sep 1, 2024

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

image

message(4).txt

@Zangetsu38
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants