GNOME Bugzilla – Bug 794313
gnome-control-center FTBFS: Could not generate cargs for gnome-bluetooth-1.0
Last modified: 2018-03-22 16:04:44 UTC
Ubuntu 18.04 meson 0.45.0 gnome-control-center 3.28.0 fails to build from source with gnome-bluetooth 3.28.0. The build succeeds with gnome-bluetooth 3.27.90. Build log excerpt ================= Native dependency libnm found: YES 1.10.4 Native dependency libnma found: YES 1.8.10 Native dependency mm-glib found: YES 1.6.8 Native dependency NetworkManager found: YES 1.10.4 meson.build:212:2: ERROR: Could not generate cargs for gnome-bluetooth-1.0:
The meson error was frustratingly imprecise. The problem was triggered because gnome-bluetooth 3.28.0 (and I assume 3.27.92) added this line to its pkgconfig file: Requires.private: gmodule-2.0 libcanberra-gtk3 gio-unix-2.0 libudev libnotify Debian's libgnome-bluetooth-dev was missing a dependency on libnotify-dev.
I wonder if meson 0.45.0 introduced this change?
FWIW, I use meson 0.44.0, and I didn't have problems building gnome-control-center. It might just be that libnotify-dev was pulled in by something else in the stack below before, and not anymore.
It was a meson 0.45 change. For much more detail, see https://bugs.debian.org/892956 Anyway, nothing to fix in GNOME, but it's useful to know what that cargs error could mean.