mark.marti...@ijs.si has reassigned Bugzilla Automation
<bugzi...@freebsd.org>'s request for maintainer-feedback to FreeBSD Python
<pyt...@freebsd.org>:
Bug 205960: lang/python35: (and lang/python34) building with LibreSSL fails:
lib-dynload/_ssl.so: No such file or directory
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205960



--- Description ---
This seems to be the same issue as reported in Bug 195513
for lang/python32 :

  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195513
  https://svnweb.freebsd.org/changeset/ports/404378

Apparently the fix was only applied to lang/python32 but not
to python34 and python35 ports. (not sure about python33,
haven't tried it).


Full pudriere logs for python34 and python35 are at:

  https://www.ijs.si/~mark/tmp/python34-3.4.4.log
  https://www.ijs.si/~mark/tmp/python35-3.5.1.log

Relevant excerpts from a poudriere build:

building '_ssl' extension
cc -fPIC -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2
-pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing
-Werror=declaration-after-statement -I./Include -I. -IInclude
-I/usr/local/include
-I/wrkdirs/usr/ports/lang/python35/work/Python-3.5.1/Include
-I/wrkdirs/usr/ports/lang/python35/work/Python-3.5.1 -c
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.1/Modules/_ssl.c -o
build/temp.freebsd-10.2-RELEASE-p7-amd64-3.5/wrkdirs/usr/ports/lang/python35/wo
rk/Python-3.5.1/Modules/_ssl.o
/wrkdirs/usr/ports/lang/python35/work/Python-3.5.1/Modules/_ssl.c:3935:17:
warning: implicit declaration of function 'RAND_egd' is invalid in C99
[-Wimplicit-function-declaration]
    int bytes = RAND_egd(PyBytes_AsString(path));
                ^
1 warning generated.
cc -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 -pipe -fno-omit-frame-pointer -fstack-protector -fno-strict-aliasing
build/temp.freebsd-10.2-RELEASE-p7-amd64-3.5/wrkdirs/usr/ports/lang/python35/wo
rk/Python-3.5.1/Modules/_ssl.o
-L. -L/usr/local/lib -lssl -lcrypto -lpython3.5m -o
build/lib.freebsd-10.2-RELEASE-p7-amd64-3.5/_ssl.so
*** WARNING: renaming "_ssl" since importing it failed:
build/lib.freebsd-10.2-RELEASE-p7-amd64-3.5/_ssl.so: Undefined symbol
"RAND_egd"

[...]
Following modules built successfully but were removed because they could not be
imported:
_ssl

[...]
===>  Building package for python35-3.5.1
pkg-static: Unable to access file
/wrkdirs/usr/ports/lang/python35/work/stage/usr/local/lib/python3.5/lib-dynload
/_ssl.so:
No such file or directory
*** Error code 1
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to