Skip to content

openbsd.yml: TEMPORARY probe for the missing rlibs in the uucore doctests - #16541

Closed
sylvestre wants to merge 2 commits into
mainfrom
openbsd-deps-diagnostic
Closed

sylvestre wants to merge 2 commits into
mainfrom
openbsd-deps-diagnostic

Conversation

@sylvestre

Copy link
Copy Markdown
Contributor

Not for merging.

The OpenBSD job fails about half the time with extern location for libc does not exist in the uucore doctests. The rlibs are there when the uucore test binary links and gone a second later. It started with the openssl 0.10.82 bump (ffebb7a).

This splits cargo test --all-features -p uucore into --no-run, --lib and --doc and lists target/debug/deps between them, to see which phase deletes the files.

The dummy "sh" inherited stdin, so on OpenBSD CI, where the job script is
piped into sh, it read and ran the rest of the script (uucore tests, make,
cargo clean) concurrently, randomly deleting the doctests' rlibs. Use sleep
with a null stdin, and plain seconds as BSD sleep rejects "999d".
@oech3

oech3 commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

There is no real consumers of uucore with all features on OpenBSD. How about removing it and adding cksum,openssl instead which is more important?

@oech3

oech3 commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Or it is possible to run -p uucore --all-features on another VM for better diagnostics. I can change #16340 to do that.

@sylvestre

Copy link
Copy Markdown
Contributor Author

This was just for experiment :)

@oech3

oech3 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

I remove other *.yml from experiment only PR for less load and faster repeating.

@oech3

oech3 commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Maybe, cargo clean --workspace before building uucore?

@sylvestre

Copy link
Copy Markdown
Contributor Author

Served its purpose, the fix is in #16563.

@sylvestre sylvestre closed this Nov 16, 2026
@sylvestre
sylvestre deleted the openbsd-deps-diagnostic branch November 16, 2026 12:16
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.

2 participants