Control: severity -1 serious
Control: retitle -1 libvirglrenderer-dev must depend on packages required for 
its pkg-config file
Control: affects -1 src:qemu
Control: tags -1 ftbfs

On Sat, Sep 10, 2022 at 02:36:12PM +0300, Michael Tokarev wrote:
> 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.

Changing it to serious.

With 0.10.3-1 vulkan is a new requirement, breaking the qemu build again:
https://buildd.debian.org/status/fetch.php?pkg=qemu&arch=amd64&ver=1%3A7.1%2Bdfsg-2%2Bb1&stamp=1665894634&raw=0

The complete list is currently:
$ pkg-config --cflags virglrenderer
Package epoxy was not found in the pkg-config search path.
Perhaps you should add the directory containing `epoxy.pc'
to the PKG_CONFIG_PATH environment variable
Package 'epoxy', required by 'virglrenderer', not found
Package 'libdrm', required by 'virglrenderer', not found
Package 'gbm', required by 'virglrenderer', not found
Package 'vulkan', required by 'virglrenderer', not found
Package 'libva', required by 'virglrenderer', not found
Package 'libva-drm', required by 'virglrenderer', not found
$

In practice, most/all of the -dev build dependencies also have to become 
dependencies of libvirglrenderer-dev.

> Thanks,
> 
> /mjt

cu
Adrian

Reply via email to