From owner-freebsd-ports@FreeBSD.ORG Wed Apr 1 20:59:59 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 388EC2EA; Wed, 1 Apr 2015 20:59:59 +0000 (UTC) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 231E3964; Wed, 1 Apr 2015 20:59:58 +0000 (UTC) Received: from yuri.doctorlan.com (c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128]) (authenticated bits=0) by shell1.rawbw.com (8.14.9/8.14.9) with ESMTP id t31KxvJq074932 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Wed, 1 Apr 2015 13:59:58 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128] claimed to be yuri.doctorlan.com Message-ID: <551C5C4C.5090707@rawbw.com> Date: Wed, 01 Apr 2015 13:59:56 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: "ports@freebsd.org" Subject: Pourdriere produces faulty build results due to bsd.openssl.mk bug Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Bryan Drewery 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 20:59:59 -0000 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