Bug 242289 - databases/php73-pdo_sqlite databases/php74-pdo_sqlite: Build fails if ZTS option of lang/php7[1-4] is enabled
Summary: databases/php73-pdo_sqlite databases/php74-pdo_sqlite: Build fails if ZTS opt...
Status: Closed Feedback Timeout
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Torsten Zuehlsdorff
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-29 01:05 UTC by Yasuhiro Kimura
Modified: 2022-02-16 21:17 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (tz)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yasuhiro Kimura freebsd_committer freebsd_triage 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 freebsd_triage 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
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-01-31 23:01:51 UTC
(In reply to Yasuhiro Kimura from comment #0)
Can you check what happens if you add the following to make.conf:
WITH_MPM=event
Comment 3 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-02-16 21:17:08 UTC
Will reopen once we have more info from the reporter.