mesonbuild/meson

gnome module doesn't give a clear error on missing gobject-introspection-1.0.pc files

オープン

#2,664 opened on 2017/11/20

 (0 件のコメント) (2 件のリアクション) (0 人の担当者)Python (1,465 件のフォーク)batch import
buggnomehelp wanted

Repository metrics

Stars
 (4,978 個のスター)
PR merge metrics
 (平均マージ 139d 13h) (30d で 51 merged PRs)

説明

When running meson build on a a system without the libgirepository1.0-dev package installed, I got this very cryptic error:

Program g-ir-scanner found: YES (/usr/bin/g-ir-scanner)
Program g-ir-compiler found: YES (/usr/bin/g-ir-compiler)
Meson encountered an error in file subprojects/gstreamer/gst/meson.build, line 270, column 4:
gobject-introspection dependency was not found, gir cannot be generated.

I'd expect to have the error I found in the meson logs show up in the main config:

Determining dependency 'gobject-introspection-1.0' with pkg-config executable '/usr/bin/pkg-config'

コントリビューターガイド