poudriere and flavours? php73 pecl-pthreads
Philippe Maechler
pmaechler-ml at glattnet.ch
Tue Apr 30 08:17:13 UTC 2019
Hello freebsd-ports, it's me again
Once more I have troubles building ports on FreeBSD 11.2 and 12.0. The last
time I could build those "problemativ" ports in my poudriere installation
and used the package from there.
But this time, even poudriere won't build the port.
Background
My package-list ist pretty simple, just php73 and pecl-pthreads
# tail /usr/local/etc/poudriere.d/packages-default
# testing
lang/php73
devel/pecl-pthreads at php73
After poudriere options I see, that the ZTS option is enabled:
# less
/usr/local/etc/poudriere.d/12_0_amd64-default-options/lang_php73/options
# This file is auto-generated by 'make config'.
# Options for php73-7.3.4_2
_OPTIONS_READ=php73-7.3.4_2
_FILE_COMPLETE_OPTIONS_LIST=CLI CGI FPM EMBED PHPDBG DEBUG DTRACE IPV6
MYSQLND LINKTHR ZTS
OPTIONS_FILE_SET+=CLI
OPTIONS_FILE_SET+=CGI
OPTIONS_FILE_SET+=FPM
OPTIONS_FILE_SET+=EMBED
OPTIONS_FILE_UNSET+=PHPDBG
OPTIONS_FILE_UNSET+=DEBUG
OPTIONS_FILE_SET+=DTRACE
OPTIONS_FILE_SET+=IPV6
OPTIONS_FILE_SET+=MYSQLND
OPTIONS_FILE_SET+=LINKTHR
OPTIONS_FILE_SET+=ZTS
But the build gets ignored, becaust the option ZTS is disabled. ??
[00:00:21] Building 3 packages using 1 builders
[00:00:21] Starting/Cloning builders
[00:00:22] Hit CTRL+t at any time to see build progress and stats
[00:00:22] [01] [00:00:00] Building devel/pcre2 | pcre2-10.32_1
[00:03:10] [01] [00:02:48] Finished devel/pcre2 | pcre2-10.32_1: Success
[00:03:10] [01] [00:00:00] Building lang/php73 | php73-7.3.4_2
[00:07:23] [01] [00:04:13] Finished lang/php73 | php73-7.3.4_2: Success
[00:07:23] [01] [00:00:00] Building devel/pecl-pthreads at php73 |
php73-pecl-pthreads-3.1.6
[00:07:24] [01] [00:00:01] Finished devel/pecl-pthreads at php73 |
php73-pecl-pthreads-3.1.6: Ignored: pthreads requires ZTS, please re-compile
PHP with ZTS enabled
[00:07:24] Stopping 1 builders
In the build-log of php73 I also see, that the ZTS option is set
---Begin OPTIONS List---
===> The following configuration options are available for php73-7.3.4_2:
CLI=on: Build CLI version
CGI=on: Build CGI version
FPM=on: Build FPM version
EMBED=on: Build embedded library
PHPDBG=off: Interactive PHP debugger
DEBUG=off: Build with debugging support
DTRACE=on: Build with DTrace probes
IPV6=on: IPv6 protocol support
MYSQLND=on: Build with MySQL Native Driver
LINKTHR=on: Link thread lib (for threaded extensions)
ZTS=on: Force Zend Thread Safety (ZTS) build
===> Use 'make config' to modify these settings
---End OPTIONS List---
And even in the build log, the -DZTS is set
===> Building for php73-7.3.4_2
CFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing
-fvisibility=hidden -DZTS -DZEND_SIGNALS " dtrace -xnolibs -h -C -s
/wrkdirs/usr/ports/lang/php73/work/php-7.3.4/Zend/zend_dtrace.d -o
Zend/zend_dtrace_gen.h.bak && sed -e 's,PHP_,DTRACE_,g'
Zend/zend_dtrace_gen.h.bak > Zend/zend_dtrace_gen.h
Any ideas how to work around this?
best regards
Philippe
More information about the freebsd-ports
mailing list