I'm try to replace OpenSSL to LibreSSL and rebuild all affected ports. running install running build running build_ext building dbm using ndbm INFO: Can't locate Tcl/Tk libs and/or headers building '_ssl' extension clang -fPIC -fno-strict-aliasing -O2 -msse -msse2 -msse3 -funroll-loops -fno-tree-vectorize -pipe -fstack-protector -fno-strict-aliasing -DNDEBUG -I. -IInclude -I./Include -I/usr/local/include -I/tmp/ports/usr/ports/lang/python27/work/Python-2.7.9/Include -I/tmp/ports/usr/ports/lang/python27/work/Python-2.7.9 -c /tmp/ports/usr/ports/lang/python27/work/Python-2.7.9/Modules/_ssl.c -o build/temp.freebsd-10.1-STABLE-amd64-2.7/tmp/ports/usr/ports/lang/python27/work/Python-2.7.9/Modules/_ssl.o /tmp/ports/usr/ports/lang/python27/work/Python-2.7.9/Modules/_ssl.c:3313:13: warning: implicit declaration of function 'RAND_egd' is invalid in C99 [-Wimplicit-function-declaration] bytes = RAND_egd(PyString_AS_STRING(arg)); ^ 1 warning generated. clang -shared -lpthread -Wl,-rpath,/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector -lpthread -Wl,-rpath,/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -fstack-protector -O2 -msse -msse2 -msse3 -funroll-loops -fno-tree-vectorize -pipe -fstack-protector -fno-strict-aliasing -I/usr/local/include build/temp.freebsd-10.1-STABLE-amd64-2.7/tmp/ports/usr/ports/lang/python27/work/Python-2.7.9/Modules/_ssl.o -L/usr/local/lib -L. -lssl -lcrypto -lpython2.7 -o build/lib.freebsd-10.1-STABLE-amd64-2.7/_ssl.so *** WARNING: renaming "_ssl" since importing it failed: build/lib.freebsd-10.1-STABLE-amd64-2.7/_ssl.so: Undefined symbol "RAND_egd" Python build finished, but the necessary bits to build these modules were not found: _bsddb _tkinter dl imageop linuxaudiodev spwd sunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: _ssl running build_scripts copying and adjusting /tmp/ports/usr/ports/lang/python27/work/Python-2.7.9/Tools/scripts/pydoc -> build/scripts-2.7
OpenBSD fix: https://bitbucket.org/vext01/pypy.old/commits/1ad61d86fafc18be93fbf4ecbc84ad0293d9d679 https://bitbucket.org/pypy/pypy/pull-request/233/fix-translation-for-libressl-and-fix-ssl
Hi, we have another PR with fixes that eliminate all these buildproblems. Marking this one as dupe. *** This bug has been marked as a duplicate of bug 192551 ***
Wrong dupe. My bad. *** This bug has been marked as a duplicate of bug 192511 ***
Rozhuk, you might want to check https://wiki.freebsd.org/LibreSSL if you want to use LibreSSL, most issues have been resolved.