[BUG] Native fixture preflight requires Rustup with an installed compiler #170

Closed
opened 2026-10-18 22:47:46 +02:00 by erikinkinen · 2 comments
Owner

Summary

Native fixture preflight invokes Rustup even when an explicitly selected compiler already has the required target runtime. A build environment containing that compiler and no tool manager stops before image construction.

Reproduction

Use Integration 900d13fbc4 with an installed Rust 1.97.1 compiler and x86_64-unknown-none target. Select the compiler directly, omit Rustup from the build tool PATH, and run the existing native invocation scenario. Its shared-object registry builds eight objects before fixture target preflight fails.

Expected and actual behavior

Preflight should check the selected compiler's usable target runtime. Instead, the helper reports rustup: command not found, followed by an incorrect claim that the target is not installed. The command exits 1 before guest launch.

Environment and identity

Linux x86-64 host; Integration 900d13fb and Kernel ca2c4735; Rust 1.97.1 with the installed x86_64-unknown-none runtime. The compiler and target inputs are explicitly selected. No guest or firmware behavior is implicated.

Evidence and prior checks

The first native attempt stopped at an earlier toolchain-selection omission. After correcting that input, the next attempt reached the independent Rustup inventory query in build-kernel-fixture-components.sh. Both original failures are retained; neither launched a guest.

Tracking

The repair belongs in the compatibility PR. Kernel #57 tracks the existing native query checks.

  • Check the selected compiler's target archives without requiring Rustup.
  • Cover usable, absent and ambiguous runtimes, explicit tool selection and original query failure statuses.
  • Complete both original native query scenarios with their existing deadlines and guest oracles.
## Summary Native fixture preflight invokes Rustup even when an explicitly selected compiler already has the required target runtime. A build environment containing that compiler and no tool manager stops before image construction. ## Reproduction Use Integration 900d13fbc44b517d620774b8c9d7a641003f7bba with an installed Rust 1.97.1 compiler and x86_64-unknown-none target. Select the compiler directly, omit Rustup from the build tool PATH, and run the existing native invocation scenario. Its shared-object registry builds eight objects before fixture target preflight fails. ## Expected and actual behavior Preflight should check the selected compiler's usable target runtime. Instead, the helper reports `rustup: command not found`, followed by an incorrect claim that the target is not installed. The command exits 1 before guest launch. ## Environment and identity Linux x86-64 host; Integration 900d13fb and Kernel ca2c4735; Rust 1.97.1 with the installed x86_64-unknown-none runtime. The compiler and target inputs are explicitly selected. No guest or firmware behavior is implicated. ## Evidence and prior checks The first native attempt stopped at an earlier toolchain-selection omission. After correcting that input, the next attempt reached the independent Rustup inventory query in build-kernel-fixture-components.sh. Both original failures are retained; neither launched a guest. ## Tracking The repair belongs in [the compatibility PR](https://git.erikinkinen.fi/erix/integration/pulls/12). [Kernel #57](https://git.erikinkinen.fi/erix/kernel/issues/57) tracks the existing native query checks. - [x] Check the selected compiler's target archives without requiring Rustup. - [x] Cover usable, absent and ambiguous runtimes, explicit tool selection and original query failure statuses. - [x] Complete both original native query scenarios with their existing deadlines and guest oracles.
Author
Owner

Published 84486919. Fixture preflight now checks the selected compiler's target archives and preserves query failures. Nine new controls and the actual installed-target check pass. Both original native query scenarios are running with their existing deadlines and guest oracles; the guest criterion remains open.

Published [84486919](https://git.erikinkinen.fi/erix/integration/commit/84486919e35f80cf575a6c17c3395e51f9b68f88). Fixture preflight now checks the selected compiler's target archives and preserves query failures. Nine new controls and the actual installed-target check pass. Both original native query scenarios are running with their existing deadlines and guest oracles; the guest criterion remains open.
Author
Owner

Both original native invocation scenarios now pass on 84486919 with Kernel ca2c4735. The normal and protection-key cases retain their 60-second guest limit, 45-second serial-stall limit, complete marker checks and expected exit. Images, source identities and positive process cleanup are verified; no compiler warnings. All three criteria are complete; closing this preflight bug.

Both original native invocation scenarios now pass on [84486919](https://git.erikinkinen.fi/erix/integration/commit/84486919e35f80cf575a6c17c3395e51f9b68f88) with [Kernel ca2c4735](https://git.erikinkinen.fi/erix/kernel/commit/ca2c473520c9c97c8e1244e152cdd21e68ed7e67). The normal and protection-key cases retain their 60-second guest limit, 45-second serial-stall limit, complete marker checks and expected exit. Images, source identities and positive process cleanup are verified; no compiler warnings. All three criteria are complete; closing this preflight bug.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:20 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/integration#170
No description provided.