Date: Wed, 24 May 2023 13:39:26 +0200 From: Dimitry Andric <dim@FreeBSD.org> To: current@freebsd.org Cc: Mark Johnston <markj@FreeBSD.org> Subject: Re: Build failure in usr.sbin/bhyvectl; sources at main-n263112-ad513b4dba3e Message-ID: <60EE10D6-1D12-494B-B51C-B81CAF537EF9@FreeBSD.org> In-Reply-To: <ZG30OPGaqa25yZ9a@albert.catwhisker.org> References: <ZG30OPGaqa25yZ9a@albert.catwhisker.org>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 24 May 2023, at 13:25, David Wolfskill <david@catwhisker.org> wrote: > > This is from an in-place source update from main-n263073-634a770a5e16 to > main-n263112-ad513b4dba3e: > > ... > Building /common/S4/obj/usr/src/amd64.amd64/lib/libc/tests/stdio/scanf_test > Building /common/S4/obj/usr/src/amd64.amd64/usr.bin/ncurses/dump_entry.o > Building /common/S4/obj/usr/src/amd64.amd64/usr.bin/mkimg/tests/img-1x1-4096-mbr.vhdx > Building /common/S4/obj/usr/src/amd64.amd64/cddl/usr.sbin/zfsd/zfsd.full > /usr/src/usr.sbin/bhyvectl/bhyvectl.c:2389:24: error: incompatible pointer types passing 'struct vm_exit *' to parameter of type 'struct vm_run *' [-Werror,-Wincompatible-pointer-types] > error = vm_run(vcpu, &vmexit); > ^~~~~~~ > /common/S4/obj/usr/src/amd64.amd64/tmp/usr/include/vmmapi.h:158:46: note: passing argument to parameter 'vmrun' here > int vm_run(struct vcpu *vcpu, struct vm_run *vmrun); > ^ > 1 error generated. > > > Given that yesterday's update was uneventful, and that > src/usr.sbin/bhyvectl/bhyvectl.c has not changed in several days, > I'm guessing that perhaps a recent change to a header, possibly > involving vmexit, may be at issue here. It appears to be broken since "vmm: Avoid embedding cpuset_t ioctl ABIs": https://cgit.freebsd.org/src/commit/?id=e17eca327633efc511450310afb5e4a662724e3d See also https://ci.freebsd.org/job/FreeBSD-main-amd64-build/, where it shows an error since https://ci.freebsd.org/job/FreeBSD-main-amd64-build/26653/ -Dimitry [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZG33bgAKCRCwXqMKLiCW o3WkAKCgc9U6MXmRXZAQ2n/upPeL2GGd3QCfZm4zlxFeFGrDC7GimJkH1Byfy8E= =3Llr -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60EE10D6-1D12-494B-B51C-B81CAF537EF9>
