← Back to issue list

undefined symbol: crypto_pwhash_argon2id_opslimit_moderate

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1794703
Type
issue
State
closed
Author
~popey
Labels
—
Created
Updated
Closed

Current evaluation

Fixed a pymacaroons dependency clash by removing obsolete pymacaroons-pynacl. Merged in snapcore/snapcraft#2302 (ff233cd72), with legacy fix #2303; confirmed working in edge 2.43.1+git52.gff233cd.

Resolution: closed resolved

Reason: The conflicting pymacaroons-pynacl package was removed while retaining pymacaroons in PR #2302, commit ff233cd72; PR #2303 applied the legacy fix. A reporter confirmed the resulting edge build worked.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Snapcraft 2012 worked fine. 2022 failed here, and someone on irc said 2014 broke too. So likely somewhere between 2012 and 2014 things went wrong. $ snapcraft clean Traceback (most recent call last): File "/snap/snapcraft/2022/bin/snapcraft", line 23, in <module> from snapcraft import project, yaml_utils File "/snap/snapcraft/2022/lib/python3.5/site-packages/snapcraft/__init__.py", line 387, in <module> from snapcraft._store import ( # noqa File "/snap/snapcraft/2022/lib/python3.5/site-packages/snapcraft/_store.py", line 36, in <module> from snapcraft import storeapi, yaml_utils File "/snap/snapcraft/2022/lib/python3.5/site-packages/snapcraft/storeapi/__init__.py", line 19, in <module> import pymacaroons File "/snap/snapcraft/2022/lib/python3.5/site-packages/pymacaroons/__init__.py", line 8, in <module> from .macaroon import Macaroon File "/snap/snapcraft/2022/lib/python3.5/site-packages/pymacaroons/macaroon.py", line 13, in <module> from pymacaroons.caveat_delegates import ( File "/snap/snapcraft/2022/lib/python3.5/site-packages/pymacaroons/caveat_delegates/__init__.py", line 4, in <module> from .encrypted_first_party import ( File "/snap/snapcraft/2022/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/2022/lib/python3.5/site-packages/pymacaroons/field_encryptors/__init__.py", line 2, in <module> from .secret_box_encryptor import SecretBoxEncryptor File "/snap/snapcraft/2022/lib/python3.5/site-packages/pymacaroons/field_encryptors/secret_box_encryptor.py", line 3, in <module> import nacl.bindings File "/snap/snapcraft/2022/lib/python3.5/site-packages/nacl/bindings/__init__.py", line 17, in <module> from nacl.bindings.crypto_aead import ( File "/snap/snapcraft/2022/lib/python3.5/site-packages/nacl/bindings/crypto_aead.py", line 18, in <module> from nacl._sodium import ffi, lib ImportError: /snap/snapcraft/2022/lib/python3.5/site-packages/nacl/_sodium.abi3.so: undefined symbol: crypto_pwhash_argon2id_opslimit_moderate

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Fixed a pymacaroons dependency clash by removing obsolete pymacaroons-pynacl. Merged in snapcore/snapcraft#2302 (ff233cd72), with legacy fix #2303; confirmed working in edge 2.43.1+git52.gff233cd.
stealth/space-bunny-alpha — closed resolved Removed conflicting pymacaroons-pynacl; fixes merged for master (#2302, ff233cd72) and legacy (#2303). Snapcraft edge 2.43.1+git52.gff233cd was confirmed working.
stealth/space-bunny-alpha — closed stale Closed without a documented resolution. Later, canonical/snapcraft#2302 (ff233cd72) removed pymacaroons-pynacl to fix related sodium runtime link failures.
qwen/qwen3.6-35b-a3b — — Closed without resolution. Snapcraft 2022 failed due to a missing NaCl symbol in _sodium.abi3.so. Likely superseded or abandoned due to age and lack of developer response.
qwen/qwen3.6-35b-a3b — — Closed without comments, likely abandoned. The report details an ImportError in snapcraft 2022 caused by a missing Argon2 symbol in the nacl library. No resolution or fix was tracked.
qwen/qwen3.6-35b-a3b — — Closed without resolution. The Snapcraft ImportError caused by a missing Argon2 symbol in the nacl library was abandoned due to lack of follow-up.
qwen3.6-35b-a3b-mtp-q6 — — Closed as abandoned. Reports a snapcraft runtime failure due to a missing Argon2 symbol in the nacl library. No fix was applied, likely resolved by upstream dependency updates.

Update history

Date Change
created

Related work

  • Likely Fixed By: snapcore/snapcraft#2302 (confidence 100%)

    Merged fix ff233cd72 stopped using pymacaroons-pynacl.

  • Likely Fixed By: snapcore/snapcraft#2303 (confidence 98%)

    Applied the same dependency correction to the legacy codebase.

Related issues

Issue Project State Summary Similarity
#1590813 snapcraft has a copy of pymacaroons code snapcraft (launchpad) closed Vendored pymacaroons copy removed in favour of the xenial distro package, via ubuntu-core/snapcraft#584 (commit 28b94b375). SRU'd as snapcraft 2.12, verified by elopio and released to xenial-updates; bug closed verification-done.
70%