[Bug 205960] lang/python35: (and lang/python34) building with LibreSSL fails: lib-dynload/_ssl.so: No such file or directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 6 16:24:50 UTC 2016


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

            Bug ID: 205960
           Summary: lang/python35: (and lang/python34) building with
                    LibreSSL fails: lib-dynload/_ssl.so: No such file or
                    directory
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: python at FreeBSD.org
          Reporter: Mark.Martinec at ijs.si
             Flags: maintainer-feedback?(python at FreeBSD.org)
          Assignee: python at FreeBSD.org

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/work/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/work/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

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


More information about the freebsd-ports-bugs mailing list