From owner-freebsd-ports@freebsd.org Tue Jul 25 11:40:47 2017 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 6C911C791BE for ; Tue, 25 Jul 2017 11:40:47 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [94.124.105.4]) (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 337AA72F09 for ; Tue, 25 Jul 2017 11:40:46 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (localhost [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id 2878D28430; Tue, 25 Jul 2017 13:40:43 +0200 (CEST) Received: from illbsd.quip.test (ip-86-49-16-209.net.upcbroadband.cz [86.49.16.209]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 26DE328437; Tue, 25 Jul 2017 13:40:42 +0200 (CEST) Subject: Re: Poudriere fails to build php70 To: Johan Hendriks Cc: freebsd-ports@freebsd.org References: <233ff83a-9e28-4944-ec0a-b789c981a8c9@gmail.com> <597714B2.6020300@quip.cz> From: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <59772E3A.1030809@quip.cz> Date: Tue, 25 Jul 2017 13:40:42 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:42.0) Gecko/20100101 Firefox/42.0 SeaMonkey/2.39 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; 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: Tue, 25 Jul 2017 11:40:47 -0000 Johan Hendriks wrote on 2017/07/25 12:39: > > > Op 25/07/2017 om 11:51 schreef Miroslav Lachman: >> Johan Hendriks wrote on 2017/07/25 11:13: >>> Hello all. >>> >>> I have installed new build jails for FreeBSD 11.1. >>> But it fails with the following error. Is there anything I can do. >>> >>> >>> The first one will only work if you have a /usr/local/bin/perl, >>> the second will work as long as perl is in PATH. >>> ===> php70-xmlreader-7.0.21 depends on file: >>> /usr/local/bin/autoconf-2.69 - found >>> ===> Returning to build of php70-xmlreader-7.0.21 >>> ===> php70-xmlreader-7.0.21 depends on file: >>> /usr/local/lib/php/20151012-zts/dom.so - not found >>> ===> Installing existing package /packages/All/php70-dom-7.0.21.txz >>> [11_1_amd64_php71-HEAD-job-01] Installing php70-dom-7.0.21... >>> [11_1_amd64_php71-HEAD-job-01] Extracting php70-dom-7.0.21: >>> .......... done >>> Message from php70-dom-7.0.21: >>> **************************************************************************** >>> >>> >>> The following line has been added to your >>> /usr/local/etc/php/ext-20-dom.ini >>> configuration file to automatically load the installed extension: >>> >>> extension=dom.so >>> >>> **************************************************************************** >>> >>> ===> php70-xmlreader-7.0.21 depends on file: >>> /usr/local/lib/php/20151012-zts/dom.so - not found >>> *** Error code 1 >>> >>> Stop. >>> make: stopped in /usr/ports/textproc/php70-xmlreader >>> ====>> Cleaning up wrkdir >>> ===> Cleaning for php70-xmlreader-7.0.21 >>> build of textproc/php70-xmlreader ended at Tue Jul 25 08:03:15 CEST 2017 >>> build time: 00:00:07 >>> !!! build failure encountered !!! >> >> Do you have ZTS defined in your poudriere's make.conf? ZTS settings >> must be the same for all PHP extensions. >> >> Miroslav Lachman > Thank you for your time. > > My jails make.conf is as follows. > > > BATCH_DELETE_OLD_FILES= yes > WANT_OPENLDAP_SASL=yes > DEFAULT_VERSIONS+= pgsql=9.6 php=7.0 mysql=10.2m ssl=openssl > apache=2.4 python=3.6 > > WITH_OPENSSL_PORT=yes > OPTIONS_SET+=GSSAPI_NONE KRB_NONE OPTIMIZED_CFLAGS CPUFLAGS SASL > OPTIONS_UNSET+=GSSAPI_BASE KRB_BASE KERBEROS DOCS DEBUG NLS X11 EXAMPLES > > BUILD_OPTIMIZED = YES > BUILD_STATIC = YES > > DISABLE_VULNERABILITIES=yes > > WITH_MPM=event > > I have no ZTS defined. But I think you have it for some package, because yours PHP is installed in to /usr/local/lib/php/20151012-zts/ and I think it is normally in /usr/local/lib/php/20151012/ Check your saved options in poudriere.d. Namely www_mod_php71/options lang_php71/options Default is Off: ZTS=off: Force Zend Thread Safety (ZTS) build FYI I am using PHP 5.6 on old machines and 7.1 on newer so I can't tell if something is really wrong with PHP 7.0 port. Miroslav Lachman