autospec icon indicating copy to clipboard operation
autospec copied to clipboard

Parse meson build has_header error output and automatically add build dependency

Open gtkramer opened this issue 4 years ago • 1 comments

When building gnome-builder, after getting through 10 rounds, the build errors out with the following message:

Configuring ide-debug.h using configuration
src/libide/terminal/meson.build:7:3: ERROR: C header 'pcre2.h' not found

Autospec was not able to handle the output from the following check during the meson build:

# Ensure we have PCRE2 available
cc.has_header('pcre2.h', required: true)

gtkramer avatar Oct 30 '19 00:10 gtkramer

Looks like the meson build requirement scan should be made more robust.

phmccarty avatar Jan 07 '20 02:01 phmccarty