From owner-freebsd-python@freebsd.org Tue Aug 2 11:13:49 2016 Return-Path: Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2ECA1BAB05E for ; Tue, 2 Aug 2016 11:13:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 165EC1AA0 for ; Tue, 2 Aug 2016 11:13:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 03D0DBAB05C; Tue, 2 Aug 2016 11:13:49 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 02A1FBAB05A for ; Tue, 2 Aug 2016 11:13:49 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DB29A1A99 for ; Tue, 2 Aug 2016 11:13:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u72BDlk4036092 for ; Tue, 2 Aug 2016 11:13:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 210820] lang/python27: _ssl.so fails to build (Undefined symbol "SSLv2_method") Date: Tue, 02 Aug 2016 11:13:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa, regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: cejkar@fit.vutbr.cz X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? merge-quarterly? X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Aug 2016 11:13:49 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210820 Rudolf =C4=8Cejka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |cejkar@fit.vutbr.cz --- Comment #12 from Rudolf =C4=8Cejka --- Just a small reminder and more description for those, who want to reproduce this problem (as I came across it yesterday too): The problem is still here= and not fixed. How to reproduce it (as of ports revision r419436, Aug 1 2016): - Install 11-STABLE/HEAD, where SSLv2 is removed from /usr/lib/libssl.so.8 - Install security/openssl with default options, where SSLv2 in /usr/local/lib/libssl.so.8 is still included - DO NOT Install or Uninstall port devel/ncurses - then base ncurses are us= ed and -rpath /usr/lib:${LOCALBASE}/lib is added - Then try to upgrade lang/python27. There is USES=3D... ncurses ... ssl ..= ., which implies that cumulative -rpath "/usr/lib:/usr/local/lib:/usr/local/li= b" is used, which breaks python's runtime with openssl from ports. More technically, make framework sets LDFLAGS to ... -Wl,-rpath=3D${NCURSESRPATH= } ... ${OPENSSL_LDFLAGS}, where NCURSESRPATH is /usr/lib:${LOCALBASE}/lib and OPENSSL_LDFLAGS is -Wl,-rpath,${OPENSSLRPATH}. Ultra-fast but Dirty workaround: Swap ncurses and ssl in USES from=20 USES=3D... ncurses ... ssl ... to USES=3D... ssl ... ncurses ... ;o) SSLv2 mismatch (in base it is not, in ports it is) is not needed - but it beautifully reveals, that runtime library used is other than linking librar= y. --=20 You are receiving this mail because: You are the assignee for the bug.=