snapcraft snap <directory> fails due to looking for package.yaml
Metadata
Current evaluation
Superseded by Snapcraft's migration from package.yaml to snap.yaml. The format change resolved the lookup failure, rendering the report obsolete.
Suggested action: —
No scores available.
Issue body
And Snappy and Snapcraft has moved to using snap.yaml.
To reproduce:
1. Choose one of the example snaps.
2. Create the snap via `snapcraft snap`.
3. Create the snap again via `snapcraft snap snap`, running on its own output.
Notice the failure complaining about the lack of package.yaml.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Superseded by Snapcraft's migration from package.yaml to snap.yaml. The format change resolved the lookup failure, rendering the report obsolete. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as superseded. Snapcraft migrated to snap.yaml, eliminating the package.yaml dependency and resolving the directory build failure. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as obsolete after Snapcraft migrated from package.yaml to snap.yaml. The directory build failure was resolved by the upstream format change. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4769 snapcraft 8.2.1: `snapcraft pack` not respecting `<directory>` arg to find `snapcraft.yaml` | snapcraft | closed | snapcraft 8.2.1 regressed the pack command, failing to locate snapcraft.yaml in the specified directory. Resolved in 8.2.6 and released to latest/stable. Confirmed fixed by the reporter and third-party tools. | |
| #1869542 snapcraft unable to find snap/snapcraft.yaml file | snapcraft (launchpad) | open | snapcraft 3.11 (2019) loses snap/snapcraft.yaml after a few builds and drops to the VM shell; workaround is snapcraft clean. 6+ years old, no labels, no maintainer comments, tied to a long-superseded build environment. | |
| #1659085 snapcraft needs to migrate to a snap directory | snapcraft (launchpad) | closed | Closed without resolution. The proposed migration of snapcraft to a snap directory, including build artifact relocation and plugin updates, was abandoned or superseded by subsequent architecture changes. |