Bug 242289

Summary: databases/php71-pdo_sqlite databases/php72-pdo_sqlite databases/php73-pdo_sqlite databases/php74-pdo_sqlite: Build fails if ZTS option of lang/php7[1-4] is enabled
Product: Ports & Packages Reporter: Yasuhiro KIMURA <yasu>
Component: Individual Port(s)Assignee: Torsten Zuehlsdorff <tz>
Status: In Progress ---    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (tz)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Yasuhiro KIMURA 2019-11-29 01:05:00 UTC
Build of databases/php7[1-4]-pdo_sqlite fails if ZTS option of lang/php7[1-4] is enabled.

Host: 12.1-RELEASE-p1 amd64
Poudriere: 3.3.2_1
Jail: 12.1-RELEASE-p1 amd64
Port Tree: head of port r518580
Options Setting:
yasu@rolling-vm-freebsd2[2005]% cat /usr/local/etc/poudriere.d/zts-make.conf
.if ${.CURDIR:M*/lang/php71}
OPTIONS_FILE_SET+=ZTS
.endif
.if ${.CURDIR:M*/lang/php72}
OPTIONS_FILE_SET+=ZTS
.endif
.if ${.CURDIR:M*/lang/php73}
OPTIONS_FILE_SET+=ZTS
.endif
.if ${.CURDIR:M*/lang/php74}
OPTIONS_FILE_SET+=ZTS
.endif
yasu@rolling-vm-freebsd2[2006]%
Build Logs:
https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/121amd64-local-zts/2019-11-29_09h51m37s/logs/php71-pdo_sqlite-7.1.33.log
https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/121amd64-local-zts/2019-11-29_09h52m58s/logs/php72-pdo_sqlite-7.2.25.log
https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/121amd64-local-zts/2019-11-29_09h53m29s/logs/php73-pdo_sqlite-7.3.12.log
https://www.utahime.org/FreeBSD/poudriere/data/logs/bulk/121amd64-local-zts/2019-11-29_09h53m58s/logs/php74-pdo_sqlite-7.4.0.log
Comment 1 Torsten Zuehlsdorff freebsd_committer 2019-12-22 21:35:50 UTC
Hello,

yes, i can reproduce this issue. When building PHP with ZTS enabled, the modules are build into another dir than the installer try to take them from.

This seems to be more of an infrastructure problem and my first attempts of solving it failed. 

I will think about another solution and how to handle ZTS. The current solution is older than my maintainership and i do not understand it fully.

Greetings,
Torsten