[Libvirt-ci] Build failed in Jenkins: libvirt-ocaml-build » libvirt-freebsd-10 #17

ci at centos.org ci at centos.org
Mon Nov 12 12:32:45 UTC 2018


See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-10/17/display/redirect>

------------------------------------------
Started by upstream project "libvirt-ocaml-build" build number 17
originally caused by:
 Started by upstream project "libvirt-build" build number 123
 originally caused by:
  Started by an SCM change
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-freebsd-10 (libvirt) in workspace <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-10/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-ocaml.git # timeout=10
Fetching upstream changes from https://github.com/libvirt/libvirt-ocaml.git
 > git --version # timeout=10
 > git fetch --tags --progress https://github.com/libvirt/libvirt-ocaml.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 4f58df00fe6f19d3935aacb2c0c8c39de1f2c385 (refs/remotes/origin/master)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 4f58df00fe6f19d3935aacb2c0c8c39de1f2c385
Commit message: "doc: invoke ocamldoc with -colorize-code"
 > git rev-list --no-walk 4f58df00fe6f19d3935aacb2c0c8c39de1f2c385 # 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-ocaml] $ /bin/sh -xe /tmp/jenkins1446082685560215692.sh
+ autoreconf -vfi
autoreconf-2.69: Entering directory `.'
autoreconf-2.69: configure.ac: not using Gettext
autoreconf-2.69: running: aclocal --force 
autoreconf-2.69: configure.ac: tracing
autoreconf-2.69: configure.ac: not using Libtool
autoreconf-2.69: running: /usr/local/bin/autoconf-2.69 --force
autoreconf-2.69: running: /usr/local/bin/autoheader-2.69 --force
autoreconf-2.69: configure.ac: not using Automake
autoreconf-2.69: Leaving directory `.'
+ ./configure --prefix=/home/jenkins/build/libvirt
checking for gcc... no
checking for cc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... cc -E
checking for function prototypes... yes
checking whether cc understands -c and -o together... yes
checking build system type... x86_64-unknown-freebsd10.4
checking host system type... x86_64-unknown-freebsd10.4
checking for perl... perl
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBVIRT... yes
checking for ocamlc... ocamlc
OCaml version is 4.02.3
OCaml library path is /usr/local/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
checking for ocamlbuild... ocamlbuild
checking for ocamlfind... ocamlfind
checking for OCaml findlib package unix... found
------------------------------------------------------------
Thanks for downloading ocaml-libvirt 0.6.1.4
------------------------------------------------------------
configure: creating ./config.status
config.status: creating META
config.status: creating libvirt/libvirt_version.ml
config.status: creating Makefile
config.status: creating Make.rules
config.status: creating libvirt/Makefile
config.status: creating examples/Makefile
config.status: creating config.h
+ /usr/local/bin/gmake
for d in libvirt examples; do \
  /usr/local/bin/gmake -C $d all; \
  if [ $? -ne 0 ]; then exit 1; fi; \
done
gmake[1]: Entering directory '/usr<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-10/ws/libvirt'>
rm -f .depend
ocamlfind ocamldep -package unix  libvirt.mli libvirt_version.mli libvirt.ml libvirt_version.ml > .depend
perl -w generator.pl
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt.mli
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt_version.mli
generator.pl: written libvirt_c.c
cc -g -O2 -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC   -c -o libvirt_c.o libvirt_c.c
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt_version.ml
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt.ml
In file included from libvirt_c.c:2362:
./libvirt_c_epilogue.c:156:9: error: comparison of 0 <= unsigned enum expression is always true [-Werror,-Wtautological-compare]
  if (0 <= code && code <= MAX_VIR_CODE)
      ~ ^  ~~~~
./libvirt_c_epilogue.c:172:9: error: comparison of 0 <= unsigned enum expression is always true [-Werror,-Wtautological-compare]
  if (0 <= code && code <= MAX_VIR_DOMAIN)
      ~ ^  ~~~~
./libvirt_c_epilogue.c:188:9: error: comparison of 0 <= unsigned enum expression is always true [-Werror,-Wtautological-compare]
  if (0 <= code && code <= MAX_VIR_LEVEL)
      ~ ^  ~~~~
3 errors generated.
gmake[1]: *** [<builtin>: libvirt_c.o] Error 1
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-10/ws/libvirt'>
gmake: *** [Makefile:31: all] Error 1
Build step 'Execute shell' marked build as failure




More information about the Libvirt-ci mailing list