Bug 234569 - lang/python36 build against libressl 2.,8.3
Summary: lang/python36 build against libressl 2.,8.3
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: freebsd-python mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-02 13:46 UTC by Adriaan de Groot
Modified: 2019-01-05 12:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adriaan de Groot freebsd_committer 2019-01-02 13:46:55 UTC
(this is like PR 234568) Building lang/python36 in a poudriere jail with default SSL version set to libressl fails to package. During the build I get two warnings:

*** WARNING: renaming "_hashlib" since importing it failed: build/lib.freebsd-12.0-STABLE-amd64-3.6/_hashlib.so: Undefined symbol "EVP_PBE_scrypt"
*** WARNING: renaming "_ssl" since importing it failed: build/lib.freebsd-12.0-STABLE-amd64-3.6/_ssl.so: Undefined symbol "SSLv3_method"

"make package" then fails because those libraries are renamed (to *_failed.so).
Comment 1 Adriaan de Groot freebsd_committer 2019-01-02 13:56:24 UTC
The same hack in the makefile -- adding -DOPENSSL_NO_SSL3=1 to CFLAGS -- gets it to build for me, so I can carry on debugging devel/qca. It should still depend on better detection, rather than makefile hacks, though.