← Back to issue list

snapcraft newly fails on ubuntu-image

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1626236
Type
issue
State
open
Author
~barry
Labels
—
Created
Updated
Closed
—

Current evaluation

Snapcraft 2.17 on Yakkety stages ubuntu-image in stage/bin but omits it from prime/usr/bin, breaking packaging; the acknowledged bug remains open with no recorded fix.

Suggested action: keep open

Reason: The report is highly actionable: cloning ubuntu-image and running snapcraft with 2.17+16.10.1ubuntu3 reproduces the ENOENT, while find shows the executable in stage/bin but not prime/usr/bin. Sergiusens' comment explicitly attributes the concern to the new plugin, so this remains a valid acknowledged bug; Yakkety's age warrants revalidation on a supported base, not closure by age.

Evaluated by: mr-cal-bot

Impact: 48 Quick Win: 20 Complexity: 50 Confidence: 78 Actionability: 82

Issue body

This used to work, but we're getting a recent failure on Yakkety with snapcraft 2.17+16.10.1ubuntu3 You can reproduce this by: $ git clone https://github.com/CanonicalLtd/ubuntu-image.git $ snapcraft The new failure is: [Errno 2] No such file or directory: '/home/barry/projects/ubuntu/allsnappy/ubuntu-image/prime/usr/bin/ubuntu-image' and indeed, ubuntu-image doesn't appear in .../prime/usr/bin % find . -name ubuntu-image ./parts/ubuntu-image ./parts/ubuntu-image/install/bin/ubuntu-image ./parts/ubuntu-image/src/ubuntu-image ./parts/ubuntu-image/build/ubuntu-image ./stage/bin/ubuntu-image ./ubuntu-image The latter is the in-tree version. All the others are checksum identical, but it seems like the cli script isn't getting copied to the right place.

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha
Impact: 48
Quick Win: 20
Complexity: 50
Confidence: 78
Actionability: 82
keep open Snapcraft 2.17 on Yakkety stages ubuntu-image in stage/bin but omits it from prime/usr/bin, breaking packaging; the acknowledged bug remains open with no recorded fix.
stealth/space-bunny-alpha
Impact: 52
Quick Win: 21
Complexity: 48
Confidence: 82
Actionability: 76
keep open Snapcraft 2.17 on Yakkety stages ubuntu-image in stage/bin but omits it from prime/usr/bin; this Python-plugin regression remains open and acknowledged.
Gemma 4 (26b)
Impact: 30
Quick Win: 2
Complexity: 50
Confidence: 80
Actionability: 10
close stale Reported build failure in snapcraft 2.17+16.10.1ubuntu3 when building ubuntu-image, where the ubuntu-image CLI script is missing from the expected path. Issue is extremely old and inactive.
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14
Staleness: 95
Complexity: 30
Confidence: 82
Support Request: 10
close stale snapcraft 2.17 on Ubuntu 16.10 (Yakkety) fails to copy the ubuntu-image CLI script to prime/usr/bin, causing a FileNotFoundError during build. No maintainer activity in ~10 years; affected versions are long EOL and the codebase has been fully restructured since.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 15
Confidence: 95
Support Request: 20
close stale Reports a missing binary in snapcraft's prime directory on Ubuntu 16.10 with snapcraft 2.17+. Issue has been inactive for nearly 10 years with no maintainer response.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 20
Confidence: 95
Support Request: 10
close stale Bug report for snapcraft failing to copy ubuntu-image binary to prime directory during build on Ubuntu Yakkety. Unlabelled, no maintainer response, inactive for nearly 10 years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 95
Support Request: 10
close stale Build failure in snapcraft 2.17 on Ubuntu Yakkety where ubuntu-image binary is not copied to the prime directory. Issue is nearly 10 years old with no maintainer response.

Update history

Date Change
created

Related issues

Issue Project State Summary Similarity
#1983009 Snapcraft 7.1.0 fails to find stage package when cross-compiling snapcraft (launchpad) closed Fixed by canonical/snapcraft#3416 (commit 8f418e3d9), restoring core20 behavior so stage packages come from build-on repositories during cross-compilation.
71%
#1947968 snapcraft missing 22.04 branch snapcraft (launchpad) closed Resolved by opening stable/ubuntu-22.04 and releasing snapcraft revisions 7010 (amd64) and 7013 (s390x), restoring the branch required by the 22.04 package.
70%