[Bug 234568] lang/python27,36: Fails to build against libressl 2.8.3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Mar 23 02:16:25 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234568

Kai Knoblich <kai at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kai at FreeBSD.org

--- Comment #8 from Kai Knoblich <kai at FreeBSD.org> ---
Hi all,

just came across this PR when I was searching for some issues related to Python
2.7 and libressl.

My setup:
- Host: FreeBSD 13-CURRENT at r344874 amd64 with libressl-2.8.3
- Jail: FreeBSD 11.2-RELEASE amd64

The make.conf of the jail had only the following line:

> DEFAULT_VERSIONS+=ssl=libressl

I had nearly the same errors in the build.log as reported by adridg in comment
#0:

> *** WARNING: renaming "_ssl" since importing it failed: build/lib.freebsd-11.2-RELEASE-p9-amd64-2.7/_ssl.so: Undefined symbol "RAND_egd"

and later when "make package" is run:

> pkg-static: Unable to access file /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/_ssl.so:No such file or directory

My issue was resolved by adding additional lines in the relevant make.conf
because my builders make heavy usage of ccache:

> .if ${.CURDIR:M*/lang/python27*}
> NOCCACHE=yes
> .elif ${.CURDIR:M*/lang/python36*}
> NOCCACHE=yes
> .endif

Maybe this will help you in some way.

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


More information about the freebsd-python mailing list