From nobody Sat Feb 04 09:17:27 2023 X-Original-To: freebsd-stable@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4P86Y03gtWz3mtlx for ; Sat, 4 Feb 2023 09:24:20 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Received: from www94.your-server.de (www94.your-server.de [213.133.104.94]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4P86Y01JCQz4Yvk; Sat, 4 Feb 2023 09:24:20 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=virtual-earth.de; s=default_1811; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To:From:References:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=YQgMbU5519JegjTMj501o7VBkPBZ0TY+z+unFJIVbzg=; b=YkOv/uloRbm8WbYm0WTQHX4fmY k30P8myZu4Xj/znc2FEKFwx6uU7zIQe1+1HWGlQp43MEcoJ5d0ISLpzipuMXkY3RCOd5nOUBMwuzs Hclu7BplmjV3M40Tk8/ANAtxbWwJBp7B3Tz3avLyBjISUZqVe/bbOk5j07KNopJ3JazufGicvCKTV wExqbHdJxkHh+8f7mA0w9huCp9S5pwpP3ALporpo5eQju0KNQ+TcKP3GkPNrkh2FiJLtwtHk9eVEO xZarsmYjJrpTHJJIzUsEZipzy1FzSaMXhtFozjKytHWmtXDJnQ+EECyaSNsLAm+gnaoEGe+uczoPJ mlKqeKUg==; Received: from sslproxy05.your-server.de ([78.46.172.2]) by www94.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pOEmQ-000OKY-EV; Sat, 04 Feb 2023 10:24:18 +0100 Received: from [2a01:c23:c1f6:2000:4a2a:e3ff:fe1a:da58] (helo=danton.virtual-earth.de) by sslproxy05.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOEmP-000SuV-SQ; Sat, 04 Feb 2023 10:24:17 +0100 References: <86a62bd7sf.fsf@virtual-earth.de> User-agent: mu4e 1.8.14; emacs 28.2 From: Mathias Picker To: Dimitry Andric Cc: freebsd-stable@freebsd.org Subject: Re: buildworld fails with bhyverun.c:1270:6 unused variable??? Date: Sat, 04 Feb 2023 10:17:27 +0100 In-reply-to: Message-ID: <86zg9tbx6m.fsf@virtual-earth.de> List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Authenticated-Sender: Mathias.Picker@virtual-earth.de X-Virus-Scanned: Clear (ClamAV 0.103.7/26801/Fri Feb 3 10:47:03 2023) X-Rspamd-Queue-Id: 4P86Y01JCQz4Yvk X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N iTurns out I had somethng in /etc/src.conf that I didn=E2=80=99t think of=20 (never actually used it): WITH_BHYVE_SNAPSHOT=3D"YES" commenting this out resulted in a sucessful make run with the=20 exact same src checkout. Looking at my current bhyverun.c I also no longer see that =E2=80=99int=20 vcpu=E2=80=99 on line 1270. I=E2=80=99ll recompile everything with WITH_BHYVE_SNAPSHOT=3D"YES" again=20 this weekend and report if it=E2=80=99s still there. Thanks for looking into this, Mathias Dimitry Andric writes: > [[PGP Signed Part:Undecided]] > On 21 Jan 2023, at 19:55, Mathias Picker=20 > wrote: >>=20 >> I have this for some time, had no time to look into this, but=20 >> today I deleted /usr/src, fetched source again, switched to=20 >> stable/13, did a su -l root, removed /etc/make.conf and=20 >> rebuild, same error. > ... >> --- all_subdir_usr.sbin/bhyve --- >> /usr/src/usr.sbin/bhyve/bhyverun.c:1270:6: error: unused=20 >> variable 'vcpu' [-Werror,-Wunused-variable] >> int vcpu; >> ^ > > I've looked at both the stable/13 and main branches, but in=20 > neither of > them is line 1270 a line with the contents 'int vcpu;'. So I=20 > think > something is wrong with your checkout. > > How exactly did you "switch to stable/13"? And what does "git=20 > status" > report? > > -Dimitry > > [[End of PGP Signed Part]] --=20 Mathias Picker=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20 Gesch=C3=A4ftsf=C3=BChrer Mathias.Picker@virtual-earth.de virtual earth Gesellschaft f=C3=BCr Wissens re/pr=C3=A4 sentation mbH http://www.virtual-earth.de/ HRB126870 support@virtual-earth.de Westendstr. 142 089 / 1250 3943=20=20=20=20=20=20=20=20=20=20=20=20