This took far too long: The actual problem turned out to be an unclosed <SECTION> in gdk3-sections.txt.