Cleanbuild remote wrong snap arch tag
Metadata
Current evaluation
Closed as obsolete after a maintainer directed Ubuntu Core 16 projects to migrate to base snaps; no fixing PR was cited, and legacy remote-build support was later removed.
Resolution: closed stale
Reason: The sole maintainer comment on 2021-08-06 asked Ubuntu Core 16 projects to migrate to base snaps, with no fix PR or commit cited. The affected legacy remote LXD build path was later removed by canonical/snapcraft#2089.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When using cleanbuild --remote without specifying --target-arch and the remote has a different arch, produces a snap with a wrong arch tag.
For example
Command initiator:
uname -a
Linux ubuntu 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04 LTS
Release: 18.04
Codename: bionic
Remote:
uname -a
Linux localhost.localdomain 4.4.0-1030-raspi2 #37-Ubuntu SMP Thu Oct 20 15:06:25 UTC 2016 armv7l armv7l armv7l GNU/Linux
cat /etc/*-release
DISTRIB_ID="Ubuntu Core"
DISTRIB_RELEASE=16
DISTRIB_DESCRIPTION="Ubuntu Core 16"
NAME="Ubuntu Core"
VERSION="16"
ID=ubuntu-core
PRETTY_NAME="Ubuntu Core 16"
Result:
The snap is incorrectly tagged as 'amd64', as it should be 'armhf'.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as obsolete after a maintainer directed Ubuntu Core 16 projects to migrate to base snaps; no fixing PR was cited, and legacy remote-build support was later removed. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a code fix after a maintainer requested migration from Ubuntu Core 16 to base snaps; no resolving PR or commit was recorded. | |
| stealth/space-bunny-alpha | — | closed stale | Closed after the lone maintainer comment asked projects using Ubuntu Core 16 to migrate to base snaps; no fixing PR or commit was cited. | |
| stealth/space-bunny-alpha | — | closed resolved | Remote cleanbuild architecture handling was addressed by merged PR #1204 (a8d462cf3), which decoupled target architecture and accepted UTS machine names. | |
| qwen/qwen3.6-35b-a3b | — | — | The cleanbuild remote architecture tagging bug was closed without a fix. Zero comments and no associated pull requests indicate the issue was abandoned due to inactivity. | |
| qwen/qwen3.6-35b-a3b | — | — | cleanbuild --remote produced snaps with incorrect architecture tags when the remote differed from the local machine and --target-arch was omitted. The report was closed without comments or a fix, indicating abandonment. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. cleanbuild --remote incorrectly tagged snaps with the local architecture when the remote differed and --target-arch was omitted. No fix or workaround was implemented. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. The cleanbuild --remote command incorrectly tagged snaps with the local architecture instead of the remote architecture when --target-arch was omitted. No fix was implemented. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Superseded By:
canonical/snapcraft#2089
(confidence 88%)
Removed remote LXD support for container-based projects, superseding the legacy cleanbuild path.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4365 remote-build: legacy builder complains about the wrong part name | snapcraft | closed | Core22 snaps hit a bogus schema error in the legacy remote-build fallback. Closed as "won't fix" by mr-cal on 2026-01-27; the legacy remote builder was removed in #5994 and #6010 for Snapcraft 9. | |
| #5676 remote build: remove legacy remote builder | snapcraft | closed | Fixed in merged PR #5994 (commit b08f1a66e) for Snapcraft 9.0 by removing the legacy remote builder, selection logic, strategy env var, and legacy credential support. | |
| #4144 remote build: legacy builder cannot parse core22 snapcraft.yaml syntax | snapcraft | closed | Marked won't fix: legacy-builder schema support was descoped in favor of the new remote builder, which accepts build-for; legacy support was removed by PR #5994 in Snapcraft 9. | |
| #4357 Regression in handling `remote-build` | snapcraft | closed | Closed as intended behavior, not a defect. The maintainer confirmed core is supported only on Snapcraft 4.x and Snapcraft 8 removes core and core18 support. |