Snapcraft snap broken on trusty
Metadata
Current evaluation
Snapcraft 2.39.2 snap failed on Trusty: mksquashfs couldn't find liblz4.so.1 because ELF rpaths weren't set. Fixed by snapcore/snapcraft#1988 (commit 17f1f8c2f), which only sets rpaths to libs of the same arch; verified via edge/1752964-fix-trusty channel.
Resolution: closed resolved
Reason: Maintainer kyrofa identified that rpaths weren't being set for mksquashfs and shipped a fix in snapcore/snapcraft#1988 (commit 17f1f8c2f, 'elf: only set rpaths to libs of the same arch'), which was validated by a reporter on the edge/1752964-fix-trusty channel before the bug was closed.
Evaluated by: mr-cal-bot
Issue body
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Snapcraft 2.39.2 snap failed on Trusty: mksquashfs couldn't find liblz4.so.1 because ELF rpaths weren't set. Fixed by snapcore/snapcraft#1988 (commit 17f1f8c2f), which only sets rpaths to libs of the same arch; verified via edge/1752964-fix-trusty channel. | |
| stealth/space-bunny-alpha | — | closed resolved | Trusty users saw mksquashfs fail with missing liblz4.so.1 because ELF rpaths weren't set. Fixed by canonical/snapcraft#1988 (commit 17f1f8c2f), limiting rpath selection to same-arch libs; verified on an edge channel snap. | |
| stealth/space-bunny-alpha | — | closed stale | Closed without a recorded fix: Snapcraft 2.39.2's snap failed on Trusty because mksquashfs could not load liblz4.so.1; LP #1752964 has no comments or resolution. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft v2.39.2 failed on Ubuntu Trusty due to a missing liblz4.so.1 dependency for mksquashfs. No comments were posted, and the report was likely abandoned following Trusty's end-of-life. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The missing liblz4.so.1 dependency causing mksquashfs failures on Ubuntu Trusty was likely abandoned due to the distribution's end-of-life or superseded by newer snap versions. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. Snapcraft failed on Trusty due to missing liblz4.so.1 during mksquashfs. Zero comments and years of inactivity indicate the report was abandoned, likely due to OS end-of-life. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without comments or resolution. The missing liblz4.so.1 dependency causing mksquashfs failures on Ubuntu Trusty was abandoned or superseded due to the OS reaching end-of-life. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
canonical/snapcraft#1988
(confidence 96%)
PR linked directly in the final maintainer comment; commit 17f1f8c2f 'elf: only set rpaths to libs of the same arch (#1988)'.
-
Related To:
snapcraft (launchpad)#1723208
(confidence 70%)
Earlier Trusty classic-snap breakage from missing library paths (LD_LIBRARY_PATH leak, fixed in #1635) in the same rpath/library-patching area.
-
Related To:
canonical/snapcraft#1781
(confidence 55%)
'many: set rpath for elf files for classic' — the earlier change that introduced/intended the rpath behaviour this bug exposed.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1723208 Snapcraft snap doesn't work natively on trusty | snapcraft (launchpad) | closed | Fixed Trusty classic-snap builds by preventing bundled-library LD_LIBRARY_PATH values from leaking into build commands; merged in snapcore/snapcraft#1635 as da9181487. | |
| #1663303 Running snapcraft on Ubuntu 14.04 fails with a traceback | snapcraft (launchpad) | closed | Closed as stale: maintainer ~kyrofa said Snapcraft 2.35 should run on Trusty, making the earlier missing liblz4.so.1 failure obsolete. | |
| #1769551 snapcraft 2.42 not working in trusty armhf | snapcraft (launchpad) | closed | Snapcraft 2.42's armhf startup failure was fixed by merged PR #2126 (commit 5230460c7); the reporter confirmed it in edge rev 1561. | |
| #2012074 snapcraft cannot build snap by default on aarch64 | snapcraft (launchpad) | open | ARM64 default builds failed on Snapcraft 7.3.1 because core20 selected amd64-only Multipass images; later defaults use core22/LXD on Linux, addressing the reported path. | |
| #1765482 Building a classic snap on trusty doesn't work | snapcraft (launchpad) | closed | Trusty classic-snap build segfaults traced to core paths in LD_LIBRARY_PATH. Proposed fix PR canonical/snapcraft#2128 was closed unmerged as unnecessary, leaving the bug unfixed. |