can't build it (10.2 it builds fine) In file included from ./shared/nm-default.h:178:0, from src/devices/ovs/nm-device-ovs-interface.c:20: src/devices/ovs/nm-device-ovs-interface.c: In function link_changed: ./shared/nm-utils/nm-macros-internal.h:299:13: error: _Generic selector of type NMDevice * {aka struct _NMDevice *} is not compatible with any association (_Generic ((obj_expr), \ ^ ./shared/nm-utils/nm-macros-internal.h:352:62: note: in expansion of macro _NM_CONSTCAST_FULL_2 #define _NM_CONSTCAST_FULL_x(type, obj_expr, obj, n, ...) (_NM_CONSTCAST_FULL_##n (type, obj_expr, obj, ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:353:62: note: in expansion of macro _NM_CONSTCAST_FULL_x #define _NM_CONSTCAST_FULL_y(type, obj_expr, obj, n, ...) (_NM_CONSTCAST_FULL_x (type, obj_expr, obj, n, ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:354:62: note: in expansion of macro _NM_CONSTCAST_FULL_y #define NM_CONSTCAST_FULL( type, obj_expr, obj, ...) (_NM_CONSTCAST_FULL_y (type, obj_expr, obj, NM_NARG (dummy, ##__VA_ARGS__), ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:375:3: note: in expansion of macro NM_CONSTCAST_FULL NM_CONSTCAST_FULL (type, (obj), _obj, GObject, ##__VA_ARGS__); \ ^~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:679:55: note: in expansion of macro NM_GOBJECT_CAST_NON_NULL #define _NM_GET_PRIVATE(self, type, is_check, ...) (&(NM_GOBJECT_CAST_NON_NULL (type, (self), is_check, ##__VA_ARGS__)->_priv)) ^~~~~~~~~~~~~~~~~~~~~~~~ src/devices/ovs/nm-device-ovs-interface.c:53:51: note: in expansion of macro _NM_GET_PRIVATE #define NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(self) _NM_GET_PRIVATE (self, NMDeviceOvsInterface, NM_IS_DEVICE_OVS_INTERFACE) ^~~~~~~~~~~~~~~ src/devices/ovs/nm-device-ovs-interface.c:119:38: note: in expansion of macro NM_DEVICE_OVS_INTERFACE_GET_PRIVATE NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device); ^ src/devices/ovs/nm-device-ovs-interface.c: In function act_stage3_ip4_config_start: ./shared/nm-utils/nm-macros-internal.h:299:13: error: _Generic selector of type NMDevice * {aka struct _NMDevice *} is not compatible with any association (_Generic ((obj_expr), \ ^ ./shared/nm-utils/nm-macros-internal.h:352:62: note: in expansion of macro _NM_CONSTCAST_FULL_2 #define _NM_CONSTCAST_FULL_x(type, obj_expr, obj, n, ...) (_NM_CONSTCAST_FULL_##n (type, obj_expr, obj, ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:353:62: note: in expansion of macro _NM_CONSTCAST_FULL_x #define _NM_CONSTCAST_FULL_y(type, obj_expr, obj, n, ...) (_NM_CONSTCAST_FULL_x (type, obj_expr, obj, n, ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:354:62: note: in expansion of macro _NM_CONSTCAST_FULL_y #define NM_CONSTCAST_FULL( type, obj_expr, obj, ...) (_NM_CONSTCAST_FULL_y (type, obj_expr, obj, NM_NARG (dummy, ##__VA_ARGS__), ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:375:3: note: in expansion of macro NM_CONSTCAST_FULL NM_CONSTCAST_FULL (type, (obj), _obj, GObject, ##__VA_ARGS__); \ ^~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:679:55: note: in expansion of macro NM_GOBJECT_CAST_NON_NULL #define _NM_GET_PRIVATE(self, type, is_check, ...) (&(NM_GOBJECT_CAST_NON_NULL (type, (self), is_check, ##__VA_ARGS__)->_priv)) ^~~~~~~~~~~~~~~~~~~~~~~~ src/devices/ovs/nm-device-ovs-interface.c:53:51: note: in expansion of macro _NM_GET_PRIVATE #define NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(self) _NM_GET_PRIVATE (self, NMDeviceOvsInterface, NM_IS_DEVICE_OVS_INTERFACE) ^~~~~~~~~~~~~~~ src/devices/ovs/nm-device-ovs-interface.c:144:38: note: in expansion of macro NM_DEVICE_OVS_INTERFACE_GET_PRIVATE NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device); ^ src/devices/ovs/nm-device-ovs-interface.c: In function act_stage3_ip6_config_start: ./shared/nm-utils/nm-macros-internal.h:299:13: error: _Generic selector of type NMDevice * {aka struct _NMDevice *} is not compatible with any association (_Generic ((obj_expr), \ ^ ./shared/nm-utils/nm-macros-internal.h:352:62: note: in expansion of macro _NM_CONSTCAST_FULL_2 #define _NM_CONSTCAST_FULL_x(type, obj_expr, obj, n, ...) (_NM_CONSTCAST_FULL_##n (type, obj_expr, obj, ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:353:62: note: in expansion of macro _NM_CONSTCAST_FULL_x #define _NM_CONSTCAST_FULL_y(type, obj_expr, obj, n, ...) (_NM_CONSTCAST_FULL_x (type, obj_expr, obj, n, ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:354:62: note: in expansion of macro _NM_CONSTCAST_FULL_y #define NM_CONSTCAST_FULL( type, obj_expr, obj, ...) (_NM_CONSTCAST_FULL_y (type, obj_expr, obj, NM_NARG (dummy, ##__VA_ARGS__), ##__VA_ARGS__)) ^~~~~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:375:3: note: in expansion of macro NM_CONSTCAST_FULL NM_CONSTCAST_FULL (type, (obj), _obj, GObject, ##__VA_ARGS__); \ ^~~~~~~~~~~~~~~~~ ./shared/nm-utils/nm-macros-internal.h:679:55: note: in expansion of macro NM_GOBJECT_CAST_NON_NULL #define _NM_GET_PRIVATE(self, type, is_check, ...) (&(NM_GOBJECT_CAST_NON_NULL (type, (self), is_check, ##__VA_ARGS__)->_priv)) ^~~~~~~~~~~~~~~~~~~~~~~~ src/devices/ovs/nm-device-ovs-interface.c:53:51: note: in expansion of macro _NM_GET_PRIVATE #define NM_DEVICE_OVS_INTERFACE_GET_PRIVATE(self) _NM_GET_PRIVATE (self, NMDeviceOvsInterface, NM_IS_DEVICE_OVS_INTERFACE) ^~~~~~~~~~~~~~~ src/devices/ovs/nm-device-ovs-interface.c:162:38: note: in expansion of macro NM_DEVICE_OVS_INTERFACE_GET_PRIVATE NMDeviceOvsInterfacePrivate *priv = NM_DEVICE_OVS_INTERFACE_GET_PRIVATE (device); ^ make[2]: *** [Makefile:12396: src/devices/ovs/src_devices_ovs_libnm_device_plugin_ovs_la-nm-device-ovs-interface.lo] Error 1 make[2]: Leaving directory '/home/yoda/rpmbuild/BUILD/NetworkManager-1.10.4' .. make[1]: *** [Makefile:16339: all-recursive] Error 1 make: *** [Makefile:6746: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.ZgnfOn (%build)
_______________________________________________ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list