← Back to issue list

Missing grammar for conditional configflags on/to architecture

View original Launchpad issue

Metadata

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

Current evaluation

Feature request to add per-architecture conditional grammar support for configflags in snapcraft parts, matching existing build-packages/stage-packages grammar. Open 7+ years with no labels, no maintainer response, and zero comments; unassessed.

Suggested action: needs triage

Reason: The issue has no labels, no assignee, and zero comments from any maintainer across 2644 days, so it has never been assessed or categorised. It is a well-scoped feature request with a concrete mock-up, but there is no evidence it was implemented or rejected, so a maintainer needs to triage whether to pursue, close as won't-fix, or keep open.

Impact: 40 Quick Win: 20.0 Staleness: 95 Complexity: 50 Confidence: 55 Support Request: 15

Issue body

Creating a snap that will support many architectures require conditional ``configflags``. The grammar available for ``build-packages`` and ``stage-packages`` would be nice to also have for ``configflags``. (A side note is that the existing support for build/stage-packages could grow the ability to list multiple architectures so you don't have to repeat entries that are true for multiple archs) Mock-up that matches existing grammar for build/stage-packages: parts: qemu: plugin: autotools configflags: - on amd64: - --enable-xen - on i386: - --enable-xen Even better: parts: qemu: plugin: autotools configflags: ? - all : - "--enable-something-everywhere" ? - amd64 - i386 : - "--enable-xen"

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 40
Quick Win: 20.0
Staleness: 95
Complexity: 50
Confidence: 55
Support Request: 15
needs triage Feature request to add per-architecture conditional grammar support for configflags in snapcraft parts, matching existing build-packages/stage-packages grammar. Open 7+ years with no labels, no maintainer response, and zero comments; unassessed.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 65
Confidence: 90
Support Request: 10
close stale Request to add architecture-conditional grammar for configflags in snapcraft, mirroring build-packages. Unlabelled, no maintainer interaction, inactive for ~7 years.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 90
Support Request: 10
close stale Feature request to add architecture-conditional grammar for configflags, mirroring build/stage-packages syntax. Unaddressed for ~7 years with zero maintainer interaction.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 90
Support Request: 10
close stale Request to add architecture-conditional grammar for configflags in snapcraft, similar to build/stage-packages. Issue is completely inactive for over 7 years with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 15
close stale Feature request to add architecture-conditional grammar for configflags, mirroring build/stage-packages. Issue is over 7 years old with zero activity or maintainer engagement.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1036 Allow grammar for `package-repositories` rockcraft open Feature request to allow architecture-conditional URLs in package-repositories (e.g. amd64 vs arm64) so deb-src builds work across architectures. Open 283 days, no labels, no comments, no maintainer response.
73%
#985 Support Snapcraft advanced grammar in plugin parameters? craft-application open Feature request to support advanced grammar (on/to/else) in plugin parameters like cmake-parameters for arch-specific build flags. Triaged by maintainers in Jan 2026, confirmed valid but requiring extra work; no progress since.
72%
#1744608 customize snapcraft environment based on architecture. snapcraft (launchpad) open Feature request to support architecture-conditional (on/else) syntax in the apps environment key, currently limited to stage-packages. Open since 2019 with no comments or maintainer response; grammar support has since expanded to more part keywords but app environment remains unaddressed.
71%
#1948465 Please add support for advanced grammar in stage snapcraft (launchpad) open Feature request to allow advanced grammar (try:/on $arch) in the stage directive, avoiding override-build workarounds. Open since 2020 with zero comments or labels; grammar support has since expanded to all part keywords, so applicability needs verification.
70%