Bug 277520 - security/py-cryptography refuses to link with proper SSL library
Summary: security/py-cryptography refuses to link with proper SSL library
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-06 01:41 UTC by Dave Hayes
Modified: 2024-03-27 19:11 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hayes 2024-03-06 01:41:21 UTC
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)
...
Comment 1 Dave Hayes 2024-03-06 01:44:46 UTC
I should mention I am on 13.2-STABLE: stable/13-c2c7340fef
Comment 2 Dave Hayes 2024-03-27 19:11:45 UTC
As of HEAD 6b5a47c1f, this problem seems to have gone away. I am only leaving this open in case someone wants to investigate why this happened.