Bug 201244 - archivers/php56-phar fails to build
Summary: archivers/php56-phar fails to build
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Alex Dupre
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-01 12:00 UTC by Peter
Modified: 2015-07-06 07:55 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ale)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter 2015-07-01 12:00:11 UTC
Strange build error. zts option is off....

===>   php56-phar-5.6.10 depends on file: /usr/local/bin/phpize - found
===>   php56-phar-5.6.10 depends on file: /usr/local/lib/php/20131226-zts/hash.so - not found
===>   Installing existing package /packages/All/php56-hash-5.6.10.txz
[93x64-default-job-01] Installing php56-hash-5.6.10...
[93x64-default-job-01] Extracting php56-hash-5.6.10: .......... done
===>   php56-phar-5.6.10 depends on file: /usr/local/lib/php/20131226-zts/hash.so - not found
*** [build-depends] Error code 1

9.3-AMD64
Comment 1 Peter 2015-07-03 07:51:43 UTC
same thing, but with php56-xmlrpc, p56-xmlreader-5.6.10	and php56-soap-5.6.10.
other php56-modules builds ok.

=======================<phase: build-depends  >============================
===>   php56-xmlrpc-5.6.10 depends on file: /usr/local/include/php/main/php.h - not found
===>   Installing existing package /packages/All/php56-5.6.10.txz
[93x64-default-job-03] Installing php56-5.6.10...
[93x64-default-job-03] `-- Installing libxml2-2.9.2_3...
[93x64-default-job-03] |   `-- Installing libiconv-1.14_8...
[93x64-default-job-03] |   `-- Extracting libiconv-1.14_8: .......... done
[93x64-default-job-03] `-- Extracting libxml2-2.9.2_3: .......... done
[93x64-default-job-03] `-- Installing pcre-8.37_1...
[93x64-default-job-03] `-- Extracting pcre-8.37_1: .......... done
[93x64-default-job-03] Extracting php56-5.6.10: .......... done
===>   php56-xmlrpc-5.6.10 depends on file: /usr/local/include/php/main/php.h - found
===>   Returning to build of php56-xmlrpc-5.6.10
===>   php56-xmlrpc-5.6.10 depends on file: /usr/local/bin/phpize - found
===>   php56-xmlrpc-5.6.10 depends on file: /usr/local/lib/php/20131226-zts/xml.so - not found
===>   Installing existing package /packages/All/php56-xml-5.6.10.txz
[93x64-default-job-03] Installing php56-xml-5.6.10...
[93x64-default-job-03] Extracting php56-xml-5.6.10: ....... done
===>   php56-xmlrpc-5.6.10 depends on file: /usr/local/lib/php/20131226-zts/xml.so - not found
*** [build-depends] Error code 1
Comment 2 Peter 2015-07-03 08:00:46 UTC
php56 modules:

--PLIST_SUB--
PHP_EXT_DIR=20131226-zts
OSREL=9.3
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS="@comment
"
lang/php56: libs resides in /usr/local/lib/php/20131226/
Comment 3 Peter 2015-07-06 07:55:26 UTC
For some reason the options WITH_MPM=worker was defined in make.conf. Removed it and build ok now.

bsd.php.mk
...
.elif defined(APACHE_PORT) && (${APACHE_PORT:M*worker*} != "" || ${APACHE_PORT:M*event*} != "")
PHP_EXT_DIR:=	${PHP_EXT_DIR}-zts
.elif defined(WITH_MPM) && (${WITH_MPM} == "worker" || ${WITH_MPM} == "event")
PHP_EXT_DIR:=	${PHP_EXT_DIR}-zts
....