Build fails for glib versions >= 2.42.0 and <= 2.47.3
G_GNUC_CHECK_VERSION usage was added in
gst-libs/gst/video/video-anc.c in 1.15.1. The glib documentation states that this macro is available "since 2.42", and the code in video-anc.c correctly checks this with
#if !GLIB_CHECK_VERSION(2, 42, 0). Unfortunately, the reality is that
G_GNUC_CHECK_VERSION was only added in glib 2.27.4 (EDIT: 2.47.4) (see https://gitlab.gnome.org/GNOME/glib/blob/master/NEWS and https://gitlab.gnome.org/GNOME/glib/commit/3272267b99670e1bfccf5aebe97ead5e6f8b1bab).