Skip to content

register openkal-musl 0.19.1 - #460

Merged
Sunrisepeak merged 1 commit into
mainfrom
register-openkal-musl-0-19-1
Sep 21, 2026
Merged

Sunrisepeak merged 1 commit into
mainfrom
register-openkal-musl-0-19-1

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

Registration only — nothing here pins it yet. openkal-llvm-runtime names 0.19.0 exactly, and moving that pin is a separate change.

0.19.1 moves its own openkal-windows pin to 0.10.1, which makes a file opened for writing describable. do_fstat calls okm_fs_file_info and maps its error, so before it, fstat on a descriptor the caller opened a line earlier returned EACCES on Windows — the pair libarchive performs when opening an archive for output.

Every url added by this and #459 was fetched, not merely linted for shape:

url
github.com/…/openkal-musl/archive/refs/tags/0.19.1.tar.gz 200, 1152093
gitcode.com/mcpp-res/openkal-musl/…/openkal-musl-0.19.1.tar.gz 200, 1152093
github.com/…/openkal-windows/archive/refs/tags/0.10.1.tar.gz 200, 89854
gitcode.com/mcpp-res/openkal-windows/…/openkal-windows-0.10.1.tar.gz 200, 89854

Each CN copy is byte-for-byte identical to its GitHub archive, and both were uploaded from a CN host with gtc.

That check earned its keep: the CN url was written wrong once. A piecewise substitution replaced the file name before the directory pattern could match, producing download/0.19.0/openkal-musl-0.19.1.tar.gz — correct in shape, 404 in fact. The version is now replaced wholesale within each block, because the key, the GLOBAL tag and both halves of the CN url name one version and have to move together.

Registration only: nothing here pins it yet. openkal-llvm-runtime names
0.19.0 exactly, and moving that pin is a separate change.

0.19.1 moves its own openkal-windows pin to 0.10.1, which makes a file opened
for writing describable. `do_fstat` calls `okm_fs_file_info` and maps its
error, so before it, `fstat` on a descriptor the caller opened a line earlier
returned EACCES on Windows -- the pair libarchive performs when opening an
archive for output.

All four urls this and the previous registration add were fetched before this
entry was written, not merely linted for shape: both hosts serve 0.19.1 at
1152093 bytes and 0.10.1 at 89854, and each CN copy is byte-for-byte identical
to its GitHub archive.

The CN url was written wrong once and caught by reading it back: a piecewise
substitution replaced the file name before the directory pattern could match
and produced `download/0.19.0/openkal-musl-0.19.1.tar.gz`, which serves
nothing. The version is now replaced wholesale within each block, because the
key, the GLOBAL tag, and both halves of the CN url name one version and have
to move together.
@Sunrisepeak
Sunrisepeak merged commit bf6a334 into main Sep 21, 2026
10 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