From owner-freebsd-ports@FreeBSD.ORG Wed Apr 1 21:32:51 2015 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AA361E4; Wed, 1 Apr 2015 21:32:51 +0000 (UTC) Received: from mail.madpilot.net (grunt.madpilot.net [78.47.145.38]) (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 B4C55D6E; Wed, 1 Apr 2015 21:32:49 +0000 (UTC) Received: from mail (mail [192.168.254.3]) by mail.madpilot.net (Postfix) with ESMTP id 3lHLN60cSjzZrR; Wed, 1 Apr 2015 23:32:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=madpilot.net; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=mail; t=1427923956; x=1429738357; bh=c96pgyQ4zk+AxTuJap0k4Mwg1odioP4BzakkokMkOfY=; b= cc2TM5ek7QXrZRUgFmGRE6cMrmArT1CEPAHFQr9LwNxrNVgdozRAzdQ2oMns4+AT D8yXPLT6TlxbCki/pVzBI6+kipUCMvoUdr7urbqdLgjAfHKcuNRlkNyzBaFI+6UL N1mbpGO/8fgpKKR+PG7RbSKai9S5XlKHISKPl9BMVWc= Received: from mail.madpilot.net ([192.168.254.3]) by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10024) with ESMTP id YCg-MoA6Q_14; Wed, 1 Apr 2015 23:32:36 +0200 (CEST) Received: from tommy.madpilot.net (micro.madpilot.net [88.149.173.206]) by mail.madpilot.net (Postfix) with ESMTPSA; Wed, 1 Apr 2015 23:32:36 +0200 (CEST) Message-ID: <551C63F4.8050707@madpilot.net> Date: Wed, 01 Apr 2015 23:32:36 +0200 From: Guido Falsi User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Bryan Drewery , Yuri , "ports@freebsd.org" Subject: Re: Pourdriere produces faulty build results due to bsd.openssl.mk bug References: <551C5C4C.5090707@rawbw.com> <551C615D.8050706@FreeBSD.org> In-Reply-To: <551C615D.8050706@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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:32:51 -0000 On 04/01/15 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. > As I said in another email, I agree on the idea. On the other hand some testing plan should be laid out before unleashing this change in the tree... -- Guido Falsi