When compiling php71 with the ZTS option (and apparently Apache 2.4 with EVENT_MPM default), the php71-xml extension gets built in a way that it installs its library into the wrong directory. Other ports that depend on it then fail to build: ===> Installing existing package /packages/All/php71-xml-7.1.3.txz [11_0-amd64-2017Q2-php71-mariadb101-job-07] Installing php71-xml-7.1.3... [11_0-amd64-2017Q2-php71-mariadb101-job-07] Extracting php71-xml-7.1.3: ........ done Message from php71-xml-7.1.3: **************************************************************************** The following line has been added to your /usr/local/etc/php/ext-20-xml.ini configuration file to automatically load the installed extension: extension=xml.so **************************************************************************** ===> php71-xmlrpc-7.1.3 depends on file: /usr/local/lib/php/20160303-zts/xml.so - not found *** Error code 1 root@bsd1-build-prod:~ # tar -Jtvf /usr/local/poudriere/data/packages/11_0-amd64-2017Q2-php71-mariadb101/.building/All/php71-xml-7.1.3.txz -rw-r--r-- 0 root wheel 1345 Jan 1 1970 +COMPACT_MANIFEST -rw-r--r-- 0 root wheel 2668 Jan 1 1970 +MANIFEST -rw-r--r-- 0 root wheel 184 Apr 2 02:06 /usr/local/share/licenses/php71-xml-7.1.3/catalog.mk -rw-r--r-- 0 root wheel 70 Apr 2 02:06 /usr/local/share/licenses/php71-xml-7.1.3/LICENSE -rw-r--r-- 0 root wheel 3218 Apr 2 02:06 /usr/local/share/licenses/php71-xml-7.1.3/PHP301 -rw-r--r-- 0 root wheel 52560 Apr 2 02:06 /usr/local/lib/php/20160303/xml.so -rw-r--r-- 0 root wheel 4640 Apr 2 02:06 /usr/local/include/php/ext/xml/php_xml.h -rw-r--r-- 0 root wheel 313 Apr 2 02:06 /usr/local/include/php/ext/xml/config.h -rw-r--r-- 0 root wheel 6493 Apr 2 02:06 /usr/local/include/php/ext/xml/expat_compat.h -rw-r--r-- 0 root wheel 17 Apr 2 02:06 /usr/local/etc/php/ext-20-xml.ini root@bsd1-build-prod:~ # cat /usr/local/etc/poudriere.d/ 10_3-amd64-2016Q4-php56-mariadb101-make.conf 10_3-amd64-2017Q1-php56-mariadb101-options/ 11_0-amd64-2016Q4-php70-mariadb101-make.conf 11_0-amd64-2017Q1-php70-mariadb101-make.conf 11_0-amd64-2017Q2-php71-mariadb101-options/ hooks/ 10_3-amd64-2016Q4-php56-mariadb101-options/ 10_3-amd64-2017Q1-php56-mariadb101-pkglist 11_0-amd64-2016Q4-php70-mariadb101-options/ 11_0-amd64-2017Q1-php70-mariadb101-options/ 11_0-amd64-2017Q2-php71-mariadb101-pkglist jails/ 10_3-amd64-2016Q4-php56-mariadb101-pkglist 10_3-amd64-php56-mariadb101-options/ 11_0-amd64-2016Q4-php70-mariadb101-pkglist 11_0-amd64-2017Q1-php70-mariadb101-pkglist 11_0-amd64-php70-mariadb101-options/ ports/ 10_3-amd64-2017Q1-php56-mariadb101-make.conf 10amd64-make.conf 11_0-amd64-2016Q4-pkglist 11_0-amd64-2017Q2-php71-mariadb101-make.conf 11_0-amd64-php71-mariadb101-options/ root@bsd1-build-prod:~ # cat /usr/local/etc/poudriere.d/11_0-amd64-php7 11_0-amd64-php70-mariadb101-options/ 11_0-amd64-php71-mariadb101-options/ root@bsd1-build-prod:~ # cat /usr/local/etc/poudriere.d/11_0-amd64-php71-mariadb101-options/lang_php71 lang_php71-extensions/ lang_php71/ root@bsd1-build-prod:~ # cat /usr/local/etc/poudriere.d/11_0-amd64-php71-mariadb101-options/lang_php71/options # This file is auto-generated by 'make config'. # Options for php71-7.1.3 _OPTIONS_READ=php71-7.1.3 _FILE_COMPLETE_OPTIONS_LIST=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6 LINKTHR ZTS OPTIONS_FILE_SET+=CLI OPTIONS_FILE_SET+=CGI OPTIONS_FILE_SET+=FPM OPTIONS_FILE_UNSET+=EMBED OPTIONS_FILE_UNSET+=PHPDBG OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_SET+=DTRACE OPTIONS_FILE_SET+=IPV6 OPTIONS_FILE_SET+=LINKTHR OPTIONS_FILE_SET+=ZTS This has happened a few times before... I'm using 2017Q2 on 11.0 AMD64
Created attachment 181406 [details] poudriere build log file of php 7.1
Created attachment 181407 [details] php-xml 7.1 build log file
Created attachment 181408 [details] php-xml-rpm 7.1 build log file
Unfortunately not fixed by recent update to 7.1.4
Marking this as a duplicate of Bug 201193 - Mk/bsd.php.mk setting incorrect PHP_EXT_DIR *** This bug has been marked as a duplicate of bug 201193 ***