From owner-freebsd-python@freebsd.org Wed Nov 4 10:19:55 2015 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 7D03DA261A3 for ; Wed, 4 Nov 2015 10:19:55 +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 61ECE17F2 for ; Wed, 4 Nov 2015 10:19:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 60FD2A261A2; Wed, 4 Nov 2015 10:19:55 +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 60934A261A1 for ; Wed, 4 Nov 2015 10:19:55 +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 33F4E17EE for ; Wed, 4 Nov 2015 10:19:55 +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 tA4AJtf4033864 for ; Wed, 4 Nov 2015 10:19:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 199050] lang/python34: Fix build with LibreSSL without NLS Date: Wed, 04 Nov 2015 10:19:54 +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 X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: python@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: flagtypes.name keywords bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit 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, 04 Nov 2015 10:19:55 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=199050 Kubilay Kocak changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|maintainer-feedback?(python |maintainer-feedback+ |@FreeBSD.org) | Keywords| |needs-qa Status|In Progress |Open --- Comment #5 from Kubilay Kocak --- Unconditionally setting this in LIBS is too widely scoped, and likely to pollute the build by detecting, building against and link other (unwanted) libraries implicitly. This is one of the reason why its currently only scoped to the NLS option. Either the fix needs to be scoped to SSL detection only, either in ./configure or otherwise, and needs to support and be compatible with all of the following the following three cases: For all lang/python* ports (since this is presumably reproducible in all of them) - OpenSSL in base - OpenSSL from ports - LibreSSL from ports My gut feeling tells me that the best way to address this is with openssl specific include/library arguments in ./configure, which are then passed to setup.py (for extensions), OR Playing with ssl_incs and ssl_libs variables (and contents) might also be an avenue, similar to what setup.py does for readline and dbm (dbmliborder): -- You are receiving this mail because: You are the assignee for the bug.