meson icon indicating copy to clipboard operation
meson copied to clipboard

Meson no longer prints warnings from `gtk-doc`

Open mattst88 opened this issue 2 years ago • 3 comments

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.

mattst88 avatar Nov 14 '22 17:11 mattst88

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

dcbaker avatar Nov 14 '22 18:11 dcbaker

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.

xclaesse avatar Nov 14 '22 19:11 xclaesse

Oh, we already have a PR: https://github.com/mesonbuild/meson/pull/8499.

xclaesse avatar Nov 14 '22 19:11 xclaesse

Relates to issue #8498

brainelectronics avatar Jan 23 '23 06:01 brainelectronics