Don't copy libraries that are already in prime.
Metadata
Current evaluation
Merged in canonical/snapcraft#580 via commit 00e37e57d, preventing libraries already in prime from being copied again and fixing LP #1570895.
Resolution: closed resolved
Reason: PR #580 was merged as commit 00e37e57d, adding a check that skips copying libraries already present in prime.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Currently snapcraft is fooled by relative rpaths and copies linked libraries, even if they've already been primed. This PR fixes LP: [#1570895](https://bugs.launchpad.net/snapcraft/+bug/1570895) and stops that by checking each library path to ensure it hasn't already been primed before doing so.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged in canonical/snapcraft#580 via commit 00e37e57d, preventing libraries already in prime from being copied again and fixing LP #1570895. | |
| stealth/space-bunny-alpha | — | closed resolved | PR #580 by kyrofa merged as commit 00e37e57d, fixing LP #1570895: library copying now checks each path so already-primed libs aren't re-copied despite relative rpaths. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged as canonical/snapcraft#580 in commit 00e37e57d, fixing LP #1570895 by checking whether libraries are already primed before copying them. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to resolve Launchpad bug #1570895 by preventing snapcraft from copying libraries already in the prime directory. The fix adds path verification before copying, approved and merged with 93 additions across 7 files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged fix for Launchpad bug #1570895 that prevents snapcraft from copying libraries already in the prime directory. Resolves relative rpath issues by verifying library paths before priming. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.