pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: py38-certbot-2.6.0 - Broken for me in pkgsrc_head
> On NetBSD 9.3_STABLE amd64, pkgsrc latest, I'm getting:
>
> # certbot
> Traceback (most recent call last):
[snip]
> "/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/bindings/openssl/binding.py",
> line 15, in <module>
> from cryptography.hazmat.bindings._rust import _openssl, openssl
> ImportError:
> /usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/bindings/_rust.abi3.so:
> Shared object "libssl.so.1.1" not found
Oddly, /usr/pkg/lib/libssl.so.1.1 DOES exist on my system...
/etc/mk/conf does include:
PREFER_PKGSRC+=openssl
This had all worked well until recently...
Got one layer deeper.
py38-cryptography-40.0.2 FAILS quite a few self tests with a similar
openssl errors:
# make test
platform netbsd9 -- Python 3.8.16, pytest-7.3.1, pluggy-1.0.0
benchmark: 4.0.0 (defaults: timer=time.perf_counter disable_gc=False
min_rounds=5 min_time=0.000005 max_time=1.0 calibration_precision=10
warmup=False warmup_iterations=100000)
OpenSSL: OpenSSL 1.1.1t 7 Feb 2023
FIPS Enabled: False
rootdir: /usr/pkgsrc/security/py-cryptography/work/cryptography-40.0.2
configfile: pyproject.toml
plugins: cov-4.0.0, xdist-3.2.1, benchmark-4.0.0, subtests-0.10.0
collected 3030 items
tests/test_cryptography_utils.py ...
[ 0%]
tests/test_fernet.py ...............................
[ 1%]
tests/test_meta.py Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/pkg/lib/python3.8/site-packages/cryptography/fernet.py", line
14, in <module>
from cryptography.hazmat.primitives import hashes, padding
File
"/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/primitives/padding.py",
line 11, in <module>
from cryptography.hazmat.bindings._rust import (
ImportError:
/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/bindings/_rust.abi3.so:
Shared object "libssl.so.1.1" not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/_oid.py",
line 7, in <module>
from cryptography.hazmat.bindings._rust import (
ImportError:
/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/bindings/_rust.abi3.so:
Shared object "libssl.so.1.1" not found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File
"/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/__init__.py",
line 6, in <module>
from cryptography.hazmat.backends.openssl.backend import backend
File
"/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/backends/openssl/backend.py",
line 13, in <module>
from cryptography import utils, x509
File
"/usr/pkg/lib/python3.8/site-packages/cryptography/x509/__init__.py",
line 6, in <module>
from cryptography.x509 import certificate_transparency
File
"/usr/pkg/lib/python3.8/site-packages/cryptography/x509/certificate_transparency.py",
line 10, in <module>
from cryptography.hazmat.bindings._rust import x509 as rust_x509
ImportError:
/usr/pkg/lib/python3.8/site-packages/cryptography/hazmat/bindings/_rust.abi3.so:
Shared object "libssl.so.1.1" not found
Home |
Main Index |
Thread Index |
Old Index