introspection is not generated when cross compiling
Even when introspection is set to true, libgweather won't build the introspection when cross compiling: https://gitlab.gnome.org/GNOME/libgweather/-/blob/main/libgweather/meson.build#L211
This causes issues when cross compiling with gtk_doc enabled, since it checks if introspection is true, which it was even though it wasn't built. This results in the error doc/meson.build:24:2: ERROR: Index 0 out of bounds of array of size 0.
which was a little confusing tbh.
I'm not sure why it is disabled here though since when removing that check and building it, I didn't notice any issues (at least in void-packages) and most other gnome applications/libraries afaict don't conditionally check if they are cross compiling to build the introspection. That being said, please let me know if I am missing something or doing something wrong.
Sorry for any trouble.