[Libvirt-ci] Build failed in Jenkins: libosinfo-build » libvirt-debian-8 #54

See <https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/54/display/redirect?page=changes> Changes: [fidencio] resources: Add osinfo_resources_{get,set}_inherit() [fidencio] loader: Set "inherit" accordingly to the resources [fidencio] os: Add _get_.*_resources_without_inheritance() [fidencio] os: Support inherited resources [fidencio] test-os: Add test_resources_inheritance() ------------------------------------------ [...truncated 7.80 KB...] checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether C compiler handles -Werror -Wunknown-warning-option... no checking whether -Wno-missing-field-initializers is supported... yes checking whether -Wno-missing-field-initializers is needed... no checking whether -Wuninitialized is supported... yes checking whether C compiler handles -W... yes checking whether C compiler handles -Waddress... yes checking whether C compiler handles -Waggressive-loop-optimizations... yes checking whether C compiler handles -Wall... yes checking whether C compiler handles -Warray-bounds... yes checking whether C compiler handles -Wattributes... yes checking whether C compiler handles -Wbuiltin-macro-redefined... yes checking whether C compiler handles -Wcast-align... yes checking whether C compiler handles -Wchar-subscripts... yes checking whether C compiler handles -Wclobbered... yes checking whether C compiler handles -Wcomment... yes checking whether C compiler handles -Wcomments... yes checking whether C compiler handles -Wcoverage-mismatch... yes checking whether C compiler handles -Wcpp... yes checking whether C compiler handles -Wdate-time... yes checking whether C compiler handles -Wdeprecated-declarations... yes checking whether C compiler handles -Wdisabled-optimization... yes checking whether C compiler handles -Wdiv-by-zero... yes checking whether C compiler handles -Wdouble-promotion... yes checking whether C compiler handles -Wempty-body... yes checking whether C compiler handles -Wendif-labels... yes checking whether C compiler handles -Wenum-compare... yes checking whether C compiler handles -Wextra... yes checking whether C compiler handles -Wformat-contains-nul... yes checking whether C compiler handles -Wformat-extra-args... yes checking whether C compiler handles -Wformat-nonliteral... yes checking whether C compiler handles -Wformat-security... yes checking whether C compiler handles -Wformat-y2k... yes checking whether C compiler handles -Wformat-zero-length... yes checking whether C compiler handles -Wfree-nonheap-object... yes checking whether C compiler handles -Wignored-qualifiers... yes checking whether C compiler handles -Wimplicit... yes checking whether C compiler handles -Wimplicit-function-declaration... yes checking whether C compiler handles -Wimplicit-int... yes checking whether C compiler handles -Winit-self... yes checking whether C compiler handles -Winline... yes checking whether C compiler handles -Wint-to-pointer-cast... yes checking whether C compiler handles -Winvalid-memory-model... yes checking whether C compiler handles -Winvalid-pch... yes checking whether C compiler handles -Wjump-misses-init... yes checking whether C compiler handles -Wlogical-op... yes checking whether C compiler handles -Wmain... yes checking whether C compiler handles -Wmaybe-uninitialized... yes checking whether C compiler handles -Wmissing-braces... yes checking whether C compiler handles -Wmissing-declarations... yes checking whether C compiler handles -Wmissing-field-initializers... yes checking whether C compiler handles -Wmissing-include-dirs... yes checking whether C compiler handles -Wmissing-parameter-type... yes checking whether C compiler handles -Wmissing-prototypes... yes checking whether C compiler handles -Wmultichar... yes checking whether C compiler handles -Wnarrowing... yes checking whether C compiler handles -Wnested-externs... yes checking whether C compiler handles -Wnonnull... yes checking whether C compiler handles -Wold-style-declaration... yes checking whether C compiler handles -Wold-style-definition... yes checking whether C compiler handles -Wopenmp-simd... yes checking whether C compiler handles -Woverflow... yes checking whether C compiler handles -Woverlength-strings... yes checking whether C compiler handles -Woverride-init... yes checking whether C compiler handles -Wpacked... yes checking whether C compiler handles -Wpacked-bitfield-compat... yes checking whether C compiler handles -Wparentheses... yes checking whether C compiler handles -Wpointer-arith... yes checking whether C compiler handles -Wpointer-sign... yes checking whether C compiler handles -Wpointer-to-int-cast... yes checking whether C compiler handles -Wpragmas... yes checking whether C compiler handles -Wreturn-local-addr... yes checking whether C compiler handles -Wreturn-type... yes checking whether C compiler handles -Wsequence-point... yes checking whether C compiler handles -Wshadow... yes checking whether C compiler handles -Wsizeof-pointer-memaccess... yes checking whether C compiler handles -Wstack-protector... yes checking whether C compiler handles -Wstrict-aliasing... yes checking whether C compiler handles -Wstrict-overflow... yes checking whether C compiler handles -Wstrict-prototypes... yes checking whether C compiler handles -Wsuggest-attribute=const... yes checking whether C compiler handles -Wsuggest-attribute=format... yes checking whether C compiler handles -Wsuggest-attribute=noreturn... yes checking whether C compiler handles -Wsuggest-attribute=pure... yes checking whether C compiler handles -Wswitch... yes checking whether C compiler handles -Wsync-nand... yes checking whether C compiler handles -Wtrampolines... yes checking whether C compiler handles -Wtrigraphs... yes checking whether C compiler handles -Wtype-limits... yes checking whether C compiler handles -Wuninitialized... yes checking whether C compiler handles -Wunknown-pragmas... yes checking whether C compiler handles -Wunused... yes checking whether C compiler handles -Wunused-but-set-parameter... yes checking whether C compiler handles -Wunused-but-set-variable... yes checking whether C compiler handles -Wunused-function... yes checking whether C compiler handles -Wunused-label... yes checking whether C compiler handles -Wunused-local-typedefs... yes checking whether C compiler handles -Wunused-parameter... yes checking whether C compiler handles -Wunused-result... yes checking whether C compiler handles -Wunused-value... yes checking whether C compiler handles -Wunused-variable... yes checking whether C compiler handles -Wvarargs... yes checking whether C compiler handles -Wvariadic-macros... yes checking whether C compiler handles -Wvector-operation-performance... yes checking whether C compiler handles -Wvla... yes checking whether C compiler handles -Wvolatile-register-var... yes checking whether C compiler handles -Wwrite-strings... yes checking whether C compiler handles -Wnormalized=nfc... yes checking whether C compiler handles -Wno-cast-function-type... no checking whether C compiler handles -Wno-sign-compare... yes checking whether C compiler handles -Wno-sign-conversion... yes checking whether C compiler handles -Wno-conversion... yes checking whether C compiler handles -Wno-unused-parameter... yes checking whether C compiler handles -Wjump-misses-init... (cached) yes checking whether C compiler handles -Wframe-larger-than=4096... yes checking whether C compiler handles -Wno-overlength-strings... yes checking whether C compiler handles -fstack-protector-all... yes checking whether C compiler handles --param=ssp-buffer-size=4... yes checking whether C compiler handles -fexceptions... yes checking whether C compiler handles -fasynchronous-unwind-tables... yes checking whether C compiler handles -fdiagnostics-show-option... yes checking whether C compiler handles -funit-at-a-time... yes checking whether C compiler handles -fipa-pure-const... yes checking whether C compiler handles -Wno-suggest-attribute=pure... yes checking whether C compiler handles -Wno-suggest-attribute=const... yes checking whether C compiler handles -Werror... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.20.2 checking for XML::Parser... ok checking whether /usr/bin/make supports nested variables... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML... yes checking for LIBXSLT... yes checking for GLIB... yes checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes checking for CURL... yes checking for perl... /usr/bin/perl checking for gobject-introspection... yes checking for vapigen... /usr/bin/vapigen checking location of usb.ids database... /usr/share/misc/usb.ids checking location of pci.ids database... /usr/share/misc/pci.ids checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libosinfo.spec config.status: creating mingw-libosinfo.spec config.status: creating osinfo/Makefile config.status: creating osinfo/libosinfo-1.0.pc config.status: creating osinfo/osinfo_version.h config.status: creating tools/Makefile config.status: creating tests/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating examples/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: linking ../GNUmakefile to GNUmakefile config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po/stamp-it commands Now type `make' to compile Package + /usr/bin/make /usr/bin/make all-recursive make[1]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build'> Making all in osinfo make[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> GEN osinfo_enum_types.h GEN osinfo_enum_types.c /usr/bin/make all-am make[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> CC libosinfo_1_0_la-osinfo_datamap.lo CC libosinfo_1_0_la-osinfo_datamaplist.lo CC libosinfo_1_0_la-osinfo_avatar_format.lo CC libosinfo_1_0_la-osinfo_entity.lo CC libosinfo_1_0_la-osinfo_filter.lo CC libosinfo_1_0_la-osinfo_list.lo CC libosinfo_1_0_la-osinfo_device.lo CC libosinfo_1_0_la-osinfo_devicelink.lo CC libosinfo_1_0_la-osinfo_devicelist.lo CC libosinfo_1_0_la-osinfo_devicelinklist.lo CC libosinfo_1_0_la-osinfo_devicelinkfilter.lo CC libosinfo_1_0_la-osinfo_device_driver.lo CC libosinfo_1_0_la-osinfo_device_driverlist.lo CC libosinfo_1_0_la-osinfo_install_config.lo CC libosinfo_1_0_la-osinfo_install_config_param.lo CC libosinfo_1_0_la-osinfo_install_config_paramlist.lo CC libosinfo_1_0_la-osinfo_install_script.lo CC libosinfo_1_0_la-osinfo_install_scriptlist.lo CC libosinfo_1_0_la-osinfo_product.lo CC libosinfo_1_0_la-osinfo_productfilter.lo CC libosinfo_1_0_la-osinfo_productlist.lo CC libosinfo_1_0_la-osinfo_platform.lo CC libosinfo_1_0_la-osinfo_platformlist.lo CC libosinfo_1_0_la-osinfo_oslist.lo CC libosinfo_1_0_la-osinfo_os.lo CC libosinfo_1_0_la-osinfo_os_variant.lo CC libosinfo_1_0_la-osinfo_os_variantlist.lo CC libosinfo_1_0_la-osinfo_deployment.lo CC libosinfo_1_0_la-osinfo_deploymentlist.lo CC libosinfo_1_0_la-osinfo_media.lo CC libosinfo_1_0_la-osinfo_medialist.lo CC libosinfo_1_0_la-osinfo_resources.lo ../../osinfo/osinfo_os.c: In function 'get_all_resources_cb': ../../osinfo/osinfo_os.c:758:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < original_resourceslist_len; i++) { ^ ../../osinfo/osinfo_os.c:758:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code ../../osinfo/osinfo_os.c:777:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int j = 0; j < resourceslist_len; j++) { ^ Makefile:910: recipe for target 'libosinfo_1_0_la-osinfo_os.lo' failed make[3]: *** [libosinfo_1_0_la-osinfo_os.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> Makefile:598: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> Makefile:585: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build'> Makefile:470: recipe for target 'all' failed make: *** [all] Error 2 Build step 'Execute shell' marked build as failure

See <https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/55/display/redirect> ------------------------------------------ [...truncated 8.34 KB...] checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether C compiler handles -Werror -Wunknown-warning-option... no checking whether -Wno-missing-field-initializers is supported... yes checking whether -Wno-missing-field-initializers is needed... no checking whether -Wuninitialized is supported... yes checking whether C compiler handles -W... yes checking whether C compiler handles -Waddress... yes checking whether C compiler handles -Waggressive-loop-optimizations... yes checking whether C compiler handles -Wall... yes checking whether C compiler handles -Warray-bounds... yes checking whether C compiler handles -Wattributes... yes checking whether C compiler handles -Wbuiltin-macro-redefined... yes checking whether C compiler handles -Wcast-align... yes checking whether C compiler handles -Wchar-subscripts... yes checking whether C compiler handles -Wclobbered... yes checking whether C compiler handles -Wcomment... yes checking whether C compiler handles -Wcomments... yes checking whether C compiler handles -Wcoverage-mismatch... yes checking whether C compiler handles -Wcpp... yes checking whether C compiler handles -Wdate-time... yes checking whether C compiler handles -Wdeprecated-declarations... yes checking whether C compiler handles -Wdisabled-optimization... yes checking whether C compiler handles -Wdiv-by-zero... yes checking whether C compiler handles -Wdouble-promotion... yes checking whether C compiler handles -Wempty-body... yes checking whether C compiler handles -Wendif-labels... yes checking whether C compiler handles -Wenum-compare... yes checking whether C compiler handles -Wextra... yes checking whether C compiler handles -Wformat-contains-nul... yes checking whether C compiler handles -Wformat-extra-args... yes checking whether C compiler handles -Wformat-nonliteral... yes checking whether C compiler handles -Wformat-security... yes checking whether C compiler handles -Wformat-y2k... yes checking whether C compiler handles -Wformat-zero-length... yes checking whether C compiler handles -Wfree-nonheap-object... yes checking whether C compiler handles -Wignored-qualifiers... yes checking whether C compiler handles -Wimplicit... yes checking whether C compiler handles -Wimplicit-function-declaration... yes checking whether C compiler handles -Wimplicit-int... yes checking whether C compiler handles -Winit-self... yes checking whether C compiler handles -Winline... yes checking whether C compiler handles -Wint-to-pointer-cast... yes checking whether C compiler handles -Winvalid-memory-model... yes checking whether C compiler handles -Winvalid-pch... yes checking whether C compiler handles -Wjump-misses-init... yes checking whether C compiler handles -Wlogical-op... yes checking whether C compiler handles -Wmain... yes checking whether C compiler handles -Wmaybe-uninitialized... yes checking whether C compiler handles -Wmissing-braces... yes checking whether C compiler handles -Wmissing-declarations... yes checking whether C compiler handles -Wmissing-field-initializers... yes checking whether C compiler handles -Wmissing-include-dirs... yes checking whether C compiler handles -Wmissing-parameter-type... yes checking whether C compiler handles -Wmissing-prototypes... yes checking whether C compiler handles -Wmultichar... yes checking whether C compiler handles -Wnarrowing... yes checking whether C compiler handles -Wnested-externs... yes checking whether C compiler handles -Wnonnull... yes checking whether C compiler handles -Wold-style-declaration... yes checking whether C compiler handles -Wold-style-definition... yes checking whether C compiler handles -Wopenmp-simd... yes checking whether C compiler handles -Woverflow... yes checking whether C compiler handles -Woverlength-strings... yes checking whether C compiler handles -Woverride-init... yes checking whether C compiler handles -Wpacked... yes checking whether C compiler handles -Wpacked-bitfield-compat... yes checking whether C compiler handles -Wparentheses... yes checking whether C compiler handles -Wpointer-arith... yes checking whether C compiler handles -Wpointer-sign... yes checking whether C compiler handles -Wpointer-to-int-cast... yes checking whether C compiler handles -Wpragmas... yes checking whether C compiler handles -Wreturn-local-addr... yes checking whether C compiler handles -Wreturn-type... yes checking whether C compiler handles -Wsequence-point... yes checking whether C compiler handles -Wshadow... yes checking whether C compiler handles -Wsizeof-pointer-memaccess... yes checking whether C compiler handles -Wstack-protector... yes checking whether C compiler handles -Wstrict-aliasing... yes checking whether C compiler handles -Wstrict-overflow... yes checking whether C compiler handles -Wstrict-prototypes... yes checking whether C compiler handles -Wsuggest-attribute=const... yes checking whether C compiler handles -Wsuggest-attribute=format... yes checking whether C compiler handles -Wsuggest-attribute=noreturn... yes checking whether C compiler handles -Wsuggest-attribute=pure... yes checking whether C compiler handles -Wswitch... yes checking whether C compiler handles -Wsync-nand... yes checking whether C compiler handles -Wtrampolines... yes checking whether C compiler handles -Wtrigraphs... yes checking whether C compiler handles -Wtype-limits... yes checking whether C compiler handles -Wuninitialized... yes checking whether C compiler handles -Wunknown-pragmas... yes checking whether C compiler handles -Wunused... yes checking whether C compiler handles -Wunused-but-set-parameter... yes checking whether C compiler handles -Wunused-but-set-variable... yes checking whether C compiler handles -Wunused-function... yes checking whether C compiler handles -Wunused-label... yes checking whether C compiler handles -Wunused-local-typedefs... yes checking whether C compiler handles -Wunused-parameter... yes checking whether C compiler handles -Wunused-result... yes checking whether C compiler handles -Wunused-value... yes checking whether C compiler handles -Wunused-variable... yes checking whether C compiler handles -Wvarargs... yes checking whether C compiler handles -Wvariadic-macros... yes checking whether C compiler handles -Wvector-operation-performance... yes checking whether C compiler handles -Wvla... yes checking whether C compiler handles -Wvolatile-register-var... yes checking whether C compiler handles -Wwrite-strings... yes checking whether C compiler handles -Wnormalized=nfc... yes checking whether C compiler handles -Wno-cast-function-type... no checking whether C compiler handles -Wno-sign-compare... yes checking whether C compiler handles -Wno-sign-conversion... yes checking whether C compiler handles -Wno-conversion... yes checking whether C compiler handles -Wno-unused-parameter... yes checking whether C compiler handles -Wjump-misses-init... (cached) yes checking whether C compiler handles -Wframe-larger-than=4096... yes checking whether C compiler handles -Wno-overlength-strings... yes checking whether C compiler handles -fstack-protector-all... yes checking whether C compiler handles --param=ssp-buffer-size=4... yes checking whether C compiler handles -fexceptions... yes checking whether C compiler handles -fasynchronous-unwind-tables... yes checking whether C compiler handles -fdiagnostics-show-option... yes checking whether C compiler handles -funit-at-a-time... yes checking whether C compiler handles -fipa-pure-const... yes checking whether C compiler handles -Wno-suggest-attribute=pure... yes checking whether C compiler handles -Wno-suggest-attribute=const... yes checking whether C compiler handles -Werror... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether to enable maintainer-specific portions of Makefiles... yes checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.50.2 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.20.2 checking for XML::Parser... ok checking whether /usr/bin/make supports nested variables... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for LIBXML... yes checking for LIBXSLT... yes checking for GLIB... yes checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf checking whether to build gtk-doc documentation... no checking for GTKDOC_DEPS... yes checking for CURL... yes checking for perl... /usr/bin/perl checking for gobject-introspection... yes checking for vapigen... /usr/bin/vapigen checking location of usb.ids database... /usr/share/misc/usb.ids checking location of pci.ids database... /usr/share/misc/pci.ids checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libosinfo.spec config.status: creating mingw-libosinfo.spec config.status: creating osinfo/Makefile config.status: creating osinfo/libosinfo-1.0.pc config.status: creating osinfo/osinfo_version.h config.status: creating tools/Makefile config.status: creating tests/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating examples/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: linking ../GNUmakefile to GNUmakefile config.status: executing depfiles commands config.status: executing libtool commands config.status: executing po/stamp-it commands Now type `make' to compile Package + /usr/bin/make /usr/bin/make all-recursive make[1]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build'> Making all in osinfo make[2]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> GEN osinfo_enum_types.h GEN osinfo_enum_types.c /usr/bin/make all-am make[3]: Entering directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> CC libosinfo_1_0_la-osinfo_avatar_format.lo CC libosinfo_1_0_la-osinfo_datamaplist.lo CC libosinfo_1_0_la-osinfo_datamap.lo CC libosinfo_1_0_la-osinfo_entity.lo CC libosinfo_1_0_la-osinfo_filter.lo CC libosinfo_1_0_la-osinfo_list.lo CC libosinfo_1_0_la-osinfo_devicelink.lo CC libosinfo_1_0_la-osinfo_device.lo CC libosinfo_1_0_la-osinfo_devicelist.lo CC libosinfo_1_0_la-osinfo_devicelinklist.lo CC libosinfo_1_0_la-osinfo_devicelinkfilter.lo CC libosinfo_1_0_la-osinfo_device_driver.lo CC libosinfo_1_0_la-osinfo_device_driverlist.lo CC libosinfo_1_0_la-osinfo_install_config.lo CC libosinfo_1_0_la-osinfo_install_config_param.lo CC libosinfo_1_0_la-osinfo_install_config_paramlist.lo CC libosinfo_1_0_la-osinfo_install_script.lo CC libosinfo_1_0_la-osinfo_install_scriptlist.lo CC libosinfo_1_0_la-osinfo_product.lo CC libosinfo_1_0_la-osinfo_productfilter.lo CC libosinfo_1_0_la-osinfo_productlist.lo CC libosinfo_1_0_la-osinfo_platform.lo CC libosinfo_1_0_la-osinfo_platformlist.lo CC libosinfo_1_0_la-osinfo_oslist.lo CC libosinfo_1_0_la-osinfo_os.lo CC libosinfo_1_0_la-osinfo_os_variant.lo CC libosinfo_1_0_la-osinfo_os_variantlist.lo CC libosinfo_1_0_la-osinfo_deployment.lo CC libosinfo_1_0_la-osinfo_deploymentlist.lo CC libosinfo_1_0_la-osinfo_media.lo ../../osinfo/osinfo_os.c: In function 'get_all_resources_cb': ../../osinfo/osinfo_os.c:758:5: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int i = 0; i < original_resourceslist_len; i++) { ^ ../../osinfo/osinfo_os.c:758:5: note: use option -std=c99, -std=gnu99, -std=c11 or -std=gnu11 to compile your code ../../osinfo/osinfo_os.c:777:9: error: 'for' loop initial declarations are only allowed in C99 or C11 mode for (int j = 0; j < resourceslist_len; j++) { ^ Makefile:910: recipe for target 'libosinfo_1_0_la-osinfo_os.lo' failed make[3]: *** [libosinfo_1_0_la-osinfo_os.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> Makefile:598: recipe for target 'all' failed make[2]: *** [all] Error 2 make[2]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build/osinfo'> Makefile:585: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '<https://ci.centos.org/job/libosinfo-build/systems=libvirt-debian-8/ws/build'> Makefile:470: recipe for target 'all' failed make: *** [all] Error 2 Build step 'Execute shell' marked build as failure

participants (1)
-
ci@centos.org