Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Dec 2024 11:24:13 +0100
From:      Moin Rahman <bofh@freebsd.org>
To:        =?utf-8?B?Sm9zw6kgUMOpcmV6?= <fbl@aoek.com>
Cc:        ports@freebsd.org
Subject:   Re: Poudriere build of pdo_* ports fails if ZTS is enabled
Message-ID:  <32A1393C-3DF1-4880-B252-CCF26D2D66EF@freebsd.org>
In-Reply-To: <eebbe87b2a172d6df201e050a3518f51@aoek.com>
References:  <eebbe87b2a172d6df201e050a3518f51@aoek.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_248E841A-C42D-42D1-BAEA-83C410F384DE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On Dec 28, 2024, at 11:13, Jos=C3=A9 P=C3=A9rez <fbl@aoek.com> wrote:
>=20
> Hi,
> I get this failure when poudriere building pdo_*, e.g. is with =
php82-pdo_pgsql:
>=20
> =3D=3D=3D>   Returning to build of php82-pdo_pgsql-8.2.26
> =3D=3D=3D>   php82-pdo_pgsql-8.2.26 depends on file: =
/usr/local/lib/php/20220829/pdo.so - not found
> =3D=3D=3D>   Installing existing package =
/packages/All/php82-pdo-8.2.26.pkg
> [14-default-job-01] Installing php82-pdo-8.2.26...
> [14-default-job-01] Extracting php82-pdo-8.2.26: .......... done
> =3D=3D=3D=3D=3D
> Message from php82-pdo-8.2.26:
>=20
> --
> This file has been added to automatically load the installed =
extension:
> /usr/local/etc/php/ext-20-pdo.ini.sample
> =3D=3D=3D>   php82-pdo_pgsql-8.2.26 depends on file: =
/usr/local/lib/php/20220829/pdo.so - not found
> *** Error code 1
>=20
> Stop.
> make: stopped in /usr/ports/databases/php82-pdo_pgsql
> =3D>> Cleaning up wrkdir
> =3D=3D=3D>  Cleaning for php82-pdo_pgsql-8.2.26
>=20
>=20
> The problem seems to be related to the fact that the ports searches =
for the dependency in the wrong place =
(/usr/local/lib/php/20220829/pdo.so instead of =
/usr/local/lib/php/20220829-zts/pdo.so), looks like it does not see the =
enabled ZTS option in lang/php82.
>=20
>=20
> Kindly note that I do have WITH_MPM=3Devent in /etc/make.conf but this =
only works with Apache, in my case I use Nginx.
>=20
> Is there a known workaround?
>=20
> Thank you.
>=20
>=20
> --
> Jos=C3=A9 P=C3=A9rez
>=20

You need `WITH_MPM=3Devent` in `/usr/local/etc/poudriere.d/make.conf` or =
relevant `make.conf` file in poudriere.d directory. Not in =
`/etc/make.conf`.

Kind regards,
Moin

--Apple-Mail=_248E841A-C42D-42D1-BAEA-83C410F384DE
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEETfdREoUGjQZKBS+fvbm1phfAvJEFAmdv0c1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDRE
Rjc1MTEyODUwNjhEMDY0QTA1MkY5RkJEQjlCNUE2MTdDMEJDOTEACgkQvbm1phfA
vJHbTA/+NPoCnXm9t5EB3+T1Eq4HsTV4WxjjY7fGlZwC6QmSG5Cgluiw9buusCOl
+p4NjS4CtCpIno0abuBzrU/qTbTSS1q0BrG2JFQwoLgTmzdVcJJbgjCD9Dl6c6vz
rhJLA4G56HME8GA6s97AzQ8zpO1OqkjvgkVw5Rd20p+VeBhWjAesBozY3y/jGJm9
kW3tGJ9krSUy+H80TZvPCLqiPT/tZtmHNiwlmTtXEKRFCyszQIof6PzUtHq5RHEd
lW2teFSsGlWDdo+xLz+XiOnSub64yFMqeg1hGwe2Nt07oDdyeKl8VOJZxq0Rvkvt
leGYA2XBxchHvQgpahr7ZhrmsIAOPZ/OteB6Xts9jnNOKLH/Ykvesxvi9TTV+HYn
vHGiIFVBUxiPwFf8ct8YM1R1qH0162NBUtUXeUMftqD/weYVBqfbvRHAzDWBTsRB
6r/tS3MKVJCAyn6YZ4g+xiWdJv3M3XkayyRtXw2xuVDOeqRMeKZm7E+MIbqqV8E9
tOa6ecANjo7b2h3TiuCzq3CKGvCuHo85J29sIJ9M93+gZ685spXkSKyKlJK1/6jc
iZqAtpaN02BE18mj76QEb2KetiK783+WodxBorH9RJYf+g81k8sxHN5IVs1rTXE2
8MBUKZ0sTcBXTFbMZJwULh3nKad6nMbUlZB3nSVbEGqS5FWkbb4=
=MFSD
-----END PGP SIGNATURE-----

--Apple-Mail=_248E841A-C42D-42D1-BAEA-83C410F384DE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32A1393C-3DF1-4880-B252-CCF26D2D66EF>