Bug#971112: gnome-builder: FTBFS: Package polkit-gobject-1 was not found in the pkg-config search path

Simon McVittie smcv at debian.org
Sun Sep 27 21:21:23 BST 2020


Control: retitle -1 gnome-builder: FTBFS: Package polkit-gobject-1 was not found in the pkg-config search path

On Sun, 27 Sep 2020 at 20:31:29 +0200, Lucas Nussbaum wrote:
> During a rebuild of all packages in sid, your package failed to build
> on amd64.
> 
> Relevant part (hopefully):

The quoted part wasn't the relevant part. In a Meson build that fails
at the setup stage (analogous to ./configure), the quick version of the
error is quoted shortly before "A full log can be found at":

> Configuring phpize.plugin using configuration
> Configuring python-gi-imports-completion.plugin using configuration
> Configuring rustup.plugin using configuration
> Program glib-mkenums found: YES
> Program glib-mkenums found: YES
> Run-time dependency gspell-1 found: YES 1.8.4
> Run-time dependency enchant-2 found: YES 2.2.8
> Configuring stylelint.plugin using configuration
> Run-time dependency sysprof-4 found: NO
>
> ../src/plugins/sysprof/meson.build:3:0: ERROR: Could not generate cargs for sysprof-4:
> Package polkit-gobject-1 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `polkit-gobject-1.pc'
> to the PKG_CONFIG_PATH environment variable
> Package 'polkit-gobject-1', required by 'sysprof-4', not found
>
>
> A full log can be found at /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/meson-logs/meson-log.txt
> 	cd obj-x86_64-linux-gnu && tail -v -n \+0 meson-logs/meson-log.txt
> ==> meson-logs/meson-log.txt <==
> ...

and the fully comprehensive version (which in this case just says the same
thing in more words) will usually be the last thing in meson-log.txt.

    smcv



More information about the pkg-gnome-maintainers mailing list