[Bug 277520] security/py-cryptography refuses to link with proper SSL library

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Mar 2024 01:41:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277520

            Bug ID: 277520
           Summary: security/py-cryptography refuses to link with proper
                    SSL library
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: dave@jetcafe.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)
          Assignee: sunpoet@FreeBSD.org

In my make.conf I have:

DEFAULT_VERSIONS+= ...  ssl=libressl python=3.9 ...

The py-cryptography package is built due to dependencies, and it is linked to
base openssl instead of ports libressl:

# tar xf packages/All/py39-cryptography-41.0.4,1.pkg
tar: Removing leading '/' from member names
# ldd
usr/local/lib/python3.9/site-packages/cryptography/hazmat/bindings/_rust.abi3.so
        libssl.so.111 => /usr/lib/libssl.so.111 (0x24f070421000)
        libcrypto.so.111 => /lib/libcrypto.so.111 (0x24f07147d000)
...

-- 
You are receiving this mail because:
You are the assignee for the bug.