meson
meson copied to clipboard
Meson no longer prints warnings from `gtk-doc`
Describe the bug
The maintainer of gedit says that between Meson 0.54 and Meson 0.59, meson changed such that it no longer prints gtk-doc
warnings. See https://gitlab.gnome.org/GNOME/gedit/-/merge_requests/139#note_1572938
To Reproduce For example with Amtk which has normally no warnings with gtk-doc. You can modify the sources to add a warning (change #GActionMap to #GActionMop for example, in a gtk-doc comment in a *.c file). Then test running these commands:
$ ninja install $ ninja amtk-5-doc
Expected behavior Warnings should be printed.
I looked at this a little, and I can't find anywhere were the was explicit mention in the commit history that we did this on purpose, so I'm marking this a regression
Investigated, it is a side effect of https://github.com/mesonbuild/meson/pull/8259. It switch to using scripts.meson_exe.run_exe() which only print stdout on failure. It should be the same thing for dist and postconf scripts.
Oh, we already have a PR: https://github.com/mesonbuild/meson/pull/8499.
Relates to issue #8498