maintainer-feedback requested: [Bug 199826] lang/python27 fails to build with libressl

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri May 1 00:54:05 UTC 2015


rozhuk.im at gmail.com has reassigned Bugzilla Automation <bugzilla at FreeBSD.org>'s
request for maintainer-feedback to python at FreeBSD.org:
Bug 199826: lang/python27 fails to build with libressl
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199826



--- Description ---
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


More information about the freebsd-python mailing list