← 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 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.

Suggested action: close stale

Reason: The issue is ~10 years old (3631 days), references snapcraft 2.17 on Ubuntu 16.10 (Yakkety) — both long past EOL — and the modern snapcraft codebase (with parts, extensions, linters) has been completely restructured since then. The specific bug pattern of files not being staged into prime/ is a core snapcraft operation that would have been addressed in subsequent releases. No maintainer has ever responded or labelled the issue.

Impact: 20 Quick Win: 14.0 Staleness: 95 Complexity: 30 Confidence: 82 Support Request: 10

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
qwen/qwen3.8-27b
Impact: 20
Quick Win: 14.0
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.
qwen3.6-35b-a3b-mtp-q6
Staleness: 99
Complexity: 25
Confidence: 95
Support Request: 5
close stale snapcraft regression blocks ubuntu-image builds by failing to copy the CLI script to prime/usr/bin. Unassigned, zero comments, and inactive for years. Requires triage and investigation to resolve the packaging path issue.

Update history

No update history recorded yet.

Related work

  • Related To: snapcraft (launchpad)#1797378 (confidence 70%)

    Similar bug: built executable not copied to prime/bin/ in snapcraft v2.43.1, also open with no maintainer interaction for ~7.8 years.

  • Related To: snapcraft (launchpad)#1795171 (confidence 60%)

    Similar bug: snapcraft fails to find built executable under prime directory; closed without resolution, likely abandoned.

Related issues

Issue Project State Summary Similarity
#1829413 snapcraft requested file bug report snapcraft (launchpad) open Snapcraft 2.43.1 crashed with FileNotFoundError on the snapcraftctl function_call fifo after a keepalived compile failure on Xenial. No maintainer activity in ~7 years; the snapcraftctl code path no longer exists in the current codebase and the affected version is EOL.
74%
#1884683 snapcraft fail app snapcraft (launchpad) open Snapcraft 2.43.1+18.4 crashes with FileNotFoundError when an app's command points to /bin/Sastreria, which is missing from the prime directory. No comments or labels; the affected 2.x version is long EOL and the code path no longer exists.
72%
#1830520 Sorry, an error occurred in Snapcraft: snapcraft (launchpad) open Snapcraft 2.43.1 (2019) crashed with FileNotFoundError wrapping app command spx_service missing from the prime dir during a Launchpad build. No maintainer activity in 7+ years; the 2.x code path no longer exists and the root cause is user snapcraft.yaml config.
72%
#1730208 Snapcraft python build fails to run with `GLIBC_2.25' not found error message snapcraft (launchpad) open Snapcraft python plugin build on Ubuntu 17.10 fails at runtime with GLIBC_2.25 not found, a base/host glibc mismatch. 8+ years inactive, zero comments, no labels; EOL OS and obsolete snapcraft 2.34.
71%
#1812435 python snap fails to build no such file or directory in prime/bin snapcraft (launchpad) open Snapcraft 2.43.1 crashes with FileNotFoundError when an app's command is missing from prime/bin during snap packaging. Reported 2782 days ago with no comments, labels, or maintainer response. The legacy code path no longer exists in the current codebase.
71%
#2099923 Snapcraft builds are failing: install of snap "snapcraft" failed snapcraft (launchpad) open Snapcraft builds failing due to outdated snapd (2.61) on build infrastructure unable to install core20 base. Issue is 556 days old with no maintainer response.
71%
#1795171 snapcraft fail to find built executable under prime $SNAP snapcraft (launchpad) closed Closed without resolution or comments, likely abandoned. The issue reported a FileNotFoundError when Snapcraft failed to expand the $SNAP variable in the prime directory path during build.
70%
#1867052 Snapcraft crashes while creating snap for ssh-audit snapcraft (launchpad) closed Snapcraft v2.43.1 crashes with FileNotFoundError during snap packaging due to a missing executable path in snapcraft.yaml. Issue is completely inactive for over 6 years.
70%