← Back to issue list

snapcraft remote-build core20 armhf openssl error

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#2064639
Type
issue
State
open
Author
~gbeuzeboc
Labels
Created
Updated
Closed

Current evaluation

snapcraft remote-build fails on core20 armhf due to OpenSSL 3.0 legacy provider error in configure hook. Unlabelled, no maintainer response, 854 days old.

Suggested action: close stale

Reason: The issue is 854 days old with no maintainer response and references snapcraft 8.2.1, a likely outdated version. The OpenSSL 3.0 legacy provider error may have been resolved in newer versions of snapcraft or the cryptography library. Without evidence that this issue persists in current versions, it should be closed as stale.

Impact: 45 Quick Win: 22.5 Staleness: 85 Complexity: 50 Confidence: 40 Support Request: 20

Issue body

snapcraft 8.2.1 command: snapcraft remote-build error: from snapcraft_legacy.sources import get ... RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. to reproduce: snapcraft.yaml name: test-snap version: '0.1' summary: sd description: | test grade: stable confinement: strict base: core20 architectures: - build-on: armhf parts: variant: plugin: nil source: . build-packages: [tmux] complete error log: error: cannot perform the following tasks: - Run configure hook of "snapcraft" snap if present (run hook "configure": ----- Traceback (most recent call last): File "/snap/snapcraft/11475/snap/hooks/configure", line 7, in <module> from snapcraft.snap_config import SnapConfig File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft/__init__.py", line 23, in <module> import snapcraft.sources # noqa: F401 File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft/sources.py", line 22, in <module> from snapcraft_legacy.sources import get File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/__init__.py", line 352, in <module> from snapcraft_legacy._store import ( # noqa File "/snap/snapcraft/current/lib/python3.10/site-packages/snapcraft_legacy/_store.py", line 30, in <module> import craft_store File "/snap/snapcraft/current/lib/python3.10/site-packages/craft_store/__init__.py", line 23, in <module> from .auth import Auth File "/snap/snapcraft/current/lib/python3.10/site-packages/craft_store/auth.py", line 33, in <module> from keyring.backends import SecretService File "/snap/snapcraft/current/lib/python3.10/site-packages/keyring/backends/SecretService.py", line 16, in <module> import secretstorage File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/__init__.py", line 13, in <module> from secretstorage.collection import Collection, create_collection, \ File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/collection.py", line 24, in <module> from secretstorage.item import Item File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/item.py", line 17, in <module> from secretstorage.util import DBusAddressWrapper, \ File "/snap/snapcraft/current/lib/python3.10/site-packages/secretstorage/util.py", line 23, in <module> from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes File "/snap/snapcraft/current/lib/python3.10/site-packages/cryptography/hazmat/primitives/ciphers/__init__.py", line 11, in <module> from cryptography.hazmat.primitives.ciphers.base import ( File "/snap/snapcraft/current/lib/python3.10/site-packages/cryptography/hazmat/primitives/ciphers/base.py", line 10, in <module> from cryptography.exceptions import ( File "/snap/snapcraft/current/lib/python3.10/site-packages/cryptography/exceptions.py", line 9, in <module> from cryptography.hazmat.bindings._rust import exceptions as rust_exceptions RuntimeError: OpenSSL 3.0's legacy provider failed to load. This is a fatal error by default, but cryptography supports running without legacy algorithms by setting the environment variable CRYPTOGRAPHY_OPENSSL_NO_LEGACY. If you did not expect this error, you have likely made a mistake with your OpenSSL configuration. -----) Install failed Traceback (most recent call last): File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 301, in run self.install() File "/usr/lib/python3/dist-packages/lpbuildd/target/build_snap.py", line 199, in install self.backend.run( File "/usr/lib/python3/dist-packages/lpbuildd/target/lxd.py", line 718, in run subprocess.check_call(cmd, **kwargs) File "/usr/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd)

Evaluation history

Date Model Scores Action Summary
qwen3.6-35b-a3b-mtp-q6
Impact: 45
Quick Win: 22.5
Staleness: 85
Complexity: 50
Confidence: 40
Support Request: 20
close stale snapcraft remote-build fails on core20 armhf due to OpenSSL 3.0 legacy provider error in configure hook. Unlabelled, no maintainer response, 854 days old.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 45
Confidence: 85
Support Request: 25
close stale OpenSSL 3.0 legacy provider failure during snapcraft remote-build for core20 armhf. Issue has been inactive for over two years with zero maintainer interaction. Likely resolved by upstream package updates.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 60
Confidence: 85
Support Request: 10
close stale OpenSSL 3.0 legacy provider error during snapcraft remote-build for core20 armhf. Issue is over 2 years old with no maintainer response.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 80
Support Request: 10
close stale snapcraft remote-build fails on core20 armhf with OpenSSL 3.0 legacy provider error in cryptography. Untriaged, inactive for over two years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 45
Confidence: 80
Support Request: 10
close stale Remote build fails on core20 armhf due to OpenSSL 3.0 legacy provider error in cryptography. Issue is two years old, unlabelled, and has zero comments.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#5077 Broken core20 armhf builds on launchpad snapcraft closed Fixed core20 armhf Launchpad build failures caused by an OpenSSL 3.0 legacy provider error. Resolved via snapcraft PR #5084 (v8.4.2) and PR #5105 (v7.5.8).
77%
#2099923 Snapcraft builds are failing: install of snap "snapcraft" failed snapcraft (launchpad) open Snapcraft builds failing due to outdated snapd (2.61) on build infrastructure unable to install core20 base. Issue is 556 days old with no maintainer response.
75%