Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Feb 2023 18:13:48 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Mathias Picker <Mathias.Picker@virtual-earth.de>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: buildworld fails with bhyverun.c:1270:6 unused variable???
Message-ID:  <B3005CE1-D31B-45B1-A1B9-1650F292229C@FreeBSD.org>
In-Reply-To: <86a62bd7sf.fsf@virtual-earth.de>
References:  <86a62bd7sf.fsf@virtual-earth.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_2DA3923C-443B-451F-BB30-2E54AC0F0B56
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 21 Jan 2023, at 19:55, Mathias Picker =
<Mathias.Picker@virtual-earth.de> wrote:
>=20
> 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"
report?

-Dimitry


--Apple-Mail=_2DA3923C-443B-451F-BB30-2E54AC0F0B56
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCY91AzAAKCRCwXqMKLiCW
o1zPAKC1m4I1kcr6JbKVfy5YUPa9hlrDdACfYvYOxOGOcfJ6Pti0OzlYjNQqSAU=
=6GOp
-----END PGP SIGNATURE-----

--Apple-Mail=_2DA3923C-443B-451F-BB30-2E54AC0F0B56--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B3005CE1-D31B-45B1-A1B9-1650F292229C>