Package: libvirglrenderer-dev
Version: 0.10.1-1
Severity: important

When a package uses libvirglrenderer-dev, it expects the package to be
self-contained, so the build-dependency is specified against only the
package which is actually used, not about its inter-dependencies.
However, the installed libvirglrenderer-dev isn't useable as it is:

meson.build:717:2: ERROR: Could not generate cargs for virglrenderer:
Package libva was not found in the pkg-config search path.
Perhaps you should add the directory containing `libva.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libva', required by 'virglrenderer', not found

This is because virglrenderer.pc refers to libva.pc which is not pulled
in by the dependencies of libvirglrenderer-dev package.

libva-dev should be added to the Depends: field of libvirglrenderer-dev.
Or maybe debian should have a mechanism to track deps of pkgconfig
files somehow, in a way similar to shared libraries.

Severity is important because this causes other packages to FTBFS.
Maybe it shuold be serious instead.

Thanks,

/mjt

Reply via email to