[Libvirt-ci] Build failed in Jenkins: libvirt-cim-build » libvirt-fedora-rawhide #208

ci at centos.org ci at centos.org
Thu Jan 31 14:21:32 UTC 2019


See <https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/208/display/redirect>

------------------------------------------
Started by upstream project "libvirt-cim-build" build number 208
originally caused by:
 Started by upstream project "libvirt-build" build number 273
 originally caused by:
  Started by an SCM change
  Started by an SCM change
  Started by an SCM change
  Started by an SCM change
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-rawhide (libvirt) in workspace <https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/>
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url https://github.com/libvirt/libvirt-cim.git # timeout=10
Fetching upstream changes from https://github.com/libvirt/libvirt-cim.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/libvirt/libvirt-cim.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 9c55cc6988205dc60b818a93e64adb01aa858157 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 9c55cc6988205dc60b818a93e64adb01aa858157
Commit message: "git: add config file telling git-publish how to send patches"
 > git rev-list --no-walk 9c55cc6988205dc60b818a93e64adb01aa858157 # timeout=10
Cleaning workspace
 > git rev-parse --verify HEAD # timeout=10
Resetting working tree
 > git reset --hard # timeout=10
 > git clean -fdx # timeout=10
[libvirt-cim] $ /bin/sh -xe /tmp/jenkins7677003708964260095.sh
+ rm -rf build
+ mkdir build
+ cd build
+ ../autogen.sh --prefix=/home/jenkins/build/libvirt
Running libtool ...
Running aclocal ...
Running autoheader ...
Running automake ...
configure.ac:26: installing './compile'
configure.ac:28: installing './config.guess'
configure.ac:28: installing './config.sub'
configure.ac:17: installing './install-sh'
configure.ac:17: installing './missing'
Running autoconf ...
Running configure with --prefix=/home/jenkins/build/libvirt ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking whether /usr/bin/gmake supports nested variables... yes
checking whether /usr/bin/gmake supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether /usr/bin/gmake supports the include directive... yes (GNU style)
checking dependency style of gcc... none
checking for an ANSI C-conforming const... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
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... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking for ANSI C header files... (cached) yes
checking for popen... yes
checking for pclose... yes
checking for fgets... yes
checking for asprintf... yes
checking for vfprintf... yes
checking for fprintf... yes
checking for snprintf... yes
checking for sscanf... yes
checking for xsltproc... /usr/bin/xsltproc
configure: checking for CMPI headers...
checking standard... no
checking /usr/include/cmpi... no
checking /usr/local/include/cmpi... no
checking /src/Pegasus/Provider/CMPI... no
checking /opt/tog-pegasus/include/Pegasus/Provider/CMPI... no
checking /usr/include/Pegasus/Provider/CMPI... yes
checking return type for indications... CMPIStatus
configure: checking for CMPI provider directory
checking for ${exec_prefix}/lib/cmpi... yes
configure: checking for CIM servers
checking sfcbd ... no
checking cimserver ... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBVIRT... yes
checking for LIBXML... yes
checking for LIBCU... yes
checking for LIBUUID... yes
checking for LIBCONFIG... yes
----------------------------------------------------------
Configuration for libvirt-cim complete.

The following configuration options have been selected:
   CIMSERVER:  pegasus
   PROVIDERDIR:  ${exec_prefix}/lib/cmpi
   CPPFLAGS: -DCMPI_VERSION=100 -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2 -I/usr/include/libcmpiutil -I/usr/include/uuid

You can override these values by setting the corresponding
configure command-line option(s); e.g.
   ./configure PROVIDERDIR=/home/me/lib/sblim/
----------------------------------------------------------
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating base_schema/install_base_schema.sh
config.status: creating base_schema/Makefile
config.status: creating libxkutil/Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating Makefile
config.status: creating libvirt-cim.spec
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
You may now run make

You may now run make
+ /usr/bin/gmake
/usr/bin/gmake  all-recursive
gmake[1]: Entering directory '<https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/build'>
Making all in libxkutil
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/build/libxkutil'>
  CC       xml_parse_test.o
  CC       misc_util.lo
  CC       cs_util_instance.lo
  CC       device_parsing.lo
  CC       capability_parsing.lo
  CC       xmlgen.lo
  CC       infostore.lo
  CC       pool_parsing.lo
  CC       acl_parsing.lo
  CC       list_util.lo
  CCLD     libxkutil.la
  CCLD     xml_parse_test
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/build/libxkutil'>
Making all in src
gmake[2]: Entering directory '<https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/build/src'>
  CC       Virt_ComputerSystem.lo
  CC       Virt_VirtualSystemSnapshotService.lo
  CC       Virt_HostSystem.lo
  CC       Virt_VSSD.lo
  CC       Virt_Device.lo
In file included from /usr/include/string.h:494,
                 from ../../src/Virt_HostSystem.c:23:
In function ‘strncpy’,
    inlined from ‘resolve_host’ at ../../src/Virt_HostSystem.c:55:28,
    inlined from ‘get_fqdn’ at ../../src/Virt_HostSystem.c:92:23,
    inlined from ‘set_host_system_properties’ at ../../src/Virt_HostSystem.c:109:13:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In function ‘strncpy’,
    inlined from ‘resolve_host’ at ../../src/Virt_HostSystem.c:67:17,
    inlined from ‘get_fqdn’ at ../../src/Virt_HostSystem.c:92:23,
    inlined from ‘set_host_system_properties’ at ../../src/Virt_HostSystem.c:109:13:
/usr/include/bits/string_fortified.h:106:10: error: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Werror=stringop-truncation]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
gmake[2]: *** [Makefile:1064: Virt_HostSystem.lo] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: Leaving directory '<https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/build/src'>
gmake[1]: *** [Makefile:704: all-recursive] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-cim-build/systems=libvirt-fedora-rawhide/ws/build'>
gmake: *** [Makefile:578: all] Error 2
Build step 'Execute shell' marked build as failure




More information about the Libvirt-ci mailing list