From owner-freebsd-python@freebsd.org Tue Jul 5 09:33:33 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 B6CE1B20CC1 for ; Tue, 5 Jul 2016 09:33:33 +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 9FF171D4B for ; Tue, 5 Jul 2016 09:33:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9BA21B20CC0; Tue, 5 Jul 2016 09:33:33 +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 9B44CB20CBF for ; Tue, 5 Jul 2016 09:33:33 +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 8A4171D49 for ; Tue, 5 Jul 2016 09:33:33 +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 u659XX1j016614 for ; Tue, 5 Jul 2016 09:33:33 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 205960] lang/python35: (and lang/python34) building with LibreSSL fails: lib-dynload/_ssl.so: No such file or directory Date: Tue, 05 Jul 2016 09:33:33 +0000 X-Bugzilla-Reason: CC 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 Some People X-Bugzilla-Who: koobs@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: brnrd@freebsd.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: 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, 05 Jul 2016 09:33:33 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205960 --- Comment #15 from Kubilay Kocak --- -1 on change in attachment 165181 Any solution should avoid the further use of global {C,CPP,LD}FLAGS modifications as it's a solution too widely scoped for the problem and has caused issues in the past, such as identifying other libraries (we don't wa= nt found) in LOCALBASE, or include order issues causing failures in other modu= les (see the comment in the python3* port makefile) The reason why this fails when NLS is disabled is the following line in the Makefile: NLS_CPPFLAGS=3D -I${LOCALBASE}/include When NLS is enabled (the default), I believe the ssl libraries from LOCALBA= SE are found and used. This doesn't however mean that the solution is to modify global CFLAGS. Long term, this use of CPPFLAGS for gettext needs to go as well, and having another part of the port use it (or CFLAGS) makes that more difficult For further information, see: https://svnweb.freebsd.org/ports?view=3Drevision&revision=3D326729 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D181721 I haven't reviewed or tested attachment 172123 provided by Walter --=20 You are receiving this mail because: You are on the CC list for the bug.=