
See <https://ci.centos.org/job/libvirt-dbus-master-build/systems=libvirt-debian-8/368/display/redirect> ------------------------------------------ [...truncated 158.39 KB...] ^ ../../src/connect.c: In function ‘virtDBusConnectNodeGetCPUStats’: ../../src/connect.c:1476:5: error: unknown type name ‘g_autofree’ g_autofree virNodeCPUStatsPtr stats = NULL; ^ ../../src/connect.c:1476:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘stats’ g_autofree virNodeCPUStatsPtr stats = NULL; ^ ../../src/connect.c:1492:9: error: ‘stats’ undeclared (first use in this function) stats = g_new0(virNodeCPUStats, count); ^ ../../src/connect.c: In function ‘virtDBusConnectNodeGetMemoryParameters’: ../../src/connect.c:1540:5: error: implicit declaration of function ‘g_auto’ [-Werror=implicit-function-declaration] g_auto(virtDBusUtilTypedParams) params = { 0 }; ^ ../../src/connect.c:1540:5: error: nested extern declaration of ‘g_auto’ [-Werror=nested-externs] ../../src/connect.c:1540:12: error: expected expression before ‘virtDBusUtilTypedParams’ g_auto(virtDBusUtilTypedParams) params = { 0 }; ^ ../../src/connect.c:1540:37: error: expected ‘;’ before ‘params’ g_auto(virtDBusUtilTypedParams) params = { 0 }; ^ ../../src/connect.c:1551:39: error: ‘params’ undeclared (first use in this function) ¶ms.nparams, flags); ^ ../../src/connect.c: In function ‘virtDBusConnectNodeGetMemoryStats’: ../../src/connect.c:1578:5: error: unknown type name ‘g_autofree’ g_autofree virNodeMemoryStatsPtr params = NULL; ^ ../../src/connect.c:1578:38: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘params’ g_autofree virNodeMemoryStatsPtr params = NULL; ^ ../../src/connect.c:1597:9: error: ‘params’ undeclared (first use in this function) params = g_new0(virNodeMemoryStats, nparams); ^ ../../src/connect.c: In function ‘virtDBusConnectNodeSetMemoryParameters’: ../../src/connect.c:1644:15: error: expected expression before ‘GVariantIter’ g_autoptr(GVariantIter) iter = NULL; ^ ../../src/connect.c:1644:29: error: expected ‘;’ before ‘iter’ g_autoptr(GVariantIter) iter = NULL; ^ ../../src/connect.c:1645:12: error: expected expression before ‘virtDBusUtilTypedParams’ g_auto(virtDBusUtilTypedParams) params = { 0 }; ^ ../../src/connect.c:1645:37: error: expected ‘;’ before ‘params’ g_auto(virtDBusUtilTypedParams) params = { 0 }; ^ ../../src/connect.c:1648:40: error: ‘iter’ undeclared (first use in this function) g_variant_get(inArgs, "(a{sv}u)", &iter, &flags); ^ ../../src/connect.c:1650:51: error: ‘params’ undeclared (first use in this function) if (!virtDBusUtilGVariantToTypedParams(iter, ¶ms.params, ^ ../../src/connect.c: In function ‘virtDBusConnectSecretDefineXML’: ../../src/connect.c:1674:15: error: expected expression before ‘virSecret’ g_autoptr(virSecret) secret = NULL; ^ ../../src/connect.c:1674:26: error: expected ‘;’ before ‘secret’ g_autoptr(virSecret) secret = NULL; ^ ../../src/connect.c:1675:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1675:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1684:5: error: ‘secret’ undeclared (first use in this function) secret = virSecretDefineXML(connect->connection, xml, flags); ^ ../../src/connect.c:1688:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirSecret(secret, connect->secretPath); ^ ../../src/connect.c: In function ‘virtDBusConnectSecretLookupByUUID’: ../../src/connect.c:1703:15: error: expected expression before ‘virSecret’ g_autoptr(virSecret) secret = NULL; ^ ../../src/connect.c:1703:26: error: expected ‘;’ before ‘secret’ g_autoptr(virSecret) secret = NULL; ^ ../../src/connect.c:1704:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1704:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1712:5: error: ‘secret’ undeclared (first use in this function) secret = virSecretLookupByUUIDString(connect->connection, uuidstr); ^ ../../src/connect.c:1716:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirSecret(secret, connect->secretPath); ^ ../../src/connect.c: In function ‘virtDBusConnectSecretLookupByUsage’: ../../src/connect.c:1731:15: error: expected expression before ‘virSecret’ g_autoptr(virSecret) secret = NULL; ^ ../../src/connect.c:1731:26: error: expected ‘;’ before ‘secret’ g_autoptr(virSecret) secret = NULL; ^ ../../src/connect.c:1732:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1732:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1741:5: error: ‘secret’ undeclared (first use in this function) secret = virSecretLookupByUsage(connect->connection, usageType, usageID); ^ ../../src/connect.c:1745:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirSecret(secret, connect->secretPath); ^ ../../src/connect.c: In function ‘virtDBusConnectStoragePoolCreateXML’: ../../src/connect.c:1760:15: error: expected expression before ‘virStoragePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1760:31: error: expected ‘;’ before ‘storagePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1761:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1761:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1770:5: error: ‘storagePool’ undeclared (first use in this function) storagePool = virStoragePoolCreateXML(connect->connection, xml, flags); ^ ../../src/connect.c:1774:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirStoragePool(storagePool, ^ ../../src/connect.c: In function ‘virtDBusConnectStoragePoolDefineXML’: ../../src/connect.c:1790:15: error: expected expression before ‘virStoragePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1790:31: error: expected ‘;’ before ‘storagePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1791:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1791:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1800:5: error: ‘storagePool’ undeclared (first use in this function) storagePool = virStoragePoolDefineXML(connect->connection, xml, flags); ^ ../../src/connect.c:1804:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirStoragePool(storagePool, ^ ../../src/connect.c: In function ‘virtDBusConnectStoragePoolLookupByName’: ../../src/connect.c:1820:15: error: expected expression before ‘virStoragePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1820:31: error: expected ‘;’ before ‘storagePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1821:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1821:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1829:5: error: ‘storagePool’ undeclared (first use in this function) storagePool = virStoragePoolLookupByName(connect->connection, name); ^ ../../src/connect.c:1833:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirStoragePool(storagePool, ^ ../../src/connect.c: In function ‘virtDBusConnectStoragePoolLookupByUUID’: ../../src/connect.c:1849:15: error: expected expression before ‘virStoragePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1849:31: error: expected ‘;’ before ‘storagePool’ g_autoptr(virStoragePool) storagePool = NULL; ^ ../../src/connect.c:1850:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1850:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1858:5: error: ‘storagePool’ undeclared (first use in this function) storagePool = virStoragePoolLookupByUUIDString(connect->connection, ^ ../../src/connect.c:1863:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirStoragePool(storagePool, ^ ../../src/connect.c: In function ‘virtDBusConnectStorageVolLookupByKey’: ../../src/connect.c:1879:15: error: expected expression before ‘virStorageVol’ g_autoptr(virStorageVol) storageVol = NULL; ^ ../../src/connect.c:1879:30: error: expected ‘;’ before ‘storageVol’ g_autoptr(virStorageVol) storageVol = NULL; ^ ../../src/connect.c:1880:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1880:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1888:5: error: ‘storageVol’ undeclared (first use in this function) storageVol = virStorageVolLookupByKey(connect->connection, key); ^ ../../src/connect.c:1892:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirStorageVol(storageVol, ^ ../../src/connect.c: In function ‘virtDBusConnectStorageVolLookupByPath’: ../../src/connect.c:1908:15: error: expected expression before ‘virStorageVol’ g_autoptr(virStorageVol) storageVol = NULL; ^ ../../src/connect.c:1908:30: error: expected ‘;’ before ‘storageVol’ g_autoptr(virStorageVol) storageVol = NULL; ^ ../../src/connect.c:1910:5: error: unknown type name ‘g_autofree’ g_autofree gchar *path = NULL; ^ ../../src/connect.c:1910:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token g_autofree gchar *path = NULL; ^ ../../src/connect.c:1917:5: error: ‘storageVol’ undeclared (first use in this function) storageVol = virStorageVolLookupByPath(connect->connection, inPath); ^ ../../src/connect.c:1921:5: error: ‘path’ undeclared (first use in this function) path = virtDBusUtilBusPathForVirStorageVol(storageVol, ^ ../../src/connect.c: At top level: ../../src/connect.c:2014:48: error: expected declaration specifiers or ‘...’ before ‘virtDBusConnectFree’ G_DEFINE_AUTOPTR_CLEANUP_FUNC(virtDBusConnect, virtDBusConnectFree); ^ ../../src/connect.c: In function ‘virtDBusConnectNew’: ../../src/connect.c:2023:15: error: expected expression before ‘virtDBusConnect’ g_autoptr(virtDBusConnect) connect = NULL; ^ ../../src/connect.c:2023:32: error: expected ‘;’ before ‘connect’ g_autoptr(virtDBusConnect) connect = NULL; ^ ../../src/connect.c:2032:5: error: ‘connect’ undeclared (first use in this function) connect = g_new0(virtDBusConnect, 1); ^ cc1: all warnings being treated as errors Makefile:517: recipe for target 'connect.o' failed make[2]: *** [connect.o] Error 1 make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-build/systems=libvirt-debian-8/ws/build/src'> Makefile:449: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-dbus-master-build/systems=libvirt-debian-8/ws/build'> Makefile:376: recipe for target 'all' failed make: *** [all] Error 2 Build step 'Execute shell' marked build as failure