← Back to issue list

SNAPCRAFT_IMAGE_INFO contains wrong architecture

View original Launchpad issue

Metadata

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

Current evaluation

⚠️ This summary may be outdated — the issue content or evaluation prompts have changed since this evaluation was made.

Closed without a linked fix or comments, indicating abandonment. The bug stems from lxc image list returning multiple matches, causing incorrect architecture values in SNAPCRAFT_IMAGE_INFO.

Suggested action:

No scores available.

Issue body

When enabling asset recording, the architecture is wrong. SNAPCRAFT_BUILD_INFO=1 snapcraft grep architecture prime/snap/manifest.yaml architecture: ppc In fact the architecture is different with subsequent invocations. From a quick look, we're calling "lxc image list" with the name of the image. This used to contain the architecture. Because of that the command returns a list of all matching images and any one of these will be picked up.

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without a linked fix or comments, indicating abandonment. The bug stems from lxc image list returning multiple matches, causing incorrect architecture values in SNAPCRAFT_IMAGE_INFO.
qwen/qwen3.6-35b-a3b Abandoned. The report identified that lxc image list queries returned multiple matches, causing incorrect architecture values in SNAPCRAFT_IMAGE_INFO. No fix or discussion followed.
qwen3.6-35b-a3b-mtp-q6 Abandoned. The reported bug caused incorrect architecture values in SNAPCRAFT_IMAGE_INFO due to lxc image list returning multiple matches. No fix or follow-up pull request was submitted.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#1674828 SNAPCRAFT_SETUP_CORE=1 doesn't work for foreign architectures snapcraft (launchpad) closed SNAPCRAFT_SETUP_CORE=1 failing for foreign architectures during classic snap builds was closed without resolution. Zero comments and no fixes indicate the report was abandoned due to inactivity.
72%
#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.
72%
#2046 lxd: specify arch in lxc image list command snapcraft merged Merged fix for LXD image listing regression. Explicitly specifies architecture in the lxc image list command to ensure correct SNAPCRAFT_IMAGE_INFO values in the manifest. Resolves LP: #1760857. Tests updated.
72%