You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a number of failed PHP module or application builds since updating to poudriere-devel-3.1.99.20150608.
I have set ZTS in the options for lang/php55:
lucid-nonsense:...local/etc/poudriere.d:# cat options/lang_php55/options
# This file is auto-generated by 'make config'.
# Options for php55-5.5.26
_OPTIONS_READ=php55-5.5.26
_FILE_COMPLETE_OPTIONS_LIST=CLI CGI FPM EMBED DEBUG DTRACE IPV6 MAILHEAD LINKTHR ZTS
OPTIONS_FILE_SET+=CLI
OPTIONS_FILE_SET+=CGI
OPTIONS_FILE_SET+=FPM
OPTIONS_FILE_UNSET+=EMBED
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_UNSET+=DTRACE
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_UNSET+=MAILHEAD
OPTIONS_FILE_SET+=LINKTHR
OPTIONS_FILE_SET+=ZTS <<<----****
So, for example, extracted from the log of building php55-xmlrpc:
Sequence of events is:
poudriere sets up the make environment:
--PLIST_SUB--
PHP_EXT_DIR=20121212 <<<----*** Should be 20121212-zts in my environment
OSREL=10.2
PREFIX=%D
LOCALBASE=/usr/local
RESETPREFIX=/usr/local
PORTDOCS=""
===> Returning to build of php55-xmlrpc-5.5.26
===> php55-xmlrpc-5.5.26 depends on file: /usr/local/bin/phpize - found
===> php55-xmlrpc-5.5.26 depends on file: /usr/local/lib/php/20121212/xml.so - not found
===> Installing existing package /packages/All/php55-xml-5.5.26.txz
[pkgrepo.infracaninophile.co.uk] Installing php55-xml-5.5.26...
[pkgrepo.infracaninophile.co.uk] Extracting php55-xml-5.5.26: ....... done
===> php55-xmlrpc-5.5.26 depends on file: /usr/local/lib/php/20121212/xml.so - not found
*** Error code 1
Kaboom!
which is because php55-xml installs into /usr/local/lib/php/20121212-zts/xml.so
PHP_EXT_DIR should be initialized by this chunk of code in bsd.php.mk:
Which depends on the presence of ${LOCALBASE}/etc/php.conf and ${LOCALBASE}/bin/php-config both of which are installed by the lang/php55 port, which obviously isn't present at the start of a poudriere build. The make environment needs reinitializing after lang/php55 is installed.
I'd call this a bug in the ports except that it used to work
The text was updated successfully, but these errors were encountered:
I'm getting a number of failed PHP module or application builds since updating to poudriere-devel-3.1.99.20150608.
I have set ZTS in the options for lang/php55:
So, for example, extracted from the log of building php55-xmlrpc:
Sequence of events is:
Kaboom!
which is because php55-xml installs into
/usr/local/lib/php/20121212-zts/xml.so
PHP_EXT_DIR
should be initialized by this chunk of code in bsd.php.mk:Which depends on the presence of
${LOCALBASE}/etc/php.conf
and${LOCALBASE}/bin/php-config
both of which are installed by the lang/php55 port, which obviously isn't present at the start of a poudriere build. The make environment needs reinitializing after lang/php55 is installed.I'd call this a bug in the ports except that it used to work
The text was updated successfully, but these errors were encountered: