← Back to issue list

Snapcraft tries to run chisel and fails

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2020348
Type
issue
State
open
Author
~itrue
Labels
Created
Updated
Closed

Current evaluation

Typo in stage-packages (missing $ before CRAFT_TARGET_ARCH) causes snapcraft to try running chisel instead of giving a clear syntax error. Unlabelled, no maintainer response, 1200 days old.

Suggested action: close stale

Reason: The issue is 1200 days old with no maintainer response, no labels, and no comments. The described behavior (confusing 'chisel: No such file or directory' error from a stage-packages typo) is likely no longer applicable given significant snapcraft evolution over 3+ years. The issue has never been triaged or acknowledged by a maintainer.

Impact: 40 Quick Win: 28.0 Staleness: 95 Complexity: 30 Confidence: 55 Support Request: 20

Issue body

If the user makes a typo in stage-packages and forgets the $ like so: stage-packages: - package:{CRAFT_TARGET_ARCH} Snapcraft for some reason then tries to run chisel, which does not exist in the snap and fails with the following message: chisel: No such file or directory This should probably be a syntax error in this case, rather than being interpreted by Snapcraft as something to do with chisel.

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 40
Quick Win: 28.0
Staleness: 95
Complexity: 30
Confidence: 55
Support Request: 20
close stale Typo in stage-packages (missing $ before CRAFT_TARGET_ARCH) causes snapcraft to try running chisel instead of giving a clear syntax error. Unlabelled, no maintainer response, 1200 days old.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 10
needs triage Typo in stage-packages YAML causes Snapcraft to attempt running chisel instead of raising a syntax error. Untriaged, inactive for over three years with no maintainer comments.
qwen/qwen3.6-35b-a3b
Staleness: 90
Complexity: 45
Confidence: 80
Support Request: 10
needs triage Unlabelled bug report where a missing dollar sign in stage-packages causes Snapcraft to incorrectly attempt running chisel instead of raising a syntax error. Issue has zero comments and has been inactive for over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 85
Support Request: 5
close stale Typo in stage-packages YAML causes Snapcraft to attempt running chisel instead of raising a syntax error. Untriaged, inactive for over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 75
Support Request: 10
needs triage Unlabelled report describing a parsing bug where a missing dollar sign in stage-packages causes Snapcraft to attempt running chisel instead of raising a syntax error. No maintainer response or activity in over three years.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#2104274 Snapcraft has unclear behavior when providing same build-snap from different channels snapcraft (launchpad) open Bug report: snapcraft resolves build-snap from wrong channel (stable vs candidate). Untriaged, no maintainer response in 527 days.
70%