Poudriere fails to build php70

Johan Hendriks joh.hendriks at gmail.com
Tue Jul 25 10:39:11 UTC 2017



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.

regards,
Johan


More information about the freebsd-ports mailing list