“snapcraft init” crashes on 32-bit Ubuntu
Metadata
Current evaluation
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.
Suggested action: —
No scores available.
Issue body
snapcraft 2.35, 32-bit Ubuntu 14.04 or 16.04
😌 17:25:10@test> snapcraft init
Traceback (most recent call last):
File "/snap/snapcraft/793/lib/python3.6/site-packages/libnacl/__init__.py", line 62, in _get_nacl
return ctypes.cdll.LoadLibrary('tweetnacl.so')
File "/snap/snapcraft/793/usr/lib/python3.6/ctypes/__init__.py", line 422, in LoadLibrary
return self._dlltype(name)
File "/snap/snapcraft/793/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/793/bin/snapcraft", line 11, in <module>
load_entry_point('snapcraft==2.35', 'console_scripts', 'snapcraft')()
File "/snap/snapcraft/793/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 565, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/snap/snapcraft/793/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2631, in load_entry_point
return ep.load()
File "/snap/snapcraft/793/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2291, in load
return self.resolve()
File "/snap/snapcraft/793/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 2297, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/snap/snapcraft/793/lib/python3.6/site-packages/snapcraft/__init__.py", line 407, in <module>
from snapcraft._store import ( # noqa
File "/snap/snapcraft/793/lib/python3.6/site-packages/snapcraft/_store.py", line 32, in <module>
from snapcraft.cli import echo
File "/snap/snapcraft/793/lib/python3.6/site-packages/snapcraft/cli/__init__.py", line 29, in <module>
from .assertions import assertionscli
File "/snap/snapcraft/793/lib/python3.6/site-packages/snapcraft/cli/assertions.py", line 27, in <module>
from snapcraft import storeapi
File "/snap/snapcraft/793/lib/python3.6/site-packages/snapcraft/storeapi/__init__.py", line 33, in <module>
import pymacaroons
File "/snap/snapcraft/793/lib/python3.6/site-packages/pymacaroons/__init__.py", line 2, in <module>
from .macaroon import Macaroon
File "/snap/snapcraft/793/lib/python3.6/site-packages/pymacaroons/macaroon.py", line 13, in <module>
from pymacaroons.caveat_delegates import (
File "/snap/snapcraft/793/lib/python3.6/site-packages/pymacaroons/caveat_delegates/__init__.py", line 4, in <module>
from .encrypted_first_party import (
File "/snap/snapcraft/793/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/793/lib/python3.6/site-packages/pymacaroons/field_encryptors/__init__.py", line 2, in <module>
from .secret_box_encryptor import SecretBoxEncryptor
File "/snap/snapcraft/793/lib/python3.6/site-packages/pymacaroons/field_encryptors/secret_box_encryptor.py", line 3, in <module>
from libnacl.secret import SecretBox
File "/snap/snapcraft/793/lib/python3.6/site-packages/libnacl/__init__.py", line 70, in <module>
nacl = _get_nacl()
File "/snap/snapcraft/793/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 | — | — | 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. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed and abandoned. The 32-bit Ubuntu crash caused by missing libsodium libraries received no comments or resolution. No fix or merge details were provided. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution due to inactivity. The 32-bit Ubuntu crash from missing libsodium dependencies was abandoned or superseded by newer snapcraft releases that dropped 32-bit support or updated dependencies. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The snapcraft init crash on 32-bit Ubuntu resulted from a missing libsodium library. The issue appears abandoned or superseded by newer releases. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1678289 snapcraft snap crashes on elementary loki 0.4 | snapcraft (launchpad) | closed | 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. | |
| #1611498 snapcraft fails install using virtualenv instructions | snapcraft (launchpad) | closed | Virtualenv installation instructions for snapcraft were reported as broken due to missing libsodium and Python dependencies. The issue was closed without resolution or comments, likely superseded by updated installation methods. |