Skip to content

build-packages: a test that needs a tool this machine lacks runs in the container - #660

Merged
derekross merged 1 commit into
mainfrom
build-packages-host-tools
Nov 11, 2026
Merged

derekross merged 1 commit into
mainfrom
build-packages-host-tools

Conversation

@derekross

Copy link
Copy Markdown
Owner

The daily publish on the build machine has failed since omamobile-settings arrived: its test/all compiles its tests with Qt's qmake6, the machine runs Ubuntu with no Qt tools, and one failed test ends the whole run. Nothing has reached the development channel since release 2026.11.08.

What changes

  • A package can name the commands its test/all needs in test/host-tools. With all of them present the test runs natively, as before. With one missing, that package's check() runs in the build container, where its dependencies are installed, and the run says which tool was missing.
  • --check-in-container for every package stays an option, not the default: some tests time out under emulation.
  • omamobile-settings names qmake6, make, g++, dbus-run-session and python3.

Tested

  • omamobile-settings' check() in the aarch64 build container under qemu-user: built and passed in 5 min 40 s.
  • tests/build-packages-host-tools (new, in tests/all): the three paths (tools present, one missing, none named), --nocheck and --check-in-container, against stand-ins for the container.
  • tests/stage-boot-files, tests/tools-help, tools/pr-check.

Not yet run: the publish itself on the build machine. That follows the merge, and there may be another failure behind this one.

🤖 Generated with Claude Code

…he container

The daily publish on the build machine has failed since omamobile-settings
arrived: its test/all compiles its tests with Qt's qmake6, the machine runs
Ubuntu with no Qt tools, and one failed test ends the whole run, so nothing
has reached the development channel since release 2026.11.08.

A package can now name the commands its test/all needs in test/host-tools.
With all of them present the test runs natively, as before. With one
missing, that package's check() runs in the build container instead, where
its dependencies are installed, and the run says which tool was missing.
--check-in-container for every package stays an option, not the default:
some tests time out under emulation.

omamobile-settings names qmake6, make, g++, dbus-run-session and python3.
Its check() passes in the aarch64 container under qemu-user (built and
tested there in 5 min 40 s). tests/build-packages-host-tools covers the
three paths against stand-ins for the container.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@derekross
derekross merged commit 6244049 into main Nov 11, 2026
2 checks passed
@derekross
derekross deleted the build-packages-host-tools branch November 11, 2026 16:54
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