pluginhandler: warn the inclusion of libraries from the host
Metadata
Current evaluation
Merged #1829 in commit 2f2f17b4e, adding a pluginhandler warning when a snap includes libraries from the host.
Resolution: closed resolved
Reason: PR #1829 was merged as commit 2f2f17b4e, adding a pluginhandler warning for snaps that include host libraries.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #1829 in commit 2f2f17b4e, adding a pluginhandler warning when a snap includes libraries from the host. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #1829 (commit 2f2f17b4e) adds a pluginhandler warning when a snap includes libraries from the host. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged a pull request adding a host library inclusion warning to the pluginhandler. The change modified one file with nine added lines, passed CI checks, and required no reviewer comments. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged changes adding a pluginhandler warning when host libraries are included. The pull request passed static and unit tests and was successfully integrated by maintainer sergiusens. |
Update history
No update history recorded yet.
Related work
-
Related To:
canonical/snapcraft#2337
(confidence 90%)
Later replaced host-library injection with base-snap library detection and warnings.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2337 pluginhandler: library detection instead of injection | snapcraft | merged | Merged #2337 in commit 48bb4c162, replacing host-library injection with base-snap detection and warning instead of failing when a library is missing. | |
| #1597 pluginhandler: warn about migrated system libraries | snapcraft | closed | Closed unmerged after review objections; its host-library warning was later delivered by merged PR #1829 in commit 2f2f17b4e. | |
| #1231 pluginhandler: exclude `/snap/` from libraries. | snapcraft | merged | Merged snapcraft#1231 in commit 0e9b5a84e, excluding /snap/ paths from classic-confinement library collection to avoid bundling libraries from installed snaps. |