Local plugins not found in alternative snap dir
Metadata
Current evaluation
Fixed by merged PR canonical/snapcraft#2551 in commit 7ca0398c5, making projects using build-aux/snap discover local plugins from that asset directory.
Resolution: closed resolved
Reason: PR canonical/snapcraft#2551 was merged as commit 7ca0398c5 and directly addressed the bug. Projects loading snapcraft.yaml from build-aux/snap now load local plugins from build-aux/snap/plugins.
Evaluated by: mr-cal-bot
No scores available.
Issue body
If an alternative location such as build-aux/snap is used to store the snapcraft yaml file, local plugins fail to load from build-aux/snap/plugins. Instead, snapcraft keeps loading them from the standard snap directory location (snap/plugins).
To reproduce, create a project using a local plugin and use build-aux/snap instead of snap to store the yaml files and the local plugins directory. The build will fail with:
```
Using 'build-aux/snap/snapcraft.yaml': Project assets will be searched for from the 'build-aux/snap' directory.
Searching for local plugin for local
Failed to load plugin: unknown plugin: 'local'
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR canonical/snapcraft#2551 in commit 7ca0398c5, making projects using build-aux/snap discover local plugins from that asset directory. | |
| stealth/space-bunny-alpha | — | closed resolved | Local plugins now load from the selected build-aux/snap assets directory; fixed by merged PR #2551 in commit 7ca0398c5. | |
| stealth/space-bunny-alpha | — | closed resolved | Fixed by merged PR #2551 (commit 7ca0398c5): local plugins are now loaded from build-aux/snap when it supplies snapcraft.yaml. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The bug preventing local plugins from loading in alternative snap directories remains unfixed. Likely abandoned due to prolonged inactivity and zero comments. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The bug preventing local plugins from loading in alternative snap directories remains unfixed. No patches or comments were submitted. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Local plugins failed to load when snapcraft.yaml was placed in a non-standard directory. With zero comments and no linked fixes, the report was abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Local plugins fail to load from alternative snap directories. The report was closed without resolution, remaining abandoned. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#2551
(confidence 100%)
Merged fix titled "project: read local plugins from build-aux", linked directly in the issue comment.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2551 project: read local plugins from build-aux | snapcraft | merged | Merged PR #2551 in commit 7ca0398c5, so projects loading snapcraft.yaml from build-aux/snap now also discover local plugins in that directory. |