Build failed in Jenkins: libvirt-build » libvirt-debian-10 #1129
by ci@centos.org
See <https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/1129/di...>
Changes:
[berrange] util: add helper API for getting URI parameters
[berrange] libvirt: pass a directory path into drivers for embedded usage
[berrange] libvirt: support an "embed" URI path selector for opening drivers
[berrange] qemu: add support for running QEMU driver in embedded mode
[berrange] secrets: add support for running secret driver in embedded mode
[berrange] qemu: introduce a new "virt-qemu-run" program
[berrange] docs: add pages to support Go module package resolution
------------------------------------------
[...truncated 88.53 KB...]
CC util/libvirt_util_la-virnetdevopenvswitch.lo
CC util/libvirt_util_la-virnetdevtap.lo
CC util/libvirt_util_la-virnetdevveth.lo
CC util/libvirt_util_la-virnetdevvlan.lo
CC util/libvirt_util_la-virnetdevvportprofile.lo
CC util/libvirt_util_la-virnetlink.lo
CC util/libvirt_util_la-virnodesuspend.lo
CC util/libvirt_util_la-virnvme.lo
CC util/libvirt_util_la-virkmod.lo
CC util/libvirt_util_la-virnuma.lo
CC util/libvirt_util_la-virobject.lo
CC util/libvirt_util_la-virpci.lo
CC util/libvirt_util_la-virpidfile.lo
CC util/libvirt_util_la-virpolkit.lo
CC util/libvirt_util_la-virportallocator.lo
CC util/libvirt_util_la-virprocess.lo
CC util/libvirt_util_la-virqemu.lo
CC util/libvirt_util_la-virrandom.lo
CC util/libvirt_util_la-virresctrl.lo
CC util/libvirt_util_la-virrotatingfile.lo
CC util/libvirt_util_la-virscsi.lo
CC util/libvirt_util_la-virscsihost.lo
CC util/libvirt_util_la-virscsivhost.lo
CC util/libvirt_util_la-virseclabel.lo
CC util/libvirt_util_la-virsecret.lo
CC util/libvirt_util_la-virsocket.lo
CC util/libvirt_util_la-virsocketaddr.lo
CC util/libvirt_util_la-virstorageencryption.lo
CC util/libvirt_util_la-virstoragefile.lo
CC util/libvirt_util_la-virstoragefilebackend.lo
CC util/libvirt_util_la-virstring.lo
CC util/libvirt_util_la-virsysinfo.lo
CC util/libvirt_util_la-virsystemd.lo
CC util/libvirt_util_la-virthread.lo
CC util/libvirt_util_la-virthreadjob.lo
CC util/libvirt_util_la-virthreadpool.lo
CC util/libvirt_util_la-virtime.lo
CC util/libvirt_util_la-virtpm.lo
CC util/libvirt_util_la-virtypedparam-public.lo
CC util/libvirt_util_la-virtypedparam.lo
CC util/libvirt_util_la-virusb.lo
CC util/libvirt_util_la-viruri.lo
CC util/libvirt_util_la-virutil.lo
CC util/libvirt_util_la-viruuid.lo
CC util/libvirt_util_la-virvhba.lo
CC util/libvirt_util_la-virvsock.lo
CC util/libvirt_util_la-virxml.lo
CC util/libvirt_util_la-virmdev.lo
CC util/libvirt_util_la-virfilecache.lo
CC conf/libvirt_conf_la-netdev_bandwidth_conf.lo
CC conf/libvirt_conf_la-netdev_vport_profile_conf.lo
CC conf/libvirt_conf_la-netdev_vlan_conf.lo
CC conf/libvirt_conf_la-virnetworkportdef.lo
CC conf/libvirt_conf_la-backup_conf.lo
CC conf/libvirt_conf_la-capabilities.lo
CC conf/libvirt_conf_la-checkpoint_conf.lo
CC conf/libvirt_conf_la-domain_addr.lo
CC conf/libvirt_conf_la-domain_capabilities.lo
CC conf/libvirt_conf_la-domain_conf.lo
CC conf/libvirt_conf_la-domain_audit.lo
CC conf/libvirt_conf_la-domain_nwfilter.lo
CC conf/libvirt_conf_la-virsavecookie.lo
CC conf/libvirt_conf_la-moment_conf.lo
CC conf/libvirt_conf_la-snapshot_conf.lo
CC conf/libvirt_conf_la-numa_conf.lo
CC conf/libvirt_conf_la-virdomaincheckpointobjlist.lo
CC conf/libvirt_conf_la-virdomainobjlist.lo
CC conf/libvirt_conf_la-virdomainmomentobjlist.lo
CC conf/libvirt_conf_la-virdomainsnapshotobjlist.lo
CC conf/libvirt_conf_la-object_event.lo
CC conf/libvirt_conf_la-domain_event.lo
CC conf/libvirt_conf_la-network_event.lo
CC conf/libvirt_conf_la-storage_event.lo
CC conf/libvirt_conf_la-node_device_event.lo
CC conf/libvirt_conf_la-secret_event.lo
CC conf/libvirt_conf_la-network_conf.lo
CC conf/libvirt_conf_la-virnetworkobj.lo
CC conf/libvirt_conf_la-networkcommon_conf.lo
CC conf/libvirt_conf_la-nwfilter_params.lo
CC conf/libvirt_conf_la-nwfilter_ipaddrmap.lo
CC conf/libvirt_conf_la-nwfilter_conf.lo
CC conf/libvirt_conf_la-virnwfilterobj.lo
CC conf/libvirt_conf_la-virnwfilterbindingdef.lo
CC conf/libvirt_conf_la-virnwfilterbindingobj.lo
CC conf/libvirt_conf_la-virnwfilterbindingobjlist.lo
CC conf/libvirt_conf_la-node_device_conf.lo
CC conf/libvirt_conf_la-node_device_util.lo
CC conf/libvirt_conf_la-virnodedeviceobj.lo
CC conf/libvirt_conf_la-storage_adapter_conf.lo
CC conf/libvirt_conf_la-storage_capabilities.lo
CC conf/libvirt_conf_la-storage_conf.lo
CC conf/libvirt_conf_la-virstorageobj.lo
CC conf/libvirt_conf_la-interface_conf.lo
CC conf/libvirt_conf_la-virinterfaceobj.lo
CC conf/libvirt_conf_la-secret_conf.lo
CC conf/libvirt_conf_la-virsecretobj.lo
CC conf/libvirt_conf_la-cpu_conf.lo
CC conf/libvirt_conf_la-virchrdev.lo
CC conf/libvirt_conf_la-device_conf.lo
CC cpu/libvirt_cpu_la-cpu.lo
CC cpu/libvirt_cpu_la-cpu_x86.lo
CC cpu/libvirt_cpu_la-cpu_s390.lo
CC cpu/libvirt_cpu_la-cpu_arm.lo
CC cpu/libvirt_cpu_la-cpu_ppc64.lo
CC cpu/libvirt_cpu_la-cpu_map.lo
CC security/libvirt_security_manager_la-security_driver.lo
CC security/libvirt_security_manager_la-security_nop.lo
CC security/libvirt_security_manager_la-security_stack.lo
CC security/libvirt_security_manager_la-security_dac.lo
CC security/libvirt_security_manager_la-security_manager.lo
CC security/libvirt_security_manager_la-security_util.lo
CC security/libvirt_security_manager_la-security_selinux.lo
CC security/libvirt_security_manager_la-security_apparmor.lo
CC access/libvirt_driver_access_la-viraccessperm.lo
CC access/libvirt_driver_access_la-viraccessmanager.lo
CC access/libvirt_driver_access_la-viraccessdrivernop.lo
CC access/libvirt_driver_access_la-viraccessdriverstack.lo
CC access/libvirt_driver_access_la-viraccessdriverpolkit.lo
CC access/libvirt_driver_access_la-viraccessapicheck.lo
CC access/libvirt_driver_access_la-viraccessapicheckqemu.lo
CC access/libvirt_driver_access_la-viraccessapichecklxc.lo
CC logging/libvirt_driver_log_la-log_manager.lo
CC logging/libvirt_driver_log_la-log_protocol.lo
CC locking/libvirt_driver_lock_la-lock_manager.lo
CC locking/libvirt_driver_lock_la-lock_driver_nop.lo
CC locking/libvirt_driver_lock_la-domain_lock.lo
CC rpc/libvirt_net_rpc_la-virnetmessage.lo
CC rpc/libvirt_net_rpc_la-virnettlscontext.lo
CC rpc/libvirt_net_rpc_la-virnetsocket.lo
CC rpc/libvirt_net_rpc_la-virkeepalive.lo
CC rpc/libvirt_net_rpc_la-virnetsshsession.lo
CC rpc/libvirt_net_rpc_la-virnetsaslcontext.lo
CC rpc/libvirt_net_rpc_la-virnetlibsshsession.lo
CC rpc/libvirt_net_rpc_la-virnetprotocol.lo
CC rpc/libvirt_net_rpc_la-virkeepaliveprotocol.lo
CC rpc/libvirt_net_rpc_server_la-virnetserverprogram.lo
CC rpc/libvirt_net_rpc_server_la-virnetserverservice.lo
CC rpc/libvirt_net_rpc_server_la-virnetserverclient.lo
CC rpc/libvirt_net_rpc_server_la-virnetdaemon.lo
CC rpc/libvirt_net_rpc_server_la-virnetserver.lo
CC rpc/libvirt_net_rpc_client_la-virnetclientprogram.lo
CC rpc/libvirt_net_rpc_client_la-virnetclientstream.lo
CC rpc/libvirt_net_rpc_client_la-virnetclient.lo
CC test/libvirt_driver_test_la-test_driver.lo
CC esx/libvirt_driver_esx_la-esx_driver.lo
CC esx/libvirt_driver_esx_la-esx_interface_driver.lo
CC esx/libvirt_driver_esx_la-esx_network_driver.lo
CC esx/libvirt_driver_esx_la-esx_storage_driver.lo
CC esx/libvirt_driver_esx_la-esx_storage_backend_vmfs.lo
CC esx/libvirt_driver_esx_la-esx_storage_backend_iscsi.lo
CC esx/libvirt_driver_esx_la-esx_stream.lo
CC esx/libvirt_driver_esx_la-esx_util.lo
CC esx/libvirt_driver_esx_la-esx_vi.lo
CC esx/libvirt_driver_esx_la-esx_vi_methods.lo
CC esx/libvirt_driver_esx_la-esx_vi_types.lo
CC vmx/libvirt_vmx_la-vmx.lo
CC vmware/libvirt_driver_vmware_la-vmware_driver.lo
CC vmware/libvirt_driver_vmware_la-vmware_conf.lo
CC openvz/libvirt_driver_openvz_la-openvz_conf.lo
CC openvz/libvirt_driver_openvz_la-openvz_driver.lo
CC openvz/libvirt_driver_openvz_la-openvz_util.lo
CC remote/libvirt_driver_remote_la-remote_driver.lo
CC remote/libvirt_driver_remote_la-remote_protocol.lo
CC remote/libvirt_driver_remote_la-lxc_protocol.lo
CC remote/libvirt_driver_remote_la-qemu_protocol.lo
CCLD libvirt_driver.la
GEN libvirt_probes.lo
CC storage/libvirt_driver_storage_impl_la-storage_driver.lo
CC storage/libvirt_driver_storage_impl_la-storage_backend.lo
CC storage/libvirt_driver_storage_impl_la-storage_util.lo
CC lxc/libvirt_lxc-lxc_conf.o
CC lxc/libvirt_lxc-lxc_container.o
CC lxc/libvirt_lxc-lxc_cgroup.o
CC lxc/libvirt_lxc-lxc_domain.o
CC lxc/libvirt_lxc-lxc_fuse.o
CC lxc/libvirt_lxc-lxc_controller.o
CC network/libvirt_leaseshelper-leaseshelper.o
CC admin/libvirt_driver_admin_la-admin_server.lo
CC admin/libvirt_driver_admin_la-admin_server_dispatch.lo
CC admin/libvirt_driver_admin_la-admin_protocol.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_glue.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_driver.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_snapshot_conf.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V5_0.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V5_1.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_V5_2.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_common.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_network.lo
CC vbox/libvirt_driver_vbox_impl_la-vbox_storage.lo
CCLD libvirt_driver_qemu_impl.la
GEN libvirt_qemu_probes.lo
CC libxl/libvirt_driver_libxl_impl_la-xen_common.lo
CC libxl/libvirt_driver_libxl_impl_la-xen_xl.lo
CC libxl/libvirt_driver_libxl_impl_la-xen_xm.lo
CC libxl/libvirt_driver_libxl_impl_la-libxl_conf.lo
CC libxl/libvirt_driver_libxl_impl_la-libxl_capabilities.lo
CC libxl/libvirt_driver_libxl_impl_la-libxl_domain.lo
CC libxl/libvirt_driver_libxl_impl_la-libxl_driver.lo
CC libxl/libvirt_driver_libxl_impl_la-libxl_logger.lo
CC libxl/libvirt_driver_libxl_impl_la-libxl_migration.lo
CCLD libvirt_driver_lxc_impl.la
CC interface/libvirt_driver_interface_la-interface_driver.lo
CC interface/libvirt_driver_interface_la-interface_backend_netcf.lo
CC interface/libvirt_driver_interface_la-interface_backend_udev.lo
CCLD libvirt_driver_network_impl.la
CC nwfilter/libvirt_driver_nwfilter_impl_la-nwfilter_driver.lo
CC nwfilter/libvirt_driver_nwfilter_impl_la-nwfilter_gentech_driver.lo
CC nwfilter/libvirt_driver_nwfilter_impl_la-nwfilter_dhcpsnoop.lo
CC nwfilter/libvirt_driver_nwfilter_impl_la-nwfilter_ebiptables_driver.lo
CC nwfilter/libvirt_driver_nwfilter_impl_la-nwfilter_learnipaddr.lo
CC node_device/libvirt_driver_nodedev_la-node_device_driver.lo
CC node_device/libvirt_driver_nodedev_la-node_device_udev.lo
CC secret/libvirt_driver_secret_la-secret_driver.lo
CCLD libvirt_util.la
CCLD libvirt_conf.la
CCLD libvirt_cpu.la
CCLD libvirt_security_manager.la
CCLD libvirt_driver_access.la
CCLD libvirt_driver_log.la
CCLD libvirt_driver_lock.la
CCLD libvirt-net-rpc.la
CCLD libvirt-net-rpc-server.la
CCLD libvirt-net-rpc-client.la
CCLD libvirt_driver_test.la
CCLD libvirt_driver_esx.la
CCLD libvirt_vmx.la
CCLD libvirt_driver_vmware.la
CCLD libvirt_driver_openvz.la
CCLD libvirt_driver_remote.la
CCLD libvirt_driver_storage_impl.la
CCLD libvirt_driver_admin.la
CCLD libvirt_driver_vbox_impl.la
CCLD libvirt_driver_libxl_impl.la
CCLD libvirt.la
CCLD virt-qemu-run
CCLD libvirt_sanlock_helper
CCLD virt-aa-helper
/usr/bin/ld: qemu/qemu_shim.o: undefined reference to symbol 'g_thread_new'
/usr/bin/ld: //lib/x86_64-linux-gnu/libglib-2.0.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:8821: virt-qemu-run] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/buil...'>
make[2]: *** [Makefile:7337: all] Error 2
make[2]: Leaving directory '<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/buil...'>
make[1]: *** [Makefile:1684: all-recursive] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-build/systems=libvirt-debian-10/ws/build'>
make: *** [Makefile:1577: all] Error 2
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: libvirt-ocaml-build » libvirt-debian-9 #850
by ci@centos.org
See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-9/85...>
Changes:
[rjones] block_peek, memory_peek: Use bytes for return buffer.
[rjones] String_val returns const char * in OCaml 4.10.
[rjones] Don't try to memcpy into a String_val.
------------------------------------------
Started by upstream project "libvirt-ocaml-build" build number 850
originally caused by:
Started by an SCM change
Started by upstream project "libvirt-build" build number 1126
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-debian-9 (libvirt) in workspace <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-9/ws/>
No credentials specified
> 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 2e48637933eaa9e6e2644282031371199595a842 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2e48637933eaa9e6e2644282031371199595a842
Commit message: "Don't try to memcpy into a String_val."
> git rev-list --no-walk c4776d501309eb209211cdd46536bfe224267740 # 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/jenkins2912230565993516560.sh
+ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
+ ./configure --prefix=/home/jenkins/build/libvirt
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 for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for perl... perl
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 ocamlc... ocamlc
OCaml version is 4.02.3
OCaml library path is /usr/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... no
checking for ocamlopt.opt... no
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.5
------------------------------------------------------------
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
+ /usr/bin/make
for d in libvirt examples; do \
/usr/bin/make -C $d all; \
if [ $? -ne 0 ]; then exit 1; fi; \
done
make[1]: Entering directory '<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-9/ws...'>
rm -f .depend
ocamlfind ocamldep -package unix libvirt_version.mli libvirt.mli libvirt_version.ml libvirt.ml > .depend
perl -w generator.pl
cc -g -O2 -I/home/jenkins/build/libvirt/include -DCAML_NAME_SPACE -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_oneoffs.o libvirt_c_oneoffs.c
cc -g -O2 -I/home/jenkins/build/libvirt/include -DCAML_NAME_SPACE -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_common.o libvirt_c_common.c
generator.pl: written libvirt_generated.c
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
cc -g -O2 -I/home/jenkins/build/libvirt/include -DCAML_NAME_SPACE -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_generated.o libvirt_generated.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
libvirt_generated.c: In function ‘ocaml_libvirt_domain_get_uuid’:
libvirt_generated.c:836:11: error: implicit declaration of function ‘Bytes_val’ [-Werror=implicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~
libvirt_generated.c:836:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_network_get_uuid’:
libvirt_generated.c:1332:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_get_uuid’:
libvirt_generated.c:1643:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_secret_get_uuid’:
libvirt_generated.c:2261:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
cc1: all warnings being treated as errors
<builtin>: recipe for target 'libvirt_generated.o' failed
make[1]: *** [libvirt_generated.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_connect_call_auth_default_callback’:
libvirt_c_oneoffs.c:397:17: error: implicit declaration of function ‘Bytes_val’ [-Werror=implicit-function-declaration]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^~~~~~~~~
libvirt_c_oneoffs.c:397:17: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_get_vcpus’:
libvirt_c_oneoffs.c:718:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^~~~~~~~~
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_get_all_domain_stats’:
libvirt_c_oneoffs.c:903:13: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_block_peek_native’:
libvirt_c_oneoffs.c:1060:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^~~~~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_memory_peek_native’:
libvirt_c_oneoffs.c:1092:27: error: initialization makes pointer from integer without a cast [-Werror=int-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^~~~~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_secret_get_value’:
libvirt_c_oneoffs.c:1649:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), secval, size);
^~~~~~~~~
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
cc1: all warnings being treated as errors
<builtin>: recipe for target 'libvirt_c_oneoffs.o' failed
make[1]: *** [libvirt_c_oneoffs.o] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-9/ws...'>
Makefile:29: recipe for target 'all' failed
make: *** [all] Error 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: libvirt-ocaml-build » libvirt-freebsd-11 #850
by ci@centos.org
See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-11/...>
Changes:
[rjones] block_peek, memory_peek: Use bytes for return buffer.
[rjones] String_val returns const char * in OCaml 4.10.
[rjones] Don't try to memcpy into a String_val.
------------------------------------------
Started by upstream project "libvirt-ocaml-build" build number 850
originally caused by:
Started by an SCM change
Started by upstream project "libvirt-build" build number 1126
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-freebsd-11 (libvirt) in workspace <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-11/ws/>
No credentials specified
> 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 --force --progress https://github.com/libvirt/libvirt-ocaml.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 2e48637933eaa9e6e2644282031371199595a842 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2e48637933eaa9e6e2644282031371199595a842
Commit message: "Don't try to memcpy into a String_val."
> git rev-list --no-walk c4776d501309eb209211cdd46536bfe224267740 # 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/jenkins1205692220975365973.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: configure.ac: not using Autoheader
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-freebsd11.3
checking host system type... x86_64-unknown-freebsd11.3
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.05.0
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... no
checking for ocamlfind... ocamlfind
checking for OCaml findlib package unix... found
------------------------------------------------------------
Thanks for downloading ocaml-libvirt 0.6.1.5
------------------------------------------------------------
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
+ /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-11/...'>
rm -f .depend
ocamlfind ocamldep -package unix libvirt.mli libvirt_version.mli libvirt.ml libvirt_version.ml > .depend
perl -w generator.pl
generator.pl: written libvirt_generated.c
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_oneoffs.o libvirt_c_oneoffs.c
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_common.o libvirt_c_common.c
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
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_generated.o libvirt_generated.c
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt.ml
libvirt_c_oneoffs.c:397:17: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^
libvirt_c_oneoffs.c:397:17: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_c_oneoffs.c:718:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^
libvirt_c_oneoffs.c:718:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^~~~~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_c_oneoffs.c:903:13: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^
libvirt_c_oneoffs.c:903:13: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_c_oneoffs.c:1060:27: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
unsigned char *buffer = Bytes_val (bufferv);
^
libvirt_c_oneoffs.c:1060:18: error: incompatible integer to pointer conversion initializing 'unsigned char *' with an expression of type 'int' [-Werror,-Wint-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^ ~~~~~~~~~~~~~~~~~~~
libvirt_c_oneoffs.c:1092:27: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
unsigned char *buffer = Bytes_val (bufferv);
^
libvirt_c_oneoffs.c:1092:18: error: incompatible integer to pointer conversion initializing 'unsigned char *' with an expression of type 'int' [-Werror,-Wint-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^ ~~~~~~~~~~~~~~~~~~~
libvirt_c_oneoffs.c:1649:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), secval, size);
^
libvirt_c_oneoffs.c:1649:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), secval, size);
^~~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
12 errors generated.
gmake[1]: *** [<builtin>: libvirt_c_oneoffs.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libvirt_generated.c:836:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:836:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_generated.c:1332:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:1332:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_generated.c:1643:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:1643:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_generated.c:2261:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:2261:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:62:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
8 errors generated.
gmake[1]: *** [<builtin>: libvirt_generated.o] Error 1
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-11/...'>
gmake: *** [Makefile:29: all] Error 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: libvirt-ocaml-build » libvirt-freebsd-12 #850
by ci@centos.org
See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-12/...>
Changes:
[rjones] block_peek, memory_peek: Use bytes for return buffer.
[rjones] String_val returns const char * in OCaml 4.10.
[rjones] Don't try to memcpy into a String_val.
------------------------------------------
Started by upstream project "libvirt-ocaml-build" build number 850
originally caused by:
Started by an SCM change
Started by upstream project "libvirt-build" build number 1126
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-freebsd-12 (libvirt) in workspace <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-12/ws/>
No credentials specified
> 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 --force --progress https://github.com/libvirt/libvirt-ocaml.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 2e48637933eaa9e6e2644282031371199595a842 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2e48637933eaa9e6e2644282031371199595a842
Commit message: "Don't try to memcpy into a String_val."
> git rev-list --no-walk c4776d501309eb209211cdd46536bfe224267740 # 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/jenkins17127586064095911293.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: configure.ac: not using Autoheader
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-freebsd12.1
checking host system type... x86_64-unknown-freebsd12.1
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.05.0
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... no
checking for ocamlfind... ocamlfind
checking for OCaml findlib package unix... found
------------------------------------------------------------
Thanks for downloading ocaml-libvirt 0.6.1.5
------------------------------------------------------------
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
+ /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-12/...'>
rm -f .depend
ocamlfind ocamldep -package unix libvirt.mli libvirt_version.mli libvirt.ml libvirt_version.ml > .depend
perl -w generator.pl
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_oneoffs.o libvirt_c_oneoffs.c
generator.pl: written libvirt_generated.c
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_common.o libvirt_c_common.c
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
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/local/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_generated.o libvirt_generated.c
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt.ml
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt_version.ml
libvirt_c_oneoffs.c:397:17: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^
libvirt_c_oneoffs.c:397:17: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_c_oneoffs.c:718:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^
libvirt_c_oneoffs.c:718:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^~~~~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_c_oneoffs.c:903:13: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^
libvirt_c_oneoffs.c:903:13: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_c_oneoffs.c:1060:27: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
unsigned char *buffer = Bytes_val (bufferv);
^
libvirt_c_oneoffs.c:1060:18: error: incompatible integer to pointer conversion initializing 'unsigned char *' with an expression of type 'int' [-Werror,-Wint-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^ ~~~~~~~~~~~~~~~~~~~
libvirt_c_oneoffs.c:1092:27: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
unsigned char *buffer = Bytes_val (bufferv);
^
libvirt_c_oneoffs.c:1092:18: error: incompatible integer to pointer conversion initializing 'unsigned char *' with an expression of type 'int' [-Werror,-Wint-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^ ~~~~~~~~~~~~~~~~~~~
libvirt_c_oneoffs.c:1649:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), secval, size);
^
libvirt_c_oneoffs.c:1649:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), secval, size);
^~~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
12 errors generated.
gmake[1]: *** [<builtin>: libvirt_c_oneoffs.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libvirt_generated.c:836:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:836:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_generated.c:1332:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:1332:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_generated.c:1643:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:1643:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
libvirt_generated.c:2261:11: error: implicit declaration of function 'Bytes_val' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:2261:11: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'void *' [-Werror,-Wint-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
/usr/include/string.h:64:31: note: passing argument to parameter here
void *memcpy(void * __restrict, const void * __restrict, size_t);
^
8 errors generated.
gmake[1]: *** [<builtin>: libvirt_generated.o] Error 1
gmake[1]: Leaving directory '/usr<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-freebsd-12/...'>
gmake: *** [Makefile:29: all] Error 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: libvirt-ocaml-build » libvirt-centos-7 #850
by ci@centos.org
See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-centos-7/85...>
Changes:
[rjones] block_peek, memory_peek: Use bytes for return buffer.
[rjones] String_val returns const char * in OCaml 4.10.
[rjones] Don't try to memcpy into a String_val.
------------------------------------------
Started by upstream project "libvirt-ocaml-build" build number 850
originally caused by:
Started by an SCM change
Started by upstream project "libvirt-build" build number 1126
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-centos-7 (libvirt) in workspace <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-centos-7/ws/>
No credentials specified
> 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 2e48637933eaa9e6e2644282031371199595a842 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2e48637933eaa9e6e2644282031371199595a842
Commit message: "Don't try to memcpy into a String_val."
> git rev-list --no-walk c4776d501309eb209211cdd46536bfe224267740 # 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/jenkins1680108334624632000.sh
+ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
+ ./configure --prefix=/home/jenkins/build/libvirt
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 for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for perl... perl
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 ocamlc... ocamlc
OCaml version is 4.05.0
OCaml library path is /usr/lib64/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... no
checking for ocamlbuild... no
checking for ocamlfind... ocamlfind
checking for OCaml findlib package unix... found
------------------------------------------------------------
Thanks for downloading ocaml-libvirt 0.6.1.5
------------------------------------------------------------
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
+ /usr/bin/gmake
for d in libvirt examples; do \
/usr/bin/gmake -C $d all; \
if [ $? -ne 0 ]; then exit 1; fi; \
done
gmake[1]: Entering directory `<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-centos-7/ws...'>
rm -f .depend
ocamlfind ocamldep -package unix libvirt_version.mli libvirt.mli libvirt_version.ml libvirt.ml > .depend
gmake[1]: Leaving directory `<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-centos-7/ws...'>
gmake[1]: Entering directory `<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-centos-7/ws...'>
perl -w generator.pl
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/lib64/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_oneoffs.o libvirt_c_oneoffs.c
generator.pl: written libvirt_generated.c
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/lib64/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_common.o libvirt_c_common.c
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt.mli
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_connect_call_auth_default_callback’:
libvirt_c_oneoffs.c:397:9: error: implicit declaration of function ‘Bytes_val’ [-Werror=implicit-function-declaration]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^
libvirt_c_oneoffs.c:397:9: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_get_vcpus’:
libvirt_c_oneoffs.c:718:3: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
ocamlfind ocamlc -g -warn-error CDEFLMPSUVYZX-3 -safe-string -package unix -c libvirt_version.mli
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_get_all_domain_stats’:
libvirt_c_oneoffs.c:903:5: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_block_peek_native’:
libvirt_c_oneoffs.c:1060:27: error: initialization makes pointer from integer without a cast [-Werror]
unsigned char *buffer = Bytes_val (bufferv);
^
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_memory_peek_native’:
libvirt_c_oneoffs.c:1092:27: error: initialization makes pointer from integer without a cast [-Werror]
unsigned char *buffer = Bytes_val (bufferv);
^
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/lib64/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_generated.o libvirt_generated.c
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_secret_get_value’:
libvirt_c_oneoffs.c:1649:3: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
memcpy (Bytes_val (rv), secval, size);
^
In file included from libvirt_c.h:26:0,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
cc1: all warnings being treated as errors
gmake[1]: *** [libvirt_c_oneoffs.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
libvirt_generated.c: In function ‘ocaml_libvirt_domain_get_uuid’:
libvirt_generated.c:836:3: error: implicit declaration of function ‘Bytes_val’ [-Werror=implicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
libvirt_generated.c:836:3: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
libvirt_generated.c: In function ‘ocaml_libvirt_network_get_uuid’:
libvirt_generated.c:1332:3: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_get_uuid’:
libvirt_generated.c:1643:3: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
libvirt_generated.c: In function ‘ocaml_libvirt_secret_get_uuid’:
libvirt_generated.c:2261:3: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^
In file included from libvirt_c.h:26:0,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * __restrict__’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^
cc1: all warnings being treated as errors
gmake[1]: *** [libvirt_generated.o] Error 1
gmake[1]: Leaving directory `<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-centos-7/ws...'>
gmake: *** [all] Error 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: libvirt-ocaml-build » libvirt-debian-10 #850
by ci@centos.org
See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-10/8...>
Changes:
[rjones] block_peek, memory_peek: Use bytes for return buffer.
[rjones] String_val returns const char * in OCaml 4.10.
[rjones] Don't try to memcpy into a String_val.
------------------------------------------
Started by upstream project "libvirt-ocaml-build" build number 850
originally caused by:
Started by an SCM change
Started by upstream project "libvirt-build" build number 1126
originally caused by:
Started by an SCM change
Started by an SCM change
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-debian-10 (libvirt) in workspace <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-10/ws/>
No credentials specified
> 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 --force --progress https://github.com/libvirt/libvirt-ocaml.git +refs/heads/*:refs/remotes/origin/*
Checking out Revision 2e48637933eaa9e6e2644282031371199595a842 (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 2e48637933eaa9e6e2644282031371199595a842
Commit message: "Don't try to memcpy into a String_val."
> git rev-list --no-walk c4776d501309eb209211cdd46536bfe224267740 # 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/jenkins7927508885057315094.sh
+ autoreconf -vfi
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: running: /usr/bin/autoconf --force
autoreconf: configure.ac: not using Autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory `.'
+ ./configure --prefix=/home/jenkins/build/libvirt
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 for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for function prototypes... yes
checking whether gcc and cc understand -c and -o together... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for perl... perl
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 ocamlc... ocamlc
OCaml version is 4.05.0
OCaml library path is /usr/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... no
checking for ocamlfind... ocamlfind
checking for OCaml findlib package unix... found
------------------------------------------------------------
Thanks for downloading ocaml-libvirt 0.6.1.5
------------------------------------------------------------
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
+ /usr/bin/make
for d in libvirt examples; do \
/usr/bin/make -C $d all; \
if [ $? -ne 0 ]; then exit 1; fi; \
done
make[1]: Entering directory '<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-10/w...'>
rm -f .depend
ocamlfind ocamldep -package unix libvirt_version.mli libvirt.mli libvirt_version.ml libvirt.ml > .depend
perl -w generator.pl
generator.pl: written libvirt_generated.c
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_oneoffs.o libvirt_c_oneoffs.c
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_c_common.o libvirt_c_common.c
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
cc -g -O2 -DCAML_NAME_SPACE -I.. -I"/usr/lib/ocaml" -g -Wall -Werror -fPIC -c -o libvirt_generated.o libvirt_generated.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
libvirt_generated.c: In function ‘ocaml_libvirt_domain_get_uuid’:
libvirt_generated.c:836:11: error: implicit declaration of function ‘Bytes_val’; did you mean ‘Bp_val’? [-Werror=implicit-function-declaration]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~
Bp_val
libvirt_generated.c:836:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_network_get_uuid’:
libvirt_generated.c:1332:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_get_uuid’:
libvirt_generated.c:1643:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_secret_get_uuid’:
libvirt_generated.c:2261:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
cc1: all warnings being treated as errors
make[1]: *** [<builtin>: libvirt_generated.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_connect_call_auth_default_callback’:
libvirt_c_oneoffs.c:397:17: error: implicit declaration of function ‘Bytes_val’; did you mean ‘Bp_val’? [-Werror=implicit-function-declaration]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^~~~~~~~~
Bp_val
libvirt_c_oneoffs.c:397:17: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (v), cred->result, cred->resultlen);
^~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_get_vcpus’:
libvirt_c_oneoffs.c:718:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (strv), cpumaps, maxinfo * maplen);
^~~~~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_get_all_domain_stats’:
libvirt_c_oneoffs.c:903:13: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (v), uuid, VIR_UUID_BUFLEN);
^~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_block_peek_native’:
libvirt_c_oneoffs.c:1060:27: error: initialization of ‘unsigned char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^~~~~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_domain_memory_peek_native’:
libvirt_c_oneoffs.c:1092:27: error: initialization of ‘unsigned char *’ from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion]
unsigned char *buffer = Bytes_val (bufferv);
^~~~~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_secret_get_value’:
libvirt_c_oneoffs.c:1649:11: error: passing argument 1 of ‘memcpy’ makes pointer from integer without a cast [-Werror=int-conversion]
memcpy (Bytes_val (rv), secval, size);
^~~~~~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:42:14: note: expected ‘void * restrict’ but argument is of type ‘int’
extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
^~~~~~
cc1: all warnings being treated as errors
make[1]: *** [<builtin>: libvirt_c_oneoffs.o] Error 1
make[1]: Leaving directory '<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-debian-10/w...'>
make: *** [Makefile:29: all] Error 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: libvirt-ocaml-build » libvirt-fedora-rawhide #849
by ci@centos.org
See <https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-fedora-rawh...>
------------------------------------------
[...truncated 11.09 KB...]
| ^~~~~~~~~~
libvirt_c_oneoffs.c: In function ‘ocaml_libvirt_secret_get_value’:
/usr/lib64/ocaml/caml/mlvalues.h:265:24: error: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
libvirt_c_oneoffs.c:1649:11: note: in expansion of macro ‘String_val’
1649 | memcpy (String_val (rv), secval, size);
| ^~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_c_oneoffs.c:22:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
gmake[1]: *** [<builtin>: libvirt_c_oneoffs.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from /usr/lib64/ocaml/caml/alloc.h:24,
from libvirt_c.h:32,
from libvirt_generated.c:28:
libvirt_generated.c: In function ‘ocaml_libvirt_domain_create_linux’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:591:15: note: in expansion of macro ‘String_val’
591 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_create_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:613:15: note: in expansion of macro ‘String_val’
613 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_lookup_by_name’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:678:15: note: in expansion of macro ‘String_val’
678 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_lookup_by_uuid_string’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:744:15: note: in expansion of macro ‘String_val’
744 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_get_uuid’:
/usr/lib64/ocaml/caml/mlvalues.h:265:24: error: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
libvirt_generated.c:836:11: note: in expansion of macro ‘String_val’
836 | memcpy (String_val (rv), uuid, VIR_UUID_BUFLEN);
| ^~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/lib64/ocaml/caml/alloc.h:24,
from libvirt_c.h:32,
from libvirt_generated.c:28:
libvirt_generated.c: In function ‘ocaml_libvirt_domain_save’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:889:15: note: in expansion of macro ‘String_val’
889 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_restore’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:908:15: note: in expansion of macro ‘String_val’
908 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_core_dump’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:928:15: note: in expansion of macro ‘String_val’
928 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_define_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1020:15: note: in expansion of macro ‘String_val’
1020 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_attach_device’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1077:15: note: in expansion of macro ‘String_val’
1077 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_domain_detach_device’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1096:15: note: in expansion of macro ‘String_val’
1096 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_network_lookup_by_name’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1196:15: note: in expansion of macro ‘String_val’
1196 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_network_lookup_by_uuid_string’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1240:15: note: in expansion of macro ‘String_val’
1240 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_network_get_uuid’:
/usr/lib64/ocaml/caml/mlvalues.h:265:24: error: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
libvirt_generated.c:1332:11: note: in expansion of macro ‘String_val’
1332 | memcpy (String_val (rv), uuid, VIR_UUID_BUFLEN);
| ^~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/lib64/ocaml/caml/alloc.h:24,
from libvirt_c.h:32,
from libvirt_generated.c:28:
libvirt_generated.c: In function ‘ocaml_libvirt_network_create_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1386:15: note: in expansion of macro ‘String_val’
1386 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_network_define_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1408:15: note: in expansion of macro ‘String_val’
1408 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_lookup_by_name’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1528:15: note: in expansion of macro ‘String_val’
1528 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_lookup_by_uuid_string’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1572:15: note: in expansion of macro ‘String_val’
1572 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_get_uuid’:
/usr/lib64/ocaml/caml/mlvalues.h:265:24: error: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
libvirt_generated.c:1643:11: note: in expansion of macro ‘String_val’
1643 | memcpy (String_val (rv), uuid, VIR_UUID_BUFLEN);
| ^~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/lib64/ocaml/caml/alloc.h:24,
from libvirt_c.h:32,
from libvirt_generated.c:28:
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_create_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1679:15: note: in expansion of macro ‘String_val’
1679 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_pool_define_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1701:15: note: in expansion of macro ‘String_val’
1701 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_vol_lookup_by_name’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1954:15: note: in expansion of macro ‘String_val’
1954 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_vol_lookup_by_key’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1977:15: note: in expansion of macro ‘String_val’
1977 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_vol_lookup_by_path’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:1999:15: note: in expansion of macro ‘String_val’
1999 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_storage_vol_create_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:2021:15: note: in expansion of macro ‘String_val’
2021 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_secret_lookup_by_uuid_string’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:2209:15: note: in expansion of macro ‘String_val’
2209 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_secret_define_xml’:
/usr/lib64/ocaml/caml/mlvalues.h:265:23: error: initialization discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ^
libvirt_generated.c:2231:15: note: in expansion of macro ‘String_val’
2231 | char *str = String_val (strv);
| ^~~~~~~~~~
libvirt_generated.c: In function ‘ocaml_libvirt_secret_get_uuid’:
/usr/lib64/ocaml/caml/mlvalues.h:265:24: error: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Werror=discarded-qualifiers]
265 | #define String_val(x) ((const char *) Bp_val(x))
| ~^~~~~~~~~~~~~~~~~~~~~~~~~
libvirt_generated.c:2261:11: note: in expansion of macro ‘String_val’
2261 | memcpy (String_val (rv), uuid, VIR_UUID_BUFLEN);
| ^~~~~~~~~~
In file included from libvirt_c.h:26,
from libvirt_generated.c:28:
/usr/include/string.h:43:39: note: expected ‘void * restrict’ but argument is of type ‘const char *’
43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
| ~~~~~~~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
gmake[1]: *** [<builtin>: libvirt_generated.o] Error 1
gmake[1]: Leaving directory '<https://ci.centos.org/job/libvirt-ocaml-build/systems=libvirt-fedora-rawh...'>
gmake: *** [Makefile:29: all] Error 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
[Libvirt-ci] Build failed in Jenkins: osinfo-db-tools-check » libvirt-centos-7 #52
by ci@centos.org
See <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
------------------------------------------
[...truncated 2.16 KB...]
Ok: 3
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 1
The output from the failed tests:
1/4 osinfo-db-tools:style / syntax-check TIMEOUT 30.14 s
--- command ---
MESON_SOURCE_ROOT='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/ws/'> <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
--- stdout ---
GFDL_version
Wundef_boolean
avoid_if_before_free
bindtextdomain
cast_of_argument_to_free
cast_of_x_alloc_return_value
changelog
const_long_option
copyright_check
error_message_period
error_message_warn_fatal
m4_quote_check
makefile_TAB_only_indentation
makefile_at_at_check
makefile_path_separator_check
obsolete_symbols
po_check
prohibit_HAVE_MBRTOWC
prohibit_S_IS_definition
prohibit_argmatch_without_use
prohibit_assert_without_use
prohibit_atoi_atof
prohibit_backup_files
prohibit_c_ctype_without_use
prohibit_canonicalize_without_use
prohibit_cloexec_without_use
prohibit_close_stream_without_use
prohibit_cvs_keyword
prohibit_defined_have_decl_tests
prohibit_dirent_without_use
prohibit_double_semicolon
prohibit_doubled_word
prohibit_empty_lines_at_EOF
prohibit_error_without_use
prohibit_getopt_without_use
prohibit_gnu_make_extensions
prohibit_hash_pjw_without_use
prohibit_hash_without_use
prohibit_have_config_h
prohibit_ignore_value_without_use
prohibit_intprops_without_use
prohibit_inttostr_without_use
prohibit_long_options_without_use
prohibit_magic_number_exit
prohibit_openat_without_use
prohibit_path_max_allocation
prohibit_posixver_without_use
prohibit_quote_without_use
prohibit_quotearg_without_use
prohibit_reversed_compare_failure
prohibit_root_dev_ino_without_use
prohibit_safe_read_without_use
prohibit_same_without_use
prohibit_signal_without_use
prohibit_stat_st_blocks
prohibit_stddef_without_use
prohibit_stdio--_without_use
prohibit_stdio-safer_without_use
prohibit_strcmp
prohibit_strings_without_use
prohibit_strncpy
prohibit_test_double_equal
prohibit_test_minus_ao
prohibit_undesirable_word_seq
prohibit_verify_without_use
prohibit_xalloc_without_use
prohibit_xfreopen_without_use
proper_name_utf8_requires_ICONV
redundant_const
require_test_exit_idiom
space_tab
texinfo_acronym
tight_scope
trailing_blank
unmarked_diagnostics
useless_cpp_parens
vulnerable_makefile_CVE-2009-4029
vulnerable_makefile_CVE-2012-3386
--- stderr ---
Can't open ../gnulib/lib/intprops.h: No such file or directory.
autoconf: error: no input file
-------
Full log written to <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
FAILED: meson-test
/usr/local/bin/meson test --no-rebuild --print-errorlogs
ninja: build stopped: subcommand failed.
+ cat meson-logs/testlog.txt
Log of Meson test suite run on 2020-01-10T13:03:09.617558
Inherited environment: BUILD_URL='https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/52/' HOSTNAME='libvirt-centos-7' SHELL='/usr/bin/bash' HUDSON_SERVER_COOKIE='f4d3a7a925dabf8a' HISTSIZE='1000' MAKEFLAGS='-j3' BUILD_TAG='jenkins-osinfo-db-tools-check-systems=libvirt-centos-7-52' PERL5LIB='/home/jenkins/build/libvirt/lib/perl5/x86_64-linux-thread-multi' NINJA='/usr/bin/ninja-build' ROOT_BUILD_CAUSE='SCMTRIGGER' JOB_URL='https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/' WORKSPACE='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/ws/'> RUN_CHANGES_DISPLAY_URL='https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...' QT_GRAPHICSSYSTEM_CHECKED='1' USER='jenkins' LD_LIBRARY_PATH='/home/jenkins/build/libvirt/lib64:/home/jenkins/build/libvirt/lib' BUILD_CAUSE_UPSTREAMTRIGGER='true' JENKINS_HOME='/var/lib/jenkins' PATH='/home/jenkins/build/libvirt/bin:/home/jenkins/.ccache/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin' ROOT_BUILD_CAUSE_SCMTRIGGER='true' MAIL='/var/spool/mail/jenkins' RUN_DISPLAY_URL='https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...' _='/usr/local/bin/meson' C_INCLUDE_PATH='/home/jenkins/build/libvirt/include' PWD='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...'> HUDSON_URL='https://ci.centos.org/' LANG='en_US.UTF-8' JOB_NAME='osinfo-db-tools-check/systems=libvirt-centos-7' BUILD_DISPLAY_NAME='#52' JENKINS_URL='https://ci.centos.org/' BUILD_ID='52' BUILD_CAUSE='UPSTREAMTRIGGER' HISTCONTROL='ignoredups' JOB_BASE_NAME='systems=libvirt-centos-7' SHLVL='3' HOME='/home/jenkins' OSINFO_SYSTEM_DIR='/home/jenkins/build/libvirt/share/osinfo' MAKE='/usr/bin/gmake' JENKINS_SERVER_COOKIE='f4d3a7a925dabf8a' EXECUTOR_NUMBER='0' systems='libvirt-centos-7' NODE_LABELS='libvirt libvirt-centos-7' LOGNAME='jenkins' PYTHONPATH='/home/jenkins/build/libvirt/lib64/python3.6/site-packages' XDG_DATA_DIRS='/home/jenkins/build/libvirt/share:/usr/share:/usr/local/share' HUDSON_HOME='/var/lib/jenkins' NODE_NAME='libvirt-centos-7' PKG_CONFIG_PATH='/home/jenkins/build/libvirt/lib64/pkgconfig:/home/jenkins/build/libvirt/lib/pkgconfig' LESSOPEN='||/usr/bin/lesspipe.sh %s' JOB_DISPLAY_URL='https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...' BUILD_NUMBER='52' HUDSON_COOKIE='a6f5c279-ecd6-440b-9a22-16f7f0ae473e' GI_TYPELIB_PATH='/home/jenkins/build/libvirt/lib64/girepository-1.0:/home/jenkins/build/libvirt/lib/girepository-1.0' VIRT_PREFIX='/home/jenkins/build/libvirt' PYTHON='/usr/bin/python3'
1/4 osinfo-db-tools:style / syntax-check TIMEOUT 30.14 s
--- command ---
MESON_SOURCE_ROOT='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/ws/'> <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
--- stdout ---
GFDL_version
Wundef_boolean
avoid_if_before_free
bindtextdomain
cast_of_argument_to_free
cast_of_x_alloc_return_value
changelog
const_long_option
copyright_check
error_message_period
error_message_warn_fatal
m4_quote_check
makefile_TAB_only_indentation
makefile_at_at_check
makefile_path_separator_check
obsolete_symbols
po_check
prohibit_HAVE_MBRTOWC
prohibit_S_IS_definition
prohibit_argmatch_without_use
prohibit_assert_without_use
prohibit_atoi_atof
prohibit_backup_files
prohibit_c_ctype_without_use
prohibit_canonicalize_without_use
prohibit_cloexec_without_use
prohibit_close_stream_without_use
prohibit_cvs_keyword
prohibit_defined_have_decl_tests
prohibit_dirent_without_use
prohibit_double_semicolon
prohibit_doubled_word
prohibit_empty_lines_at_EOF
prohibit_error_without_use
prohibit_getopt_without_use
prohibit_gnu_make_extensions
prohibit_hash_pjw_without_use
prohibit_hash_without_use
prohibit_have_config_h
prohibit_ignore_value_without_use
prohibit_intprops_without_use
prohibit_inttostr_without_use
prohibit_long_options_without_use
prohibit_magic_number_exit
prohibit_openat_without_use
prohibit_path_max_allocation
prohibit_posixver_without_use
prohibit_quote_without_use
prohibit_quotearg_without_use
prohibit_reversed_compare_failure
prohibit_root_dev_ino_without_use
prohibit_safe_read_without_use
prohibit_same_without_use
prohibit_signal_without_use
prohibit_stat_st_blocks
prohibit_stddef_without_use
prohibit_stdio--_without_use
prohibit_stdio-safer_without_use
prohibit_strcmp
prohibit_strings_without_use
prohibit_strncpy
prohibit_test_double_equal
prohibit_test_minus_ao
prohibit_undesirable_word_seq
prohibit_verify_without_use
prohibit_xalloc_without_use
prohibit_xfreopen_without_use
proper_name_utf8_requires_ICONV
redundant_const
require_test_exit_idiom
space_tab
texinfo_acronym
tight_scope
trailing_blank
unmarked_diagnostics
useless_cpp_parens
vulnerable_makefile_CVE-2009-4029
vulnerable_makefile_CVE-2012-3386
--- stderr ---
Can't open ../gnulib/lib/intprops.h: No such file or directory.
autoconf: error: no input file
-------
2/4 osinfo-db-tools:unit / export-import OK 28.11 s
--- command ---
sysconfdir='/home/jenkins/build/libvirt/etc' datadir='/home/jenkins/build/libvirt/share' abs_top_srcdir='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/ws/'> abs_top_builddir='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...'> <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-2.9.2, py-1.4.32, pluggy-0.3.1
rootdir: <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...,> inifile:
collected 10 items
../tests/test_osinfo_db_export_import.py ........ss
===================== 8 passed, 2 skipped in 14.98 seconds =====================
-------
3/4 osinfo-db-tools:unit / path OK 7.25 s
--- command ---
sysconfdir='/home/jenkins/build/libvirt/etc' datadir='/home/jenkins/build/libvirt/share' abs_top_srcdir='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/ws/'> abs_top_builddir='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...'> <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-2.9.2, py-1.4.32, pluggy-0.3.1
rootdir: <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...,> inifile:
collected 5 items
../tests/test_osinfo_db_path.py .....
=========================== 5 passed in 0.81 seconds ===========================
-------
4/4 osinfo-db-tools:unit / validate OK 8.09 s
--- command ---
sysconfdir='/home/jenkins/build/libvirt/etc' datadir='/home/jenkins/build/libvirt/share' abs_top_srcdir='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/ws/'> abs_top_builddir='<https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...'> <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...>
--- stdout ---
============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-2.9.2, py-1.4.32, pluggy-0.3.1
rootdir: <https://ci.centos.org/job/osinfo-db-tools-check/systems=libvirt-centos-7/...,> inifile:
collected 6 items
../tests/test_osinfo_db_validate.py ......
=========================== 6 passed in 1.82 seconds ===========================
-------
Ok: 3
Expected Fail: 0
Fail: 1
Unexpected Pass: 0
Skipped: 0
Timeout: 1
+ exit 1
Build step 'Execute shell' marked build as failure
4 years, 11 months
Build failed in Jenkins: virt-viewer-build » libvirt-fedora-rawhide #954
by ci@centos.org
See <https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-rawhid...>
------------------------------------------
Started by upstream project "virt-viewer-build" build number 954
originally caused by:
Started by upstream project "libvirt-glib-build" build number 937
originally caused by:
Started by upstream project "libvirt-build" build number 1123
originally caused by:
Started by an SCM change
Started by an SCM change
Running as SYSTEM
[EnvInject] - Loading node environment variables.
Building remotely on libvirt-fedora-rawhide (libvirt) in workspace <https://ci.centos.org/job/virt-viewer-build/systems=libvirt-fedora-rawhid...>
No credentials specified
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url https://pagure.io/virt-viewer.git # timeout=10
Fetching upstream changes from https://pagure.io/virt-viewer.git
> git --version # timeout=10
> git fetch --tags --force --progress https://pagure.io/virt-viewer.git +refs/heads/*:refs/remotes/origin/*
ERROR: Error fetching remote repo 'origin'
hudson.plugins.git.GitException: Failed to fetch from https://pagure.io/virt-viewer.git
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:894)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1818)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
Caused by: hudson.plugins.git.GitException: Command "git fetch --tags --force --progress https://pagure.io/virt-viewer.git +refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout:
stderr: fatal: unable to access 'https://pagure.io/virt-viewer.git/': The requested URL returned error: 500
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:2042)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1761)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$400(CliGitAPIImpl.java:72)
at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:442)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:153)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler$1.call(RemoteGitImpl.java:146)
at hudson.remoting.UserRequest.perform(UserRequest.java:212)
at hudson.remoting.UserRequest.perform(UserRequest.java:54)
at hudson.remoting.Request$2.run(Request.java:369)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at hudson.remoting.Engine$1.lambda$newThread$0(Engine.java:93)
at java.lang.Thread.run(Thread.java:834)
Suppressed: hudson.remoting.Channel$CallSiteStackTrace: Remote call to JNLP4-connect connection from n64.gusty.ci.centos.org/172.19.2.192:57226
at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1743)
at hudson.remoting.UserRequest$ExceptionResponse.retrieve(UserRequest.java:357)
at hudson.remoting.Channel.call(Channel.java:957)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.execute(RemoteGitImpl.java:146)
at sun.reflect.GeneratedMethodAccessor407.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.jenkinsci.plugins.gitclient.RemoteGitImpl$CommandInvocationHandler.invoke(RemoteGitImpl.java:132)
at com.sun.proxy.$Proxy89.execute(Unknown Source)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:892)
at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1161)
at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1192)
at hudson.scm.SCM.checkout(SCM.java:504)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1208)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:574)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:499)
at hudson.model.Run.execute(Run.java:1818)
at hudson.matrix.MatrixRun.run(MatrixRun.java:153)
at hudson.model.ResourceController.execute(ResourceController.java:97)
at hudson.model.Executor.run(Executor.java:429)
ERROR: Error fetching remote repo 'origin'
4 years, 11 months