[Bug 267920] databases/php80-pdo_* do not build with ZTS enabled

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 22 Nov 2022 09:28:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267920

            Bug ID: 267920
           Summary: databases/php80-pdo_* do not build with ZTS enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: pr@aoek.com

php80-pdo consumers do not build when ZTS is enabled in php80, with an error
message like this one:
===>   php80-pdo_pgsql-8.0.25 depends on file:
/usr/local/lib/php/20200930/pdo.so - not found

Nevertheless, the file is there (in php80-pdo pkg), but in the zts directory:
/usr/local/lib/php/20200930-zts/pdo.so

In the past, setting WITH_MPM=event in make.conf, as suggested by
Mk/Uses/php.mk used to fix the problem, but now it does not anymore.

I get the same exact error regardless the presence of WITH_MPM=event in
make.conf. And yes, I re-built all the php80* ports after setting/unsetting the
variable.

With ZTS disabled, the php80-pdo consumers build fine... but then you do not
have ZTS support!

Note: same behavior for php74.

Is there a known workaround?

-- 
You are receiving this mail because:
You are the assignee for the bug.