Build issue: fatal error: goa/goa-generated.h: No such file or directory
I'm re-opening #214 (closed) since this is still an issue with gnome-online-accounts 3.46.0.
This issue happens sometimes when doing a parallel build, and I cannot reproduce it when limiting the build to only 1 job. It looks like there's an error in the meson scripts, where the goawebextension
library build in goabackend/meson.build
is missing a dependency on the generated header goa/goa-generated.h
- so it's random whether or not the header generation is actually completed before the header is used.
I suspect part of the issue might be that the variables dbus
and dbus_sources
are declared in both src/goabackend/meson.build
and src/goa/meson.build
- meson has a single global namespace for variables, so one of these declarations will clobber the other.