Re: meson: missing pkg-config ?

Andrey Rakhmatullin <[email protected]> Thu, 30 Jul 2026 13:32:14 +0500
Newsgroups gmane.linux.debian.devel.mentors
Message-ID <[email protected]>
--Fkx0GFx2x3Vm7f63
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Jul 30, 2026 at 10:02:04AM +0200, Beno=C3=AEt Rouits wrote:
>While trying to build a personal Debian package for my program=20
>ebur128adjust* (not in Debian) I experience an issue with a missing=20
>meson debian dependency/recommendation: pkg-config. however, pkgconf=20
>is installed but meson seem to have no knowledge of it.

pkgconf ships /usr/bin/pkg-config.

>Pkg-config binary missing from cross or native file, or env var undefined.
>Trying a default Pkg-config fallback at pkg-config
>Did not find pkg-config by name 'pkg-config'

This seems to be some other problem than the one you asked about.

>So I'm asking: Is it normal that meson does not depend on `pkg-config` ?

Nothing should depend on the obsolete pkg-config package.

>As a workaround, to build the Debian package, I put pkg-conig in the=20
>Build-Depends section of d/control.=20

Sounds like you haven't tried putting pkgconf there.

--=20
WBR, wRAR

--Fkx0GFx2x3Vm7f63
Content-Type: application/pgp-signature; name=signature.asc

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

iQJhBAABCgBLFiEEtf6ieDcfC1EgtGkao+OWn23e7IYFAmprDA4tFIAAAAAAFQAP
cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEKPjlp9t3uyG
nn8QAKvihivmIAVQU8Vo9G3pZn88ASjCr9By1nh0i9A72Dw+q+eBAzfAwTj+wmBW
auMnp0hfrnNhb28n6kxThinSTk453Vf33/MweBCSv3DMM3O1q6nps7xeI361YnO4
CfFAYd/e4YU8UlYNBamMaAbV12HtMtCF7OeJQ1G/fIiXmt/dFDkyHp7hXuUzck0Z
uybO35eWrCe5A0Mq/kPTzh7s7EjlKTAUI5tQueSnraSk6yC0JkO0sxYyww/waZ+p
kzXgGF+yKiS7ZF8hX4ob9NeX29hUsPiUHfN9abPBVBz4E9legbPNXRic50273Pmf
ip4pyDrp+cttdhMwkVDMmgj+thbPab2oqLKq02jXWaz1EEHNEHSKx4a5B1w3hX3U
7eDMVIwmU0aJmzy/7SRRwHr3rX5Yy2OoHXqbdc60Rnetyv4EnmciETqCbBHlBTew
L0lFFf/7pOq7a1vm2I6OO6engCU6iAzn+mHHPN45Q10kFjNWdYbNlpceBzEBG6P6
G3BZSEDvrZCB9xGVajCLZjsV6/QFX1Vxc05jkvybz23LZdO7SVbVAMp0mmzqPFzh
BhSfZA1Cgvl1zdZtzICzlsjip/qInemH7SFMiwPT8ael1sSllfskHEmrNKKHNfao
YZ/6tyBLUX9DlmEZdJJ1ccMCaOJJs3m1EJ0ya/YJpS67Mdy0
=lfDx
-----END PGP SIGNATURE-----

--Fkx0GFx2x3Vm7f63--