Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 06 Jan 2016 16:24:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 205960] lang/python35: (and lang/python34) building with LibreSSL fails: lib-dynload/_ssl.so: No such file or directory
Message-ID:  <bug-205960-21822-R9BF1UVjQl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-205960-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-205960-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Mark.Martinec@ijs.si has reassigned Bugzilla Automation
<bugzilla@FreeBSD.org>'s request for maintainer-feedback to FreeBSD Python
<python@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=3D205960



--- 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=3D195513
  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=3Ddeclaration-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/python3=
5/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 =3D RAND_egd(PyBytes_AsString(path));
		^
1 warning generated.
cc -shared -lpthread -Wl,-rpath,/usr/local/lib
-Wl,-rpath=3D/usr/lib:/usr/local/lib -fstack-protector -lpthread
-Wl,-rpath,/usr/local/lib -Wl,-rpath=3D/usr/lib:/usr/local/lib -fstack-prot=
ector
-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/python3=
5/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 no=
t be
imported:
_ssl

[...]
=3D=3D=3D>  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-dyn=
load
/_ssl.so:
No such file or directory
*** Error code 1



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205960-21822-R9BF1UVjQl>