From owner-freebsd-ports@freebsd.org Wed Dec 21 08:37:40 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9BCC7C8847B for ; Wed, 21 Dec 2016 08:37:40 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from toco-domains.de (mail.toco-domains.de [176.9.39.170]) (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 680F813D2 for ; Wed, 21 Dec 2016 08:37:39 +0000 (UTC) (envelope-from mailinglists@toco-domains.de) Received: from [0.0.0.0] (mail.toco-domains.de [IPv6:2a01:4f8:150:50a5::6]) by toco-domains.de (Postfix) with ESMTPA id 119761AAF011; Wed, 21 Dec 2016 09:37:31 +0100 (CET) Subject: Re: poudriere: problems setting options/build failure ZTS related stuff To: "O. Hartmann" , FreeBSD Ports References: <20161206090306.7cd0e47e@thor.walstatt.dynvpn.de> From: Torsten Zuehlsdorff Message-ID: <5a922721-c5c6-4cce-66da-7a0a3be6bff2@toco-domains.de> Date: Wed, 21 Dec 2016 09:37:30 +0100 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <20161206090306.7cd0e47e@thor.walstatt.dynvpn.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 08:37:40 -0000 Aloha Oliver, > first, please CC me, I'm not actively subscribing this list. > > Since a couple of weeks now I face a nasty problem with building ports using poudriere. > For our department's infrastructure and my home office's jails, I provide packages build > with poudriere. > > Having a threaded Apache, port www/apache24, this requires several ports to have option > ZTS enabled, in particular lang/php56, www/mod_php56 and subsequent ports. > > > I have already filed a PR: > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214979 > > But obviusly, there is nobody else facing this problem and this lead to the conclusion, > that no one else is using a threaded Apache 2.4 with the requirement of setting option > ZTS in related PHP stuff. The problem is always the same: The issue was fixed and Rainer, another user with the same issue, found the solution a little bit faster than myself. :) It is documented in the Portstree Framework code, that you need to add WITH_MPM=event to the make.conf file of the poudriere-jail. Than it will work. I checked this to be sure. (On a side note: with PHP 7.1 it seems to work out of the box; no idea why) I will add a hint to lang/php70 message. No user should need to dig into the framework for figuring something like this out. Greetings, Torsten