Fix/CI failures#345
Open
gennaroprota wants to merge 3 commits into
Open
Conversation
GCC's initial `<filesystem>` (before version 9) shipped in a separate libstdc++fs and is unreliable: serializing a `std::filesystem::path` segfaults at runtime in CI. Exclude those versions from the availability guard so the feature is inert. Refs issue #337.
The wide *text* archive transcodes a narrow `std::string` through the stream locale's `codecvt_null`, which cannot represent bytes outside the ASCII range; it is the only archive in the test list that fails to round-trip non-ASCII content. The others preserve it: narrow text and XML store the bytes verbatim, binary stores them raw, and wide XML installs a UTF-8 codecvt. Rather than dropping the non-ASCII path from the test entirely, exercise it against every archive but the wide-text one.
gennaroprota
force-pushed
the
fix/ci-failures
branch
from
July 17, 2026 13:43
5a16e08 to
6accff5
Compare
The example programs write to fixed temp filenames---demo and demo_exception even share tmpdir()/demofile.txt---so running them under `b2 -jN` with N > 1 races: concurrent processes clobber each other's archive files and a reader picks up a half-written one, throwing `archive_exception`. Therefore, run the examples under `-j1` (the tests keep running in parallel).
gennaroprota
force-pushed
the
fix/ci-failures
branch
from
July 17, 2026 14:04
6accff5 to
92da55a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.