iTurns out I had somethng in /etc/src.conf that I didn’t think of
(never actually used it):
WITH_BHYVE_SNAPSHOT="YES"
commenting this out resulted in a sucessful make run with the
exact same src checkout.
Looking at my current bhyverun.c I also no longer see that ’int
vcpu’ on line 1270.
I’ll recompile everything with WITH_BHYVE_SNAPSHOT="YES" again
this weekend and report if it’s still there.
Thanks for looking into this,
Mathias
Dimitry Andric <d...@freebsd.org> writes:
[[PGP Signed Part:Undecided]]
On 21 Jan 2023, at 19:55, Mathias Picker
<mathias.pic...@virtual-earth.de> 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"
report?
-Dimitry
[[End of PGP Signed Part]]
--
Mathias Picker
Geschäftsführer
mathias.pic...@virtual-earth.de
virtual earth Gesellschaft für Wissens re/prä sentation mbH
http://www.virtual-earth.de/ HRB126870
supp...@virtual-earth.de Westendstr. 142
089 / 1250 3943