See
<
https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/59/dis...
Changes:
[phrdina] util: introduce vircgroupbackend files
[phrdina] vircgroup: introduce cgroup v1 backend files
[phrdina] vircgroup: extract virCgroupV1Available
[phrdina] vircgroup: detect available backend for cgroup
[phrdina] vircgroup: extract virCgroupV1ValidateMachineGroup
[phrdina] vircgroup: extract virCgroupV1CopyMounts
[phrdina] vircgroup: extract v1 detect functions
[phrdina] vircgroup: extract virCgroupV1CopyPlacement
[phrdina] vircgroup: extract virCgroupV1ValidatePlacement
[phrdina] vircgroup: extract virCgroupV1StealPlacement
[phrdina] vircgroup: extract virCgroupV1DetectControllers
[phrdina] vircgroup: extract virCgroupV1HasController
[phrdina] vircgroup: extract virCgroupV1GetAnyController
[phrdina] vircgroup: extract virCgroupV1PathOfController
[phrdina] vircgroup: extract virCgroupV1MakeGroup
[phrdina] vircgroup: extract virCgroupV1Remove
[phrdina] vircgroup: extract virCgroupV1AddTask
[phrdina] vircgroup: extract virCgroupV1HasEmptyTasks
[phrdina] vircgroup: extract virCgroupV1BindMount
[phrdina] vircgroup: extract virCgroupV1SetOwner
[phrdina] vircgroup: extract virCgroupV1(Set|Get)BlkioWeight
[phrdina] vircgroup: extract virCgroupV1GetBlkioIoServiced
[phrdina] vircgroup: extract virCgroupV1GetBlkioIoDeviceServiced
[phrdina] vircgroup: extract virCgroupV1(Set|Get)BlkioDeviceWeight
[phrdina] vircgroup: extract virCgroupV1(Set|Get)BlkioDeviceReadIops
[phrdina] vircgroup: extract virCgroupV1(Set|Get)BlkioDeviceWriteIops
[phrdina] vircgroup: extract virCgroupV1(Set|Get)BlkioDeviceReadBps
[phrdina] vircgroup: extract virCgroupV1(Set|Get)BlkioDeviceWriteBps
[phrdina] vircgroup: extract virCgroupV1SetMemory
[phrdina] vircgroup: extract virCgroupV1GetMemoryStat
[phrdina] vircgroup: extract virCgroupV1GetMemoryUsage
[phrdina] vircgroup: extract virCgroupV1(Set|Get)Memory*Limit
[phrdina] vircgroup: extract virCgroupV1GetMemSwapUsage
[phrdina] vircgroup: extract virCgroupV1(Allow|Deny)Device
[phrdina] vircgroup: extract virCgroupV1(Allow|Deny)AllDevices
[phrdina] vircgroup: extract virCgroupV1(Set|Get)CpuShares
[phrdina] vircgroup: extract virCgroupV1(Set|Get)CpuCfsPeriod
[phrdina] vircgroup: extract virCgroupV1(Set|Get)CpuCfsQuota
[phrdina] vircgroup: extract virCgroupV1SupportsCpuBW
[phrdina] vircgroup: extract virCgroupV1GetCpuacct*Usage
[phrdina] vircgroup: extract virCgroupV1GetCpuacctStat
[phrdina] vircgroup: extract virCgroupV1(Set|Get)FreezerState
[phrdina] vircgroup: extract virCgroupV1(Set|Get)CpusetMems
[phrdina] vircgroup: extract virCgroupV1(Set|Get)CpusetMemoryMigrate
[phrdina] vircgroup: extract virCgroupV1(Set|Get)CpusetCpus
[phrdina] vircgroup: rename virCgroupController into virCgroupV1Controller
[phrdina] vircgroup: rename controllers to legacy
------------------------------------------
[...truncated 127.71 KB...]
CC asnprintf.lo
CC canonicalize-lgpl.lo
CC fclose.lo
CC fflush.lo
CC fseek.lo
CC fseeko.lo
CC getgroups.lo
CC getopt.lo
CC getopt1.lo
CC ioctl.lo
CC localtime-buffer.lo
CC mktime.lo
CC openpty.lo
CC printf-args.lo
CC printf-parse.lo
CC pthread_sigmask.lo
CC rawmemchr.lo
CC regex.lo
CC secure_getenv.lo
CC timegm.lo
CC vasnprintf.lo
CC glthread/lock.lo
CC uniwidth/width.lo
CCLD libgnu.la
gmake[3]: Leaving directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/gnulib/lib'>
gmake[2]: Leaving directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/gnulib/lib'>
Making all in include/libvirt
gmake[2]: Entering directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/include/libvirt'>
gmake[2]: Nothing to be done for 'all'.
gmake[2]: Leaving directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/include/libvirt'>
Making all in src
gmake[2]: Entering directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/src'>
GEN util/virkeycodetable_linux.h
GEN util/virkeycodetable_osx.h
GEN util/virkeycodetable_atset1.h
GEN util/virkeycodetable_atset2.h
GEN util/virkeycodetable_atset3.h
GEN util/virkeycodetable_xtkbd.h
GEN util/virkeycodetable_usb.h
GEN util/virkeycodetable_win32.h
GEN util/virkeycodetable_qnum.h
GEN util/virkeynametable_linux.h
GEN util/virkeynametable_osx.h
GEN util/virkeynametable_win32.h
GEN ../../src/access/org.libvirt.api.policy
GEN access/viraccessapicheck.h
GEN access/viraccessapicheck.c
GEN access/viraccessapicheckqemu.h
GEN access/viraccessapicheckqemu.c
GEN access/viraccessapichecklxc.h
GEN access/viraccessapichecklxc.c
GEN libvirt_access.xml
GEN libvirt_access_qemu.xml
GEN libvirt_access_lxc.xml
GEN logging/log_protocol.h
GEN logging/log_daemon_dispatch_stubs.h
GEN locking/lock_protocol.h
GEN locking/lock_daemon_dispatch_stubs.h
GEN locking/qemu-lockd.conf
GEN admin/admin_protocol.h
GEN admin/admin_server_dispatch_stubs.h
GEN admin/admin_client.h
GEN rpc/virnetprotocol.h
GEN rpc/virkeepaliveprotocol.h
GEN .esx_vi_generator.stamp
GEN .hyperv_wmi_generator.stamp
GEN lxc/lxc_monitor_protocol.h
GEN ../../src/hyperv/hyperv_wmi_classes.generated.typedef
GEN ../../src/hyperv/hyperv_wmi_classes.generated.h
GEN ../../src/hyperv/hyperv_wmi_classes.generated.c
GEN lxc/lxc_monitor_dispatch.h
GEN lxc/lxc_controller_dispatch.h
GEN ../../src/esx/esx_vi_types.generated.typedef
GEN ../../src/esx/esx_vi_types.generated.typeenum
GEN ../../src/esx/esx_vi_types.generated.typetostring
GEN ../../src/esx/esx_vi_types.generated.typefromstring
GEN ../../src/esx/esx_vi_types.generated.h
GEN ../../src/esx/esx_vi_types.generated.c
GEN ../../src/esx/esx_vi_methods.generated.h
GEN ../../src/esx/esx_vi_methods.generated.c
GEN ../../src/esx/esx_vi_methods.generated.macro
GEN ../../src/esx/esx_vi.generated.h
GEN ../../src/esx/esx_vi.generated.c
GEN remote/remote_protocol.h
GEN remote/remote_client_bodies.h
GEN remote/lxc_protocol.h
GEN remote/qemu_protocol.h
GEN remote/lxc_client_bodies.h
GEN remote/qemu_client_bodies.h
GEN remote/remote_daemon_dispatch_stubs.h
GEN remote/remote_daemon_dispatch_lxc_stubs.h
GEN remote/remote_daemon_dispatch_qemu_stubs.h
GEN libvirt_access.syms
GEN libvirt_access_qemu.syms
GEN libvirt_access_lxc.syms
GEN libvirt_qemu.def
GEN libvirt_admin.syms
GEN libvirtd.qemu.logrotate
GEN libvirtd.lxc.logrotate
GEN libvirtd.libxl.logrotate
GEN libvirtd.uml.logrotate
GEN libvirtd.logrotate
GEN logging/log_protocol.c
GEN libvirt_lxc.def
GEN locking/lock_protocol.c
GEN admin/admin_protocol.c
GEN rpc/virnetprotocol.c
GEN rpc/virkeepaliveprotocol.c
GEN lxc/lxc_monitor_protocol.c
GEN remote/remote_protocol.c
GEN remote/lxc_protocol.c
GEN remote/qemu_protocol.c
GEN libvirt.syms
GEN libvirt_admin.def
GEN libvirt.def
/usr/local/bin/gmake all-am
gmake[3]: Entering directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/src'>
CC libvirt_lxc_la-libvirt-lxc.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 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
CC logging/libvirt_driver_la-log_protocol.lo
CC logging/libvirt_driver_la-log_manager.lo
CC locking/libvirt_driver_la-lock_manager.lo
CC locking/libvirt_driver_la-lock_driver_nop.lo
CC locking/libvirt_driver_la-domain_lock.lo
CC libvirt_driver_la-driver.lo
CC libvirt_driver_la-datatypes.lo
CC libvirt_driver_la-libvirt.lo
CC libvirt_driver_la-libvirt-domain.lo
CC libvirt_driver_la-libvirt-domain-snapshot.lo
CC libvirt_driver_la-libvirt-host.lo
CC libvirt_driver_la-libvirt-interface.lo
CC libvirt_driver_la-libvirt-network.lo
CC libvirt_driver_la-libvirt-nodedev.lo
CC libvirt_driver_la-libvirt-nwfilter.lo
CC libvirt_driver_la-libvirt-secret.lo
CC libvirt_driver_la-libvirt-storage.lo
CC libvirt_driver_la-libvirt-stream.lo
CC libvirt_qemu_la-libvirt-qemu.lo
CC libvirt_admin_la-libvirt-admin.lo
CC admin/libvirt_admin_la-admin_protocol.lo
CC libvirt_admin_la-datatypes.lo
CC locking/lockd_la-lock_driver_lockd.lo
CC locking/lockd_la-lock_protocol.lo
CC network/libvirt_driver_network_impl_la-bridge_driver.lo
CC network/libvirt_driver_network_impl_la-bridge_driver_platform.lo
CC secret/libvirt_driver_secret_la-secret_driver.lo
CC util/libvirt_nss_la-viralloc.lo
CC util/libvirt_nss_la-viratomic.lo
CC util/libvirt_nss_la-virbitmap.lo
CC util/libvirt_nss_la-virbuffer.lo
CC util/libvirt_nss_la-vircommand.lo
CC util/libvirt_nss_la-virerror.lo
CC util/libvirt_nss_la-virfile.lo
CC util/libvirt_nss_la-virhash.lo
CC util/libvirt_nss_la-virhashcode.lo
CC util/libvirt_nss_la-virjson.lo
CC util/libvirt_nss_la-virkmod.lo
CC util/libvirt_nss_la-virlease.lo
CC util/libvirt_nss_la-virlog.lo
CC util/libvirt_nss_la-virmacmap.lo
CC util/libvirt_nss_la-virobject.lo
CC util/libvirt_nss_la-virpidfile.lo
CC util/libvirt_nss_la-virprocess.lo
CC util/libvirt_nss_la-virrandom.lo
CC util/libvirt_nss_la-virsocketaddr.lo
CC util/libvirt_nss_la-virstring.lo
CC util/libvirt_nss_la-virthread.lo
CC util/libvirt_nss_la-virthreadjob.lo
CC util/libvirt_nss_la-virtime.lo
CC util/libvirt_nss_la-virutil.lo
CC storage/libvirt_storage_backend_fs_la-storage_backend_fs.lo
CC storage/libvirt_storage_backend_zfs_la-storage_backend_zfs.lo
CC storage/libvirt_storage_file_fs_la-storage_file_fs.lo
GEN util/virkeycode-linux.pod
GEN util/virkeycode-osx.pod
GEN util/virkeycode-atset1.pod
GEN util/virkeycode-atset2.pod
GEN util/virkeycode-atset3.pod
GEN util/virkeycode-xtkbd.pod
GEN util/virkeycode-usb.pod
GEN util/virkeycode-win32.pod
GEN util/virkeycode-qnum.pod
GEN util/virkeyname-linux.pod
GEN util/virkeyname-osx.pod
GEN util/virkeyname-win32.pod
GEN virtlogd.8.in
GEN virtlockd.8.in
GEN libvirtd.8.in
GEN test_virtlogd.aug
GEN test_libvirt_lockd.aug
GEN test_virtlockd.aug
GEN test_libvirtd_qemu.aug
GEN test_libvirtd_bhyve.aug
GEN test_libvirtd.aug
CC network/libvirt_leaseshelper-leaseshelper.o
CC util/libvirt_util_la-viralloc.lo
CC util/libvirt_util_la-virarch.lo
CC util/libvirt_util_la-virarptable.lo
CC util/libvirt_util_la-viratomic.lo
CC util/libvirt_util_la-viraudit.lo
CC util/libvirt_util_la-virauth.lo
CC util/libvirt_util_la-virauthconfig.lo
CC util/libvirt_util_la-virbitmap.lo
CC util/libvirt_util_la-virbuffer.lo
CC util/libvirt_util_la-virperf.lo
CC util/libvirt_util_la-vircgroup.lo
CC util/libvirt_util_la-vircgroupbackend.lo
CC util/libvirt_util_la-vircgroupv1.lo
CC util/libvirt_util_la-virclosecallbacks.lo
CC util/libvirt_util_la-vircommand.lo
../../src/util/vircgroupv1.c:65:19: error: variable has incomplete type 'struct
mntent'
struct mntent entry;
^
../../src/util/vircgroupv1.c:65:12: note: forward declaration of 'struct mntent'
struct mntent entry;
^
../../src/util/vircgroupv1.c:74:12: error: implicit declaration of function
'getmntent_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
while (getmntent_r(mounts, &entry, buf, sizeof(buf)) != NULL) {
^
../../src/util/vircgroupv1.c:74:12: error: this function declaration is not a prototype
[-Werror,-Wstrict-prototypes]
../../src/util/vircgroupv1.c:814:39: error: use of undeclared identifier
'MS_NOSUID'
if (mount("tmpfs", root, "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC,
opts) < 0) {
^
../../src/util/vircgroupv1.c:814:49: error: use of undeclared identifier
'MS_NODEV'
if (mount("tmpfs", root, "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC,
opts) < 0) {
^
../../src/util/vircgroupv1.c:814:58: error: use of undeclared identifier
'MS_NOEXEC'
if (mount("tmpfs", root, "tmpfs", MS_NOSUID|MS_NODEV|MS_NOEXEC,
opts) < 0) {
^
../../src/util/vircgroupv1.c:841:65: error: use of undeclared identifier
'MS_BIND'
if (mount(src, group->legacy[i].mountPoint, "none", MS_BIND,
^
7 errors generated.
gmake[3]: *** [Makefile:11598: util/libvirt_util_la-vircgroupv1.lo] Error 1
gmake[3]: *** Waiting for unfinished jobs....
rm util/virkeycode-xtkbd.pod util/virkeycode-atset3.pod util/virkeycode-usb.pod
util/virkeycode-qnum.pod util/virkeyname-linux.pod util/virkeycode-osx.pod
util/virkeycode-linux.pod util/virkeyname-osx.pod util/virkeycode-atset1.pod
util/virkeyname-win32.pod util/virkeycode-atset2.pod util/virkeycode-win32.pod
gmake[3]: Leaving directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/src'>
gmake[2]: *** [Makefile:7013: all] Error 2
gmake[2]: Leaving directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build/src'>
gmake[1]: *** [Makefile:2111: all-recursive] Error 1
gmake[1]: Leaving directory
'/usr<https://ci.centos.org/job/libvirt-build/systems=libvirt-freebsd-11/ws/build'>
gmake: *** [Makefile:2004: all] Error 2
Build step 'Execute shell' marked build as failure