← Back to issue list

Exclude architectures

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2020138
Type
issue
State
open
Author
~ilya-fedin
Labels
Created
Updated
Closed

Current evaluation

Feature request to add 'build-not-on' or architecture exclusion support in snapcraft YAML. Currently only whitelist (build-on/build-for) is available. Issue is 3+ years old with no maintainer response or activity.

Suggested action: close stale

Reason: The issue has been inactive for 1204 days with zero maintainer comments or labels. No evidence of 'build-not-on' or architecture exclusion functionality existing in craft-parts or snapcraft (searched for 'build-not-on', 'exclude_arch', etc. with no results). PR #3821 added build-on/build-for support but did not implement exclusion. The feature request is too old to remain open without maintainer buy-in.

Impact: 50 Quick Win: 25.0 Staleness: 95 Complexity: 50 Confidence: 65 Support Request: 30

Issue body

It's possible only to whitelist architectures. Although, I would like to exclude the ones I really know don't work. E.g. my application works only on little-endian architectures and the only architecture I need to exclude is s390x. Currently I have to specify all architectures except of s390x instead and my package won't even try to build on a new architecture added to snapcraft CI (as recently happened with riscv64). Even better if it will be possible to specify architectures heuristically, like "only little endian".

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 50
Quick Win: 25.0
Staleness: 95
Complexity: 50
Confidence: 65
Support Request: 30
close stale Feature request to add 'build-not-on' or architecture exclusion support in snapcraft YAML. Currently only whitelist (build-on/build-for) is available. Issue is 3+ years old with no maintainer response or activity.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 20
Confidence: 90
Support Request: 10
close stale Feature request to exclude specific architectures in snapcraft instead of only whitelisting them. Currently untriaged and inactive for over three years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 10
close stale Feature request to exclude specific architectures instead of only whitelisting them. Unaddressed for over 3 years with zero maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 20
Confidence: 85
Support Request: 5
close stale Feature request to add architecture exclusion and heuristic filtering to snapcraft, currently only supports whitelisting. Open with no maintainer response for over 3 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 40
Confidence: 85
Support Request: 5
needs triage Feature request to allow excluding architectures instead of only whitelisting them. Currently unlabelled, inactive for nearly three years, with no maintainer response.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft#3821 (confidence 70%)

    PR #3821 added build-on/build-for architecture support but did not implement the requested exclude mechanism.

Related issues

Issue Project State Summary Similarity
#2086482 No way to express different build dependencies on different architectures without repetition of the list of dependencies snapcraft (launchpad) open Feature request: snapcraft YAML grammar lacks support for architecture-specific build dependencies without repetition. No maintainer response after 671 days.
78%
#1885150 Cannot use --build-on, architecture list is already set in snapcraft.yaml. snapcraft (launchpad) closed Closed without fix due to inactivity. The --build-on CLI flag remains ignored when architectures is defined in snapcraft.yaml, requiring manual YAML edits for architecture-specific builds.
74%