Date: Sat, 04 Feb 2023 10:17:27 +0100 From: Mathias Picker <Mathias.Picker@virtual-earth.de> To: Dimitry Andric <dim@FreeBSD.org> Cc: freebsd-stable@freebsd.org Subject: Re: buildworld fails with bhyverun.c:1270:6 unused variable??? Message-ID: <86zg9tbx6m.fsf@virtual-earth.de> In-Reply-To: <B3005CE1-D31B-45B1-A1B9-1650F292229C@FreeBSD.org> References: <86a62bd7sf.fsf@virtual-earth.de> <B3005CE1-D31B-45B1-A1B9-1650F292229C@FreeBSD.org>
index | next in thread | previous in thread | raw e-mail
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 3943home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86zg9tbx6m.fsf>
