When I enable ZTS in www/mod_php56 and lang/php56, net/php56-xmlrpc and other numerous php modules fail to build. I fail to see the connection between enabling ZTS (threads) and the build problems, it is an enigma for me, but disabling ZTS in php fixes the problems.
Created attachment 192798 [details] Complete build log
Created attachment 192799 [details] Another build log
Created attachment 192800 [details] Build log of php56-xml (dependency)
Bingo! [root@svn ~] tar tf /poudriere/data/packages/104amd64-default-test2/All/php56-xml-5.6.34_2.txz +COMPACT_MANIFEST +MANIFEST /usr/local/lib/php/20131226-zts/xml.so /usr/local/include/php/ext/xml/php_xml.h /usr/local/include/php/ext/xml/config.h /usr/local/include/php/ext/xml/expat_compat.h /usr/local/etc/php/ext-20-xml.ini [root@svn ~] "/usr/local/lib/php/20131226-zts/" is not where the dependent ports expect to find the lib, because of the "-zts" suffix! Can this be fixed?
(In reply to vas from comment #4) > /usr/local/lib/php/20131226-zts/xml.so Other not found modules: /usr/local/lib/php/20131226/dom.so /usr/local/lib/php/20131226/gd.so /usr/local/lib/php/20131226/hash.so /usr/local/lib/php/20131226/pdo.so /usr/local/lib/php/20131226/xml.so
If you change the ZTS setting you have to rebuild all php modules, that's expected.
(In reply to Alex Dupre from comment #6) I did rebuild everything from scratch (poudriere bulk -c), the build still fails.
No, it does not work at all. I did rebuild everything from scratch ("poudriere bulk -c"), the build still fails.
Current workaround: # If you are building PHP-based ports in poudriere(8) with ZTS enabled, # add WITH_MPM=event to /etc/make.conf to prevent build failures. *** This bug has been marked as a duplicate of bug 201193 ***
(In reply to Alex Dupre from comment #9) > add WITH_MPM=event to /etc/make.conf to prevent build failures. Thanks, it helped. Actually WITH_MPM=worker also helps.