poudriere and flavours? php73 pecl-pthreads
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@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@php73 | php73-pecl-pthreads-3.1.6 [00:07:24] [01] [00:00:01] Finished devel/pecl-pthreads@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 ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: poudriere and flavours? php73 pecl-pthreads
Hi, On Tue, Apr 30, 2019 at 10:17:07AM +0200, Philippe Maechler wrote: > 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. It seems that devel/pecl-pthreads's Makefile has not been updated in the last 6 years to account for how packages are built. I'll try to fiddle with it. -- Mathieu Arnold signature.asc Description: PGP signature
Re: poudriere and flavours? php73 pecl-pthreads
Hi again, On Tue, Apr 30, 2019 at 02:23:31PM +0200, Mathieu Arnold wrote: > Hi, > > On Tue, Apr 30, 2019 at 10:17:07AM +0200, Philippe Maechler wrote: > > 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. > > It seems that devel/pecl-pthreads's Makefile has not been updated in the > last 6 years to account for how packages are built. I'll try to fiddle > with it. So I "fixed" it, now it will let you try and build it. Not that pecl-phreads currently *only* builds for PHP 7.0. (Yes, PHP 7.0 has been removed months ago.) -- Mathieu Arnold signature.asc Description: PGP signature
RE: poudriere and flavours? php73 pecl-pthreads
Hello Mathieu >On Tue, Apr 30, 2019 at 02:23:31PM +0200, Mathieu Arnold wrote: >> It seems that devel/pecl-pthreads's Makefile has not been updated in the >> last 6 years to account for how packages are built. I'll try to fiddle >> with it. Thank you very much for your efforts! >So I "fixed" it, now it will let you try and build it. Not that >pecl-phreads currently *only* builds for PHP 7.0. (Yes, PHP 7.0 has been >removed months ago.) Ok… When building pecl-pthreads without the @php73 in poudriere, it tries to build it for php72. After that I create a make.conf for php72 with ZTS enabled and get the same error. I guess this is what you meant by “only builds for PHP 7.0” 😊 Is this a pecl-pthreads issue or something in the ports tree that’s not “fine” yet? If it is the ports tree, are you or someone else working on this? I’m not really good at ports management and compiling stuff, but if there is something I can help with, please let me now best regards Philippe ___ freebsd-ports@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"
Re: poudriere and flavours? php73 pecl-pthreads
On Tue, Apr 30, 2019 at 04:21:52PM +0200, Philippe Maechler wrote: > Hello Mathieu > > > > >On Tue, Apr 30, 2019 at 02:23:31PM +0200, Mathieu Arnold wrote: > > > > >> It seems that devel/pecl-pthreads's Makefile has not been updated in the > > >> last 6 years to account for how packages are built. I'll try to fiddle > > >> with it. > > > > Thank you very much for your efforts! > > > > >So I "fixed" it, now it will let you try and build it. Not that > > >pecl-phreads currently *only* builds for PHP 7.0. (Yes, PHP 7.0 has been > > >removed months ago.) > > > > Ok… > > > > When building pecl-pthreads without the @php73 in poudriere, it tries to > build it for php72. After that I create a make.conf for php72 with ZTS > enabled and get the same error. > > I guess this is what you meant by “only builds for PHP 7.0” 😊 > > > > Is this a pecl-pthreads issue or something in the ports tree that’s not > “fine” yet? If it is the ports tree, are you or someone else working on this? > > I’m not really good at ports management and compiling stuff, but if there is > something I can help with, please let me now I have a ports tree with PHP from 5.3 to 7.3 (for internal purposes because customers), and pecl-pthreads only builds with 7.0. So it is most probably broken for any other version, and the latest update is years old anyway. -- Mathieu Arnold signature.asc Description: PGP signature