Skip to content

Tell the musl container which world it is building - #181

Merged
frangarcj merged 1 commit into
masterfrom
profile-reaches-musl
Aug 28, 2026
Merged

Tell the musl container which world it is building#181
frangarcj merged 1 commit into
masterfrom
profile-reaches-musl

Conversation

@frangarcj

Copy link
Copy Markdown
Contributor

There are three cmake invocations in build-host.sh: stage 1, the staged path, and the musl container, which builds its arguments as a string of its own inside the container. The profile reached the first two.

So a musl stage 2 configured without it, took the default world, and wrote a makepkg.conf saying CARCH=vita into a sysroot whose version_info.txt was copied from a softfp stage 1:

world mismatch: version_info.txt says vita-softfp, bin/makepkg.conf CARCH says vita

validate-core-package.sh refused it, an hour into the build. The check did its job; the profile just never arrived.

Pass it into the container with -e and into that argument string. The test counts the invocations that carry the profile and checks the container is handed it, since a variable that never enters expands to nothing there.

🤖 Generated with Claude Code

There are three cmake invocations in build-host.sh: stage 1, the staged path,
and the musl container, which builds its arguments as a string of its own
inside the container. The profile reached the first two.

So a musl stage 2 configured without it, took the default world, and wrote a
makepkg.conf saying CARCH=vita into a sysroot whose version_info.txt was
copied from a softfp stage 1. validate-core-package.sh refused the result:

  world mismatch: version_info.txt says vita-softfp,
  bin/makepkg.conf CARCH says vita

which is the check doing its job, an hour into the build.

Pass it into the container and into that string. The test counts the
invocations that carry the profile and checks the container is handed it,
since a variable that never enters expands to nothing there.
@frangarcj
frangarcj force-pushed the profile-reaches-musl branch from 6f5402b to 3b6c890 Compare August 27, 2026 23:40
@frangarcj
frangarcj merged commit 24e2ce9 into master Aug 28, 2026
17 of 20 checks passed
@frangarcj
frangarcj deleted the profile-reaches-musl branch August 28, 2026 00:19
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