References: <20210318181258.89704-1-juliusz@...2525...> <206262d3-1ced-99f7-b28d-fce0b7982e65@...2080...> <1a7e4f9f-6164-7acf-2b9f-7e1da5f65894@...2525...> From: David Sommerseth Message-ID: <80ebff83-8b76-7cf9-f354-85c96d1feb20@...2080...> Date: Fri, 19 Mar 2021 00:16:28 +0100 MIME-Version: 1.0 In-Reply-To: <1a7e4f9f-6164-7acf-2b9f-7e1da5f65894@...2525...> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yxwD0IVDPFo8O9o3qn0p0tRR2saicYnLq" Subject: Re: [Openvpn-devel] [PATCH] Add PKG_CHECK_VAR compatibility definition for old autoconf versions List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juliusz Sosinowicz , openvpn-devel@lists.sourceforge.net This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --yxwD0IVDPFo8O9o3qn0p0tRR2saicYnLq Content-Type: multipart/mixed; boundary="HTCtkPirY4nRfwzoA4YbeDbrIzLddmVqB"; protected-headers="v1" From: David Sommerseth To: Juliusz Sosinowicz , openvpn-devel@lists.sourceforge.net Message-ID: <80ebff83-8b76-7cf9-f354-85c96d1feb20@...2080...> Subject: Re: [Openvpn-devel] [PATCH] Add PKG_CHECK_VAR compatibility definition for old autoconf versions References: <20210318181258.89704-1-juliusz@...2525...> <206262d3-1ced-99f7-b28d-fce0b7982e65@...2080...> <1a7e4f9f-6164-7acf-2b9f-7e1da5f65894@...2525...> In-Reply-To: <1a7e4f9f-6164-7acf-2b9f-7e1da5f65894@...2525...> --HTCtkPirY4nRfwzoA4YbeDbrIzLddmVqB Content-Language: en-GB Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: quoted-printable On 19/03/2021 00:00, Juliusz Sosinowicz wrote: > For reference, the version of pkg-config shipped on my Ubuntu 14 vm is=20 > 0.26-1ubuntu4. It looks like the default packages are very outdated. Thanks for checking. You might want to reconsider if you want to=20 support Ubuntu 14 these days; Ubuntu 16.04 LTS is the oldest one=20 supported by Canonical, and after end of April this year only 16.04.4 is=20 supported. --=20 kind regards, David Sommerseth OpenVPN Inc > On 18/03/2021 21:52, David Sommerseth wrote: >> On 18/03/2021 19:12, Juliusz Sosinowicz wrote: >>> PKG_CHECK_VAR is not available on older versions of autoconf. This >>> patch copies the definition generated by newer versions of autoconf to >>> be used for compatibility with older versions. Tested with automake >>> 1.14.1-2ubuntu1 and autoconf 2.69-6. >>> >>> Signed-off-by: Juliusz Sosinowicz >> >> I ended up doing some more investigation here, to better understand=20 >> where this could fail. >> >> So it seems this is not related to automake/autoconf versions.=C2=A0 It = is=20 >> related to pkg-config version, which is the one providing=20 >> /usr/share/aclocal/pkg.m4 which provides the PKG_CHECK_VAR() macro. >> >> =20 >> >> >> What surprises me is that this was added to pkg-config 0.28, which was=20 >> released in 2013-01-24.=C2=A0 The latest release, 0.29.2 was released=20 >> 2017-03-20. >> >> =20 >> >> >> >> It would be great to figure out if pkg-config is available on those=20 >> build hosts failing without this change.=C2=A0 If it is present, it need= s=20 >> to be checked which version it is. >> >> If this is due to an outdated pkg-config, I'm reluctant to give this=20 >> patch an ACK.=C2=A0 Using properly up-to-date dependency stack should be= a=20 >> reasonable precondition to build OpenVPN.=C2=A0 If it is due to unavaila= ble=20 >> pkg-config, it's a different story. >> >> Regardless, the commit message is incorrect.=C2=A0 But that can probably= be=20 >> fixed at commit time. >> >> --HTCtkPirY4nRfwzoA4YbeDbrIzLddmVqB-- --yxwD0IVDPFo8O9o3qn0p0tRR2saicYnLq Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgDq5E1p1aZrNLFFkhs+UTJZx/fIFAmBT30wACgkQhs+UTJZx /fJu8w/8DrNFW5Nal5ZCP+821YWXw9vnwzC2+xwnRW+oEy4CtTqkpdTlmXlxwxB7 rFrkMgxNb1l2Ip0uYs9p6DpxuxCz8xw/FW2zJZ6+at4PCxEvn4p725kjqEA93bFe L6LKK1DVeMJkG/apg7y1CYWEuAF+Y4Oj0t75rC49gA+1oxyrd5l9ZFTbanvY0CEo 3R7H1Ohh4kPcy6aTiFMzJ6GYPxLGce3qtuJ5ghdsMuOr2UBhN4VcTQLeP0/XutwC x3MLCq1byLrVfGEkhaQQEIULrZMqZx4dS2XUMjHce84Eiv1FVlk1wrDhoWQyWgv/ tvZMLuo8mFaFlGw4Vd8V1AspxJQrPU5K2tWJq5BDPFdE1+/F7mdDpLbz5qwqh4Tk L/eSN/BhAyehripRe6FW7bd6z7jyk6TrsaHvuUSGJN8X7gc/goWnaSowXfdJp31V KMll526PAMSfQ91LH9UTHdTj9lHlqispea6C0XUjHznKu8utUzRVBdhG53L0im/O Z3e5GwMImBLUXlRQEUFXlGl6K7tDOrNATpYzVS3u4t56ayMGMApoXfFLcJ2YRHTU fMniN8oOYBe0kja0LbD/0OnilpuF967Hoj0k1am+QAcSQgzOEPKKk/y92NcaXd9x FlIyfcUzvFnKl26l9oorl7Kd1/FSn+O5tqCUjm7paZ/ajkmHyDc= =5vos -----END PGP SIGNATURE----- --yxwD0IVDPFo8O9o3qn0p0tRR2saicYnLq--