snapcraft should complain loudly when building base: core20 snap on i386
Metadata
Current evaluation
Closed as superseded. Improved architecture parsing in snapcraft now correctly rejects unsupported base-architecture combinations, addressing the original request without requiring explicit i386 core20 checks.
Suggested action: —
No scores available.
Issue body
There will not be a core20 base for i386 architecture, so if snapcraft detects that it is trying to build for that combination, it should complain loudly and clearly that this should not work.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed as superseded. Improved architecture parsing in snapcraft now correctly rejects unsupported base-architecture combinations, addressing the original request without requiring explicit i386 core20 checks. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed. Improved architecture parsing in snapcraft now handles unsupported base-architecture combinations, resolving the request for explicit error messaging when building core20 snaps on i386. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
10
Confidence:
85
Support Request:
0
|
close stale | Request to add explicit validation in snapcraft when building with base: core20 on i386, as that combination is unsupported. Issue has been inactive for over 6 years with no maintainer response. | |
| qwen/qwen3.6-35b-a3b |
Staleness:
98
Complexity:
10
Confidence:
90
Support Request:
10
|
close stale | Request to add validation error when building core20 snaps on i386. Unlabelled, zero comments, inactive for over six years. The core20 base is deprecated, making this check obsolete. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
10
Confidence:
90
Support Request:
5
|
close stale | Request to add validation in snapcraft to fail with a clear error when building a snap with base: core20 for the i386 architecture, which lacks a core20 base. Issue is completely inactive with no maintainer response. | |
| qwen3.6-35b-a3b-mtp-q6 |
Staleness:
95
Complexity:
20
Confidence:
90
Support Request:
10
|
close stale | Request to add validation in snapcraft to prevent building core20 snaps on i386, which lacks a base. Unaddressed for over six years with no maintainer interaction. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1943603 snapcraft --target-arch=i386 does not build i386 images, because core20 does not support i386 and yet the build starts and wastes time | snapcraft (launchpad) | open | Reports that snapcraft --target-arch=i386 on a core20 base silently builds an amd64 snap instead of failing early, wasting build time. Unlabelled, 0 comments, inactive ~5 years; a related core20/i386 bug was closed as superseded by improved arch parsing. | |
| #1997752 base core20: wrong arch triplet | snapcraft (launchpad) | closed | Closed without a fix or resolution, likely abandoned due to inactivity. The report indicated Snapcraft incorrectly sets SNAPCRAFT_ARCH_TRIPLET when building on a mismatched host architecture. No comments or patches were submitted. | |
| #1939713 snapcraft init create base: core18 snap | snapcraft (launchpad) | closed | Closed without direct resolution, likely abandoned due to inactivity. Subsequent Snapcraft releases updated the init default to core20 and core22, effectively resolving the reported behavior. | |
| #1752538 Building snap using base-18 is broken with 2.39 | snapcraft (launchpad) | closed | snapcraft 2.39 broke base-18 builds on bionic due to shebang expansion and missing LD_LIBRARY_PATH. The report was closed without resolution, likely abandoned or superseded by newer base versions. | |
| #4214 snapcraft 7.4.3 doesn't adequately complain about non-existent architectures | snapcraft | closed | Fixed in snapcraft 8. Validation now rejects unsupported architecture names and returns a clear error listing valid options, replacing the previous vague build plan mismatch warning. | |
| #1817288 snapcraft cleanbuild produces incorrect architecture snap | snapcraft (launchpad) | closed | Abandoned and closed without resolution. The legacy mode cleanbuild multi-arch naming bug remains unfixed due to lack of activity and deprecation of legacy mode. | |
| #1835532 snapcraft behavior for type: base | snapcraft (launchpad) | closed | Closed without comments. The type: base and build-base configuration behavior was superseded by updated snapcraft core20 implementation. | |
| #4246 Reported error message building base: core18 with newer snapcrafts is wrong | snapcraft | closed | Closed without resolution. A maintainer noted the error applies to any unsupported base like core17 and suggested improving the message to clarify base incompatibility instead of blaming the plugin. | |
| #2012074 snapcraft cannot build snap by default on aarch64 | snapcraft (launchpad) | open | snapcraft init defaults to core20 base which lacks arm64 Multipass images, causing build failures on aarch64. Fixed by PR #4118 which changed the default init base to core22. | |
| #3821 meta: architectures | snapcraft | merged | Merged adding build-on and build-for architecture support for core22 snaps. Introduced the SNAPCRAFT_BUILD_FOR environment variable to limit builds. Temporarily drafted to fix a duplicate build regression before final merge. |