Re: buildworld fails with bhyverun.c:1270:6 unused variable???
- In reply to: Dimitry Andric : "Re: buildworld fails with bhyverun.c:1270:6 unused variable???"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 04 Feb 2023 09:17:27 UTC
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 <dim@FreeBSD.org> writes: > [[PGP Signed Part:Undecided]] > On 21 Jan 2023, at 19:55, Mathias Picker > <Mathias.Picker@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.Picker@virtual-earth.de virtual earth Gesellschaft für Wissens re/prä sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943