From owner-freebsd-python@freebsd.org Wed Jan 6 20:40:46 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 E60A0A669DB for ; Wed, 6 Jan 2016 20:40:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id D11A41F2F for ; Wed, 6 Jan 2016 20:40:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id CDCEEA669DA; Wed, 6 Jan 2016 20:40:46 +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 CD681A669D9 for ; Wed, 6 Jan 2016 20:40:46 +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 BD9331F2D for ; Wed, 6 Jan 2016 20:40:46 +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 u06Kek0g040641 for ; Wed, 6 Jan 2016 20:40:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: maintainer-approval requested: [Bug 205960] lang/python35: (and lang/python34) building with LibreSSL fails: lib-dynload/_ssl.so: No such file or directory : [Attachment 165181] svn diff for lang/python35 Date: Wed, 06 Jan 2016 20:40:46 +0000 X-Bugzilla-Type: request X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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.20 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jan 2016 20:40:47 -0000 Bernard Spil has asked FreeBSD Python for maintainer-approval: 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 Attachment 165181: svn diff for lang/python35 https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165181&action=3Dedit --- Comment #4 from Bernard Spil --- Created attachment 165181 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165181&action= =3Dedit svn diff for lang/python35 There's definitely something wrong with the CFLAGS, configure is using the = libs from base not ports. configure:9276: checking for RAND_egd in -lcrypto configure:9301: cc -o conftest -O2 -pipe -fno-omit-frame-pointer=20 -fstack-protector -fno-strict-aliasing -lpthread -Wl,-rpath,/usr/local/lib -Wl,-rpath=3D/usr/lib:/usr/local/lib -fstack-protector conftest.c -lcrypto = >&5 configure:9301: $? =3D 0 configure:9310: result: yes This patch changes behaviour to use the define from opensslfeatures.h. At b= uild time the correct include is done.