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

Remove usage of deprecated and removed Boost.Filesystem APIs #18

Merged
merged 2 commits into from
Apr 29, 2024

Conversation

Lastique
Copy link
Member

No description provided.

@Lastique
Copy link
Member Author

The b2 crash in the CI is reported here: bfgroup/b2#367.

@jzmaddock
Copy link
Collaborator

Thanks for this!

@pdimov
Copy link
Member

pdimov commented Apr 16, 2024

bcp doesn't seem to build in 1.85 because this PR hasn't been merged.

@Lastique
Copy link
Member Author

I suspect, it wasn't merged because of the b2 issue. I think, this can be merged despite that issue, if only to fix the build.

Note: the first commit in this PR fixes the compilation, the second one updates the dependencies that should fix the CI once b2 is fixed.

@pdimov
Copy link
Member

pdimov commented Apr 16, 2024

The b2 issue is unrelated. Not merging this won't fix it.

@jzmaddock
Copy link
Collaborator

My bad. I didn't merge because we can't tell if the patch is really working until the tests run... (I appreciate it compiles, but that's not quite the same thing as working).

@pdimov
Copy link
Member

pdimov commented Apr 17, 2024

Rene says it doesn't crash for him, so let's close and reopen and see if that helps. :-)

@pdimov pdimov closed this Apr 17, 2024
@pdimov pdimov reopened this Apr 17, 2024
@pdimov
Copy link
Member

pdimov commented Apr 17, 2024

Nope, still crashes. @grafikrobot

@Lastique
Copy link
Member Author

Note that the CI uses the b2 version that was released in Boost.

@grafikrobot
Copy link
Member

The B2 problem was not technically a B2 problem. It was actually a Predef problem. But only the Boost Predef, not the independent Hash Predef. But also none of the following will make the BCP tests work. As BCP is not copying the correct predef/tools/check/predef.jam file. The following changes will prevent the stack overflow crash:

And saying again.. None of those changes will make this PR build. As the tip of the problem is that BCP doesn't copy predef/tools/check/predef.jam.

@Lastique Lastique force-pushed the feature/update_filesystem_usage branch from 6bd3ff8 to d5285c9 Compare April 19, 2024 15:20
@Lastique
Copy link
Member Author

Thanks, Rene. I've added the dependency on libs/predef/tools/check in addition to libs/predef/check.

@Lastique Lastique force-pushed the feature/update_filesystem_usage branch from d5285c9 to c98516b Compare April 19, 2024 15:54
@Lastique
Copy link
Member Author

@jzmaddock Could you merge this, please?

@jzmaddock jzmaddock merged commit 2d17d05 into boostorg:develop Apr 29, 2024
1 check passed
@Lastique Lastique deleted the feature/update_filesystem_usage branch April 29, 2024 19:41
@kwaegel
Copy link

kwaegel commented Aug 27, 2024

Is this fixed, or is it still waiting for some of the predef PRs to get merged? I'm still seeing the same error messages trying to run BCP from the Boost 1.86.0 tarball release.

[edit] There is another ticket open about this, saying the fix has been merged to the develop branch but not the master branch that the boost repo tracks: #18

@Lastique
Copy link
Member Author

This wasn't merged to master before 1.86.0, so it didn't make it to the release. It is merged now, so it should make it into the next one.

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

Successfully merging this pull request may close these issues.

5 participants