snapcraft snap crashes on elementary loki 0.4
Metadata
Current evaluation
Closed without resolution due to inactivity. The snapcraft snap crashed on elementary loki 0.4 due to a missing nacl/libsodium library. Zero comments were posted, indicating the report was abandoned.
Suggested action: —
No scores available.
Issue body
Maybe related to bug 1678286
alan@elementaryos:~$ snapcraft
Traceback (most recent call last):
File "/snap/snapcraft/5/lib/python3.6/site-packages/libnacl/__init__.py", line 62, in _get_nacl
return ctypes.cdll.LoadLibrary('tweetnacl.so')
File "/snap/snapcraft/5/usr/lib/python3.6/ctypes/__init__.py", line 422, in LoadLibrary
return self._dlltype(name)
File "/snap/snapcraft/5/usr/lib/python3.6/ctypes/__init__.py", line 344, in __init__
self._handle = _dlopen(self._name, mode)
OSError: tweetnacl.so: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/snap/snapcraft/5/bin/snapcraft", line 28, in <module>
import snapcraft.main
File "/snap/snapcraft/5/lib/python3.6/site-packages/snapcraft/__init__.py", line 363, in <module>
from snapcraft._store import ( # noqa
File "/snap/snapcraft/5/lib/python3.6/site-packages/snapcraft/_store.py", line 35, in <module>
from snapcraft import storeapi
File "/snap/snapcraft/5/lib/python3.6/site-packages/snapcraft/storeapi/__init__.py", line 34, in <module>
import pymacaroons
File "/snap/snapcraft/5/lib/python3.6/site-packages/pymacaroons/__init__.py", line 2, in <module>
from .macaroon import Macaroon
File "/snap/snapcraft/5/lib/python3.6/site-packages/pymacaroons/macaroon.py", line 13, in <module>
from pymacaroons.caveat_delegates import (
File "/snap/snapcraft/5/lib/python3.6/site-packages/pymacaroons/caveat_delegates/__init__.py", line 4, in <module>
from .encrypted_first_party import (
File "/snap/snapcraft/5/lib/python3.6/site-packages/pymacaroons/caveat_delegates/encrypted_first_party.py", line 5, in <module>
from pymacaroons.field_encryptors import SecretBoxEncryptor
File "/snap/snapcraft/5/lib/python3.6/site-packages/pymacaroons/field_encryptors/__init__.py", line 2, in <module>
from .secret_box_encryptor import SecretBoxEncryptor
File "/snap/snapcraft/5/lib/python3.6/site-packages/pymacaroons/field_encryptors/secret_box_encryptor.py", line 3, in <module>
from libnacl.secret import SecretBox
File "/snap/snapcraft/5/lib/python3.6/site-packages/libnacl/__init__.py", line 70, in <module>
nacl = _get_nacl()
File "/snap/snapcraft/5/lib/python3.6/site-packages/libnacl/__init__.py", line 68, in _get_nacl
raise OSError(msg)
OSError: Could not locate nacl lib, searched for libsodium.so, libsodium.so.13, libsodium.so.10, libsodium.so.5, libsodium.so.4, and tweetnacl.so
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. The snapcraft snap crashed on elementary loki 0.4 due to a missing nacl/libsodium library. Zero comments were posted, indicating the report was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution or comments. The issue reports snapcraft crashing on elementary loki 0.4 due to a missing nacl library (tweetnacl.so/libsodium.so). |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1678286 snapcraft deb doesn't work on elementary 0.4 loki | snapcraft (launchpad) | closed | Closed as unsupported. The snapcraft deb package failed on elementary OS 0.4 Loki with an unsupported OS error. No fix was implemented, and the report was abandoned due to the outdated OS and lack of developer response. | |
| #1733922 “snapcraft init” crashes on 32-bit Ubuntu | snapcraft (launchpad) | closed | Abandoned due to age and lack of activity. The crash stems from libnacl failing to locate libsodium on 32-bit Ubuntu. 32-bit support was likely superseded or dropped in later snapcraft releases. | |
| #1719336 elementary os-release ID crashes snapcraft | snapcraft (launchpad) | closed | Closed without resolution. The report regarding an elementary OS os-release ID crash in snapcraft received no comments or activity, indicating it was abandoned. No fix or workaround was implemented. | |
| #1752964 Snapcraft snap broken on trusty | snapcraft (launchpad) | closed | 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. | |
| #1829413 snapcraft requested file bug report | snapcraft (launchpad) | open | Snapcraft 2.43.1 crashed with FileNotFoundError on the snapcraftctl function_call fifo after a keepalived compile failure on Xenial. No maintainer activity in ~7 years; the snapcraftctl code path no longer exists in the current codebase and the affected version is EOL. |