Date: Tue, 25 Jul 2017 13:40:42 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Johan Hendriks <joh.hendriks@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: Poudriere fails to build php70 Message-ID: <59772E3A.1030809@quip.cz> In-Reply-To: <fb1f75c9-51aa-6d5b-bf54-f22a579dd38c@gmail.com> References: <233ff83a-9e28-4944-ec0a-b789c981a8c9@gmail.com> <597714B2.6020300@quip.cz> <fb1f75c9-51aa-6d5b-bf54-f22a579dd38c@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59772E3A.1030809>