← Back to issue list

Chisel slices always cut for the host architecture

View original Github issue

Metadata

Project
craft-parts
Number
#1369
Type
issue
State
open
Author
lengau
Labels
Type: Bug
Created
Updated
Closed
—

Current evaluation

Confirmed bug: Chisel cuts stage and build slices without the target architecture, causing cross-compiles to receive host-architecture payloads. The issue remains open and needs implementation.

Suggested action: keep open

Reason: Current cut_slices() invokes `chisel cut` with root and slice arguments but no `--arch`, while ProjectInfo already exposes `arch_build_for`; both stage-package and build-slices paths omit target architecture. The maintainer-authored, Type: Bug issue is clearly valid, although its empty reproducer and logs leave integration coverage unspecified.

Evaluated by: mr-cal-bot

Impact: 58 Quick Win: 23 Complexity: 48 Confidence: 95 Actionability: 76

Issue body

### Bug Description Chisel slices always get cut for the host architecture rather than the target architecture. ### To Reproduce Stage a slice with a cross-compile ### part yaml ```shell ``` ### Relevant log output ```shell n/a ```

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 58
Quick Win: 23
Complexity: 48
Confidence: 95
Actionability: 76
keep open Confirmed bug: Chisel cuts stage and build slices without the target architecture, causing cross-compiles to receive host-architecture payloads. The issue remains open and needs implementation.
qwen/qwen3.6-35b-a3b
Impact: 70
Quick Win: 29
Complexity: 30
Confidence: 65
Actionability: 60
keep open Chisel slices are cut for host architecture instead of target architecture during cross-compilation. The cut_slices() function in chisel.py does not pass --arch flag to the chisel command.
qwen/qwen3.8-27b
Impact: 50
Quick Win: 20
Staleness: 85
Complexity: 60
Confidence: 65
Support Request: 0
needs triage Bug report that Chisel slices are always cut for the host architecture rather than the target architecture when staging with a cross-compile. No comments, no reproduction details, no part yaml or logs provided. Open for 321 days with no maintainer interaction.
qwen/qwen3.6-35b-a3b
Staleness: 85
Complexity: 45
Confidence: 65
Support Request: 10
needs triage Bug report indicating Chisel slices incorrectly target the host architecture instead of the cross-compiled target. Open for 280 days with zero comments and missing reproduction details.
qwen3.6-35b-a3b-mtp-q6
Staleness: 80
Complexity: 60
Confidence: 65
Support Request: 10
needs triage Bug report indicating Chisel slices incorrectly cut for the host architecture instead of the target during cross-compilation. Open for 267 days with zero comments or reproduction details.

Update history

No update history recorded yet.

Related work

  • Related To: craft-parts#1718 (confidence 95%)

    Added the build-slices prologue call through cut_slices, creating another affected path with the same missing architecture argument.

Related issues

No related issues found above the similarity threshold.