Hi, On Wed, Feb 01, 2023 at 05:34:16PM +0100, Andreas Henriksson wrote: > On Wed, Feb 01, 2023 at 04:46:14PM +0100, Guido Günther wrote: > > Hi, > > On Wed, Feb 01, 2023 at 04:37:37PM +0100, Andreas Henriksson wrote: > [...] > > > FWIW here are some examples of autopkgtest for checking if pkg-config > > > works for your own -dev packages: > > > https://sources.debian.org/src/util-linux/2.38.1-4/debian/tests/ > > > > We have tests for that like ages: > > > > > > https://salsa.debian.org/swaywm-team/wlroots/-/blob/debian/latest/debian/tests/ > > > > It just won't trigger if you don't need the vulkan renderer. Feel free > > to submit a patch that exercises that as well. > > Not sure why your tests doesn't catch this then. > > You can reproduce this as simple as this: > > 1. start with a clean sid chroot (eg. `pbuilder login`) > 2. add experimental to /etc/apt/sources.list > 3. apt update > 4. apt install libwlroots-dev/experimental > 5. pkg-config --cflags wlroots > > Package vulkan was not found in the pkg-config search path. > Perhaps you should add the directory containing `vulkan.pc' > to the PKG_CONFIG_PATH environment variable > Package 'vulkan', required by 'wlroots', not found
I just answered that in another reply to this bug. -- Guido