vapigen fails processing GdkPixbuf-2.0.gir since gdk-pixbuf 2.42.4
Building librsvg fails since 2.42.4 (2.42.2 works) on Windows, using latest vala 0.52.4:
make[2]: Entering directory '/home/user/M/mingw-w64-librsvg/src/build-x86_64-w64-mingw32'
VAPIGEN librsvg-2.0.vapi
Generation failed: 1 error(s), 0 warning(s)
GdkPixbuf-2.0.gir:6448.55-6448.55: error: The symbol `GModule' could not be found
<type name="GModule.Module" c:type="GModule*"/>
^
make[2]: *** [C:/msys64/mingw64/share/vala/Makefile.vapigen:61: librsvg-2.0.vapi] Error 1
The change is that gdk-pixbuf 2.42.4 now has PixbufModule in the .gir and vapigen fails parsing it.
Removing the line highlighted in the error makes it work again.
Edited by Christoph Reiter