From owner-freebsd-ports@FreeBSD.ORG Tue Jan 27 07:36:57 2015 Return-Path: Delivered-To: freebsd-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 E7A349BA for ; Tue, 27 Jan 2015 07:36:57 +0000 (UTC) Received: from j006.host001.searchy.nl (j006.host001.searchy.nl [79.143.214.199]) by mx1.freebsd.org (Postfix) with ESMTP id AD207CF6 for ; Tue, 27 Jan 2015 07:36:57 +0000 (UTC) Received: from [10.134.3.102] (unknown [213.197.27.22]) (Authenticated sender: ppi@j006.host001.searchy.nl) by j006.host001.searchy.nl (Postfix) with ESMTPSA id 27FBD1E8C07 for ; Tue, 27 Jan 2015 07:36:56 +0000 (UTC) Message-ID: <54C74017.8000704@searchy.net> Date: Tue, 27 Jan 2015 08:36:55 +0100 From: Frank de Bot User-Agent: Mozilla/5.0 (X11; Linux i686; rv:33.0) Gecko/20100101 Firefox/33.0 SeaMonkey/2.30 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: sphinxsearch with mysql(mariadb) with openssl from ports building with poudriere References: <54C73AE7.7080706@searchy.net> <54C73E50.80701@FreeBSD.org> In-Reply-To: <54C73E50.80701@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 27 Jan 2015 07:36:58 -0000 Matthew Seaman wrote: > On 2015/01/27 07:14, Frank de Bot wrote: >> With poudriere I build custom packages from FreeBSD 10.1 . Since a while >> textproc/sphinxsearch fails the builds with as it seems mysql library >> related errors. Attached is the output log of the build for >> sphinxsearch, options for mariadb55-client en options for sphinxsearch. >> It looks like the openssl port isn't installed in the jail for the build >> process. >> >> how can I solve this? > > Do you have the log file from your build of sphinxsearch available? > > I'm guessing that what is happening is that your getting a conflict > between some ports that are linked against the base system's version of > openssl, and other ports that are linked against the port's version of > openssl (ie. mariadb55-client in your case.) > > One way to avoid this is to ensure that all ports are linked against the > ports version of openssl. Try adding: > > WITH_OPENSSL_PORT= yes > > to /usr/local/etc/poudriere.d/make.conf and do a poudriere bulk -c ... > to make sure everything gets rebuilt. > > Cheers, > > Matthew > I've pasted the log in pastebin http://pastebin.com/qtZnaEdL because it was stripped from my mail. I have WITH_OPENSSL_PORT=yes in my make-101.conf (101 is my jailname). At first I had a failure with another port depended on mariadb55-client, but it had it's own openssl option which I could turn on. After that it included the openssl library because the port needed openssl. In sphinxsearch there isn't, but mariadb55-client does require openssl, but it doesn't include it in it's build.