mesonbuild/meson

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

Open

#2,664 创建于 2017年11月20日

在 GitHub 查看
 (0 评论) (2 反应) (0 负责人)Python (4,978 star) (1,465 fork)batch import
buggnomehelp wanted

描述

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'

贡献者指南

gnome module doesn't give a clear error on missing gobject-introspection-1.0.pc files · mesonbuild/meson#2664 | Good First Issue