snapcraft 2.42 not working in trusty armhf
Metadata
Current evaluation
Closed without comments or resolution. The author reverted to version 2.41, indicating the issue was abandoned or superseded by newer releases.
Suggested action: —
No scores available.
Issue body
After getting the snapcraft snap automatically refreshed to the 1503 revision (2.42) I am having this problem when trying to execute "snapcraft", "snapcraft clean" or just "snapcraft --version":
Traceback (most recent call last):
File "/snap/snapcraft/1503/bin/snapcraft", line 11, in <module>
load_entry_point('snapcraft==2.42', 'console_scripts', 'snapcraft')()
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2693, in load_entry_point
return ep.load()
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2324, in load
return self.resolve()
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2330, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/snap/snapcraft/1503/lib/python3.5/site-packages/snapcraft/__init__.py", line 386, in <module>
from snapcraft._store import ( # noqa
File "/snap/snapcraft/1503/lib/python3.5/site-packages/snapcraft/_store.py", line 37, in <module>
from snapcraft import storeapi
File "/snap/snapcraft/1503/lib/python3.5/site-packages/snapcraft/storeapi/__init__.py", line 19, in <module>
import pymacaroons
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pymacaroons/__init__.py", line 2, in <module>
from .macaroon import Macaroon
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pymacaroons/macaroon.py", line 13, in <module>
from pymacaroons.caveat_delegates import (
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pymacaroons/caveat_delegates/__init__.py", line 4, in <module>
from .encrypted_first_party import (
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pymacaroons/caveat_delegates/encrypted_first_party.py", line 5, in <module>
from pymacaroons.field_encryptors import SecretBoxEncryptor
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pymacaroons/field_encryptors/__init__.py", line 2, in <module>
from .secret_box_encryptor import SecretBoxEncryptor
File "/snap/snapcraft/1503/lib/python3.5/site-packages/pymacaroons/field_encryptors/secret_box_encryptor.py", line 3, in <module>
from libnacl.secret import SecretBox
File "/snap/snapcraft/1503/lib/python3.5/site-packages/libnacl/__init__.py", line 70, in <module>
nacl = _get_nacl()
File "/snap/snapcraft/1503/lib/python3.5/site-packages/libnacl/__init__.py", line 51, in _get_nacl
return ctypes.cdll.LoadLibrary('libsodium.so')
File "/snap/snapcraft/1503/usr/lib/python3.5/ctypes/__init__.py", line 451, in LoadLibrary
return self._dlltype(name)
File "/snap/snapcraft/1503/usr/lib/python3.5/ctypes/__init__.py", line 362, in __init__
name)
File "/snap/snapcraft/1503/usr/lib/python3.5/posixpath.py", line 89, in join
genericpath._check_arg_types('join', a, *p)
File "/snap/snapcraft/1503/usr/lib/python3.5/genericpath.py", line 143, in _check_arg_types
(funcname, s.__class__.__name__)) from None
TypeError: join() argument must be str or bytes, not 'NoneType'
I'm trying to do it in an armhf using Trusty. I reverted to the previous version (2.41 - rev 1427) and everything works as usual.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Closed without comments or resolution. The author reverted to version 2.41, indicating the issue was abandoned or superseded by newer releases. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution, likely abandoned. The issue reported a libnacl ctypes TypeError crashing snapcraft 2.42 on Trusty armhf; reverting to 2.41 resolved the problem. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #2085813 snapcraft not installable | snapcraft (launchpad) | closed | Abandoned and closed due to a GLIBC_2.38 runtime incompatibility during installation. No resolution or fix was provided. | |
| #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. | |
| #1723208 Snapcraft snap doesn't work natively on trusty | snapcraft (launchpad) | closed | Closed without resolution. The snapcraft build failure on Ubuntu Trusty caused by a missing CXXABI_1.3.8 symbol was abandoned, likely superseded by Trusty reaching end-of-life. | |
| #1746607 snapcraft 2.38 is very slow | snapcraft (launchpad) | closed | A performance regression in snapcraft 2.38 was abandoned and closed without resolution or comments. No fix or merge was implemented. | |
| #1761598 Snapcraft modifies binaries | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft 2.39.2 and 2.40.1 modified binaries by adding 4096 bytes, a regression from 2.35. The report was abandoned with no comments or fix applied. | |
| #1816 snapcraft update won't fetch from `SNAPCRAFT_PARTS_URI` | snapcraft | closed | Closed without resolution or comments. Likely superseded by the linked Launchpad bug report. No fixes or code changes were applied. | |
| #1534548 snapcraft-examples py2-project example cannot run on armhf | snapcraft (launchpad) | closed | A report detailing a Python 2 snapcraft example failure on armhf hardware was closed without resolution or comments. Extended inactivity and zero follow-up indicate the bug report was abandoned. | |
| #1947968 snapcraft missing 22.04 branch | snapcraft (launchpad) | closed | Closed without resolution. The missing ubuntu-22.04 branch for the snapcraft snap caused dpkg installation failures. Likely abandoned or resolved upstream. | |
| #1583718 snapcraft command doesn't include expected changes | snapcraft (launchpad) | closed | Closed without resolution or comments. The build caching bug was abandoned or superseded by later improvements, requiring manual cache cleaning as a workaround. | |
| #1980536 snapcraft unusable on systems not using apt | snapcraft (launchpad) | closed | Closed without resolution. Snapcraft retained hard apt dependencies, causing crashes on non-Debian systems like Arch Linux. The issue appears abandoned with no fix provided. |