maintainer-feedback requested: [Bug 260552] lang/python36: Package fails after 'Undefined symbol "SSLv3_method"' when DEFAULT_VERSIONS=ssl=openssl

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Dec 2021 21:33:06 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python (Nobody)
<python@FreeBSD.org> for maintainer-feedback:
Bug 260552: lang/python36: Package fails after 'Undefined symbol
"SSLv3_method"' when DEFAULT_VERSIONS=ssl=openssl
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260552



--- Description ---
When DEFAULT_VERSIONS includes ssl=openssl, and security/openssl has SSL3 UNSET
(the default), lang/python36 fails in the package phase with

pkg-static: Unable to access file
/wrkdirs/usr/ports/lang/python36/work/stage/usr/local/lib/python3.6/lib-dynload
/_ssl.so:No
such file or directory

Earlier, in the build phase, the proximate cause is evidenced by:

*** WARNING: renaming "_ssl" since importing it failed:
build/lib.freebsd-12.3-RELEASE-amd64-3.6/_ssl.so: Undefined symbol
"SSLv3_method"