From owner-freebsd-ports@FreeBSD.ORG Thu Apr 2 14:08:02 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87407E01 for ; Thu, 2 Apr 2015 14:08:02 +0000 (UTC) Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) (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 54C6A9D1 for ; Thu, 2 Apr 2015 14:08:02 +0000 (UTC) Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id C7546706 for ; Thu, 2 Apr 2015 10:07:57 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute3.internal (MEProxy); Thu, 02 Apr 2015 10:08:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=NgmRXkQ8UdB+UL8 u5BrWsA5EnBc=; b=WeuhATM/ZaTZ86b54+EVKKx+UAGWtNBMv4L4JUwFL9P4X8+ LTegmpiNQaZGNFPTX02zqDt3S4vEz2uL0R7rc5MB07KL8bLGoyP2CkYRqh1LIneR bHDp4uCrQwzWtivvNrkc/afThIUheEYZXLkjiwSII8sAScqGmFeqf5Z06mtg= Received: by web3.nyi.internal (Postfix, from userid 99) id C6E6A115CC7; Thu, 2 Apr 2015 10:08:00 -0400 (EDT) Message-Id: <1427983680.2035836.248559593.5ED876C6@webmail.messagingengine.com> X-Sasl-Enc: v2yLUqjIhAJamf8TtwRZlWWxlE2gq0Ne7RGHiRmazKtw 1427983680 From: Mark Felder To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-0b3c2300 Subject: Re: Pourdriere produces faulty build results due to bsd.openssl.mk bug Date: Thu, 02 Apr 2015 09:08:00 -0500 In-Reply-To: <551C615D.8050706@FreeBSD.org> References: <551C5C4C.5090707@rawbw.com> <551C615D.8050706@FreeBSD.org> X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Apr 2015 14:08:02 -0000 On Wed, Apr 1, 2015, at 16:21, Bryan Drewery wrote: > On 4/1/2015 3:59 PM, Yuri wrote: > > I found that packages produced by poudriere likely link with base > > openssl, while port make likely links with the port openssl. > > This is because of the lines in bsd.openssl.mk which check for the > > presence of openssl shared library and headers under PREFIX, and set > > WITH_OPENSSL_BASE when they aren't present. In case of port make files > > are likely present, and in case of poudriere build files are likely not > > present. > > > > Example is ftp/curl (with GSSAPI=NONE, OPENSSL=yes options). *Poudriere > > produces curl library, that causes VirtualBox to break* due to the > > openssl base vs. port conflicts. See recent emulation@ ML threads. Port > > make produces curl library that works fine with VirtualBox. > > > > I think both WITH_OPENSSL_BASE and WITH_OPENSSL_PORT should be retired, > > and code checking file presence also should be removed, and all ports > > should be made to build with an openssl port instead. Ports should never > > use base OpenSSL. > > > > Only <100 ports touch WITH_OPENSSL_... variables. Somebody who is able > > to make such decisions and has the commit bit should bit should look > > into this. Otherwise, massively faulty package repositories are produces. > > > > Yuri > > I've wanted this for a long time. I think we should just do it. > What are the risks of something linking to OpenSSL in ports also requiring something from base which in turn... links in OpenSSL from base?