Running snapcraft on Ubuntu 14.04 fails with a traceback
Metadata
Current evaluation
Closed as stale: maintainer ~kyrofa said Snapcraft 2.35 should run on Trusty, making the earlier missing liblz4.so.1 failure obsolete.
Resolution: closed stale
Reason: In the final maintainer comment on 2017-11-20, ~kyrofa noted that Snapcraft 2.35 should run correctly on Trusty and requested confirmation if it did not. No follow-up was reported before closure.
Evaluated by: mr-cal-bot
No scores available.
Issue body
I've just installed snapcraft on an updated Ubuntu 14.04.5 and installed snapcraft via:
snap install snapcraft --classic --edge
Here is the traceback:
Traceback (most recent call last):
File "/snap/snapcraft/2/bin/snapcraft", line 28, in <module>
import snapcraft.main
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/__init__.py", line 282, in <module>
from snapcraft._baseplugin import BasePlugin # noqa
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/_baseplugin.py", line 21, in <module>
from snapcraft.internal import common
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/internal/__init__.py", line 20, in <module>
from snapcraft.internal.project_loader import load_config # noqa
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/internal/project_loader.py", line 29, in <module>
from snapcraft.internal import (
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/internal/parts.py", line 29, in <module>
from snapcraft.internal import (
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/internal/pluginhandler/__init__.py", line 39, in <module>
from snapcraft.internal import (
File "/snap/snapcraft/2/lib/python3.5/site-packages/snapcraft/internal/repo.py", line 35, in <module>
import apt
File "/snap/snapcraft/2/lib/python3.5/site-packages/apt/__init__.py", line 23, in <module>
import apt_pkg
ImportError: liblz4.so.1: cannot open shared object file: No such file or directory
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed stale | Closed as stale: maintainer ~kyrofa said Snapcraft 2.35 should run on Trusty, making the earlier missing liblz4.so.1 failure obsolete. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale after years without a recorded fix. A maintainer noted that Snapcraft 2.35 should run on Trusty, but no confirming follow-up was provided. | |
| stealth/space-bunny-alpha | — | closed stale | Closed as stale after years of inactivity on end-of-life Ubuntu 14.04; no fix was recorded for the missing liblz4.so.1 dependency. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned due to inactivity and Ubuntu 14.04 end-of-life. The missing liblz4.so.1 dependency error was not resolved. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments. The liblz4.so.1 import error on Ubuntu 14.04 was abandoned as the project dropped support for the EOL distribution. No code fix was applied. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The Ubuntu 14.04 liblz4.so.1 dependency error was abandoned as snapcraft dropped Trusty support. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned without a fix. Ubuntu 14.04 reached end-of-life and snapcraft dropped support for the distribution, leaving the missing liblz4.so.1 dependency unresolved. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1752964 Snapcraft snap broken on trusty | snapcraft (launchpad) | closed | 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. | |
| #1853682 an error occurred in snapcraft | snapcraft (launchpad) | closed | Closed as stale without a linked fix. The original 2.43.1 crash was later guarded in snapcraft/snapcraft#5728; later 4.7.1 comments reported a separate apt-cache failure. |