build failues because of missing dependencies for D-Bus interfaces
It's usually pretty hard to trigger. But there are some missing or incorrect dependencies. But I can force it by slowing down gdbus-codegen (by adding time.sleep(10) to the script) and building with -j500. Then I get:
.../libnm/nm-active-connection.c:24:10: fatal error: introspection/org.freedesktop.NetworkManager.Connection.Active.h: No such file or directory
.../libnm/nm-client.c:28:10: fatal error: introspection/org.freedesktop.NetworkManager.h: No such file or directory
.../libnm/nm-device-wifi-p2p.c:19:10: fatal error: introspection/org.freedesktop.NetworkManager.Device.WifiP2P.h: No such file or directory
.../libnm/nm-device-wifi.c:21:10: fatal error: introspection/org.freedesktop.NetworkManager.Device.Wireless.h: No such file or directory
.../libnm/nm-device.c:30:10: fatal error: introspection/org.freedesktop.NetworkManager.Device.h: No such file or directory
.../libnm/nm-dns-manager.c:17:10: fatal error: introspection/org.freedesktop.NetworkManager.DnsManager.h: No such file or directory
.../libnm/nm-manager.c:23:10: fatal error: introspection/org.freedesktop.NetworkManager.h: No such file or directory
and several more like this.
I think libnmdbus_dep
is supposed to handle this, but it's not working: The added dependency is for linking libnm and not the individual object files.