← Back to issue list

snap with only scripts gets wrongs architecture set

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1520248
Type
issue
State
closed
Author
~dholbach
Labels
Created
Updated
Closed

Current evaluation

Closed without comments or resolution. Snapcraft 0.5 incorrectly flagged script-only snaps as missing amd64 binaries. The issue was abandoned and likely resolved in later snapcraft versions.

Suggested action:

No scores available.

Issue body

https://bazaar.launchpad.net/~dholbach/+junk/hello-world.snap/view/head:/snapcraft.yaml - lint:control_architecture_specified_needed Could not find compiled binaries for architecture 'amd64' With snapcraft 0.5.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without comments or resolution. Snapcraft 0.5 incorrectly flagged script-only snaps as missing amd64 binaries. The issue was abandoned and likely resolved in later snapcraft versions.
qwen/qwen3.6-35b-a3b Closed without comments or resolution. Likely abandoned or superseded by newer snapcraft versions that improved architecture detection for script-only snaps.
qwen3.6-35b-a3b-mtp-q6 Closed without discussion. Likely abandoned, though the architecture detection bug was fixed in a later snapcraft release.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1641123 snapcraft does not properly detect the architecture when kernel is 64 bits but userspace is 32 snapcraft (launchpad) closed Closed without resolution. Snapcraft incorrectly identified arm64 architecture in 64-bit kernel/32-bit userspace chroots, generating mismatched snaps. The report was abandoned due to inactivity.
77%
#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.
74%
#1737532 "snapcraft cleanbuild --target-arch=i386" produces amd64 executables snapcraft (launchpad) closed Closed without resolution. Cross-compilation for i386 via snapcraft cleanbuild continued producing amd64 binaries due to an incorrect container architecture and missing cross-compiler configuration.
74%
#1921418 wrong architecture of stage-snaps when cross building snapcraft (launchpad) open Cross-building with stage-snaps downloads the wrong architecture snap (tested on snapcraft 4.6). No comments, no activity for ~5 years, tracked under Jira label craft-415.
73%
#1570835 snapcraft 2.8 fails on s390x snapcraft (launchpad) closed Closed without resolution. Snapcraft 2.8 failed on s390x due to a missing architecture table entry, but no fix or follow-up was recorded.
72%
#1663625 No script named 'snapcraft' snapcraft (launchpad) closed A report of snapcraft failing after apt installation was closed without resolution or comments, indicating the matter was abandoned.
72%
#2149 Snap build breaking on non-amd64 architectures charmcraft closed Closed without a public fix. The snap build failure on non-amd64 architectures due to a missing libgit2 dependency was abandoned, with no resolution or code changes provided.
72%
#1761598 Snapcraft modifies binaries snapcraft (launchpad) closed Closed without resolution. Snapcraft 2.39.2 and 2.40.1 modified binaries by adding 4096 bytes, a regression from 2.35. The report was abandoned with no comments or fix applied.
72%
#1980536 snapcraft unusable on systems not using apt snapcraft (launchpad) closed Closed without resolution. Snapcraft retained hard apt dependencies, causing crashes on non-Debian systems like Arch Linux. The issue appears abandoned with no fix provided.
71%
#1731478 Snap of snapcraft fails to run on Solus and openSUSE snapcraft (launchpad) closed Closed without resolution. Hard dependency on Debian apt_pkg caused runtime failures on non-Debian distros. The report was abandoned after seven days with zero comments or patches.
71%