Skip to content

openkal-musl 0.9.0 - #286

Merged
Sunrisepeak merged 1 commit into
mainfrom
feat/openkal-musl-0.9.0
Aug 29, 2026
Merged

openkal-musl 0.9.0#286
Sunrisepeak merged 1 commit into
mainfrom
feat/openkal-musl-0.9.0

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

A build can state which version of this library it holds.

uname's release field was the string literal "0.5.0" through every release after 0.5.0 — a false answer rather than a missing one, which is the worse of the two, because a consumer who checked it was misled rather than left uncertain. Two rounds of mcpplibs/openkal-linux#13 were answered against the wrong version because of it.

$ OPENKAL_MUSL_TRACE=enosys ./your-program
openkal-musl 0.9.0

Printed before the program runs and whether or not anything is missing. Previously a run in which nothing was refused printed nothing at all, so "the version is right and nothing is absent", "the variable did not take effect" and "this is not the binary I think it is" were one reading.

The number is read from mcpp.toml by build.mcpp rather than written out a second time, and the workflow compares the printed line against the manifest.

Nothing changes for a program that does not ask: with the variable unset the library writes zero bytes to the error stream, asserted on every row of the matrix precisely so this cannot become noise in an ordinary run.

Measured

http=200 bytes=1016704
want 18e63f25ac0ccde6057ca0028e33630790a6268d83ca0eca03fc81fde818dc1a
got  18e63f25ac0ccde6057ca0028e33630790a6268d83ca0eca03fc81fde818dc1a   IDENTICAL
合法归档 ✓

Fetched back from the published CN URL, hashed against the GitHub tag tarball, and opened as an archive — the check that caught a fourteen-byte 404: Not Found on the previous entry (#284).

Locally: check_mirror_urls, check_package_name, check_cross_package_refs, check_platform_version_parity, check_duplicate_versions all pass. Added to all three platform tables.

A build can state which version of this library it holds.

`uname`'s release field was the string literal "0.5.0" through every release
after 0.5.0, so a program that asked was given a false answer rather than none.
It now comes from the manifest, and `OPENKAL_MUSL_TRACE=enosys` names the
version before the program runs whether or not anything is missing --- the
absence of which had two rounds of mcpplibs/openkal-linux#13 answered against
the wrong version.

Nothing changes for a program that does not ask: with the variable unset the
library writes zero bytes to the error stream, asserted on every row.

Measured before this commit: the CN mirror asset returns 200, opens as an
archive, and its sha256 is identical to the GitHub tag tarball.
@Sunrisepeak
Sunrisepeak merged commit 731b7ac into main Aug 29, 2026
4 checks passed
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.

1 participant