From owner-freebsd-ports@FreeBSD.ORG Wed Apr 1 21:35:20 2015 Return-Path: Delivered-To: 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 1DC7A3E1 for ; Wed, 1 Apr 2015 21:35:20 +0000 (UTC) Received: from mail.grem.de (outcast.grem.de [213.239.217.27]) by mx1.freebsd.org (Postfix) with SMTP id 65915D95 for ; Wed, 1 Apr 2015 21:35:18 +0000 (UTC) Received: (qmail 79188 invoked by uid 89); 1 Apr 2015 21:35:10 -0000 Received: from unknown (HELO ?192.168.250.192?) (mg@grem.de@185.17.207.96) by mail.grem.de with ESMTPA; 1 Apr 2015 21:35:10 -0000 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Pourdriere produces faulty build results due to bsd.openssl.mk bug From: Michael Gmelin X-Mailer: iPhone Mail (12D508) In-Reply-To: <551C615D.8050706@FreeBSD.org> Date: Wed, 1 Apr 2015 23:35:09 +0200 Content-Transfer-Encoding: 7bit Message-Id: References: <551C5C4C.5090707@rawbw.com> <551C615D.8050706@FreeBSD.org> To: Bryan Drewery Cc: "ports@freebsd.org" , Yuri 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: Wed, 01 Apr 2015 21:35:20 -0000 > On 01 Apr 2015, at 23: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. +1 > > -- > Regards, > Bryan Drewery >