[Bug 218304] lang/php71 and ZTS option again - wrong installation directory

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 2 09:00:16 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218304

            Bug ID: 218304
           Summary: lang/php71 and ZTS option again - wrong installation
                    directory
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: tz at freebsd.org
          Reporter: rainer at ultra-secure.de
          Assignee: tz at freebsd.org
             Flags: maintainer-feedback?(tz at freebsd.org)

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 at 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 at 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 at 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 at bsd1-build-prod:~ # cat
/usr/local/etc/poudriere.d/11_0-amd64-php71-mariadb101-options/lang_php71
lang_php71-extensions/ lang_php71/            
root at 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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list