Re: buildworld fails with bhyverun.c:1270:6 unused variable???

From: Dimitry Andric <>
Date: Fri, 03 Feb 2023 17:13:48 UTC
On 21 Jan 2023, at 19:55, Mathias Picker <> wrote:
> I have this for some time, had no time to look into this, but today I deleted /usr/src, fetched source again, switched to stable/13, did a su -l root, removed /etc/make.conf and rebuild, same error.
> --- all_subdir_usr.sbin/bhyve ---
> /usr/src/usr.sbin/bhyve/bhyverun.c:1270:6: error: unused variable 'vcpu' [-Werror,-Wunused-variable]
>       int vcpu;
>           ^

I've looked at both the stable/13 and main branches, but in neither of
them is line 1270 a line with the contents 'int vcpu;'. So I think
something is wrong with your checkout.

How exactly did you "switch to stable/13"? And what does "git status"