From nobody Sat Jan 21 18:55:05 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 4NzmBF0Kcsz2syTH for ; Sat, 21 Jan 2023 19:09:09 +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 4NzmBC6gW2z4ZpY for ; Sat, 21 Jan 2023 19:09:07 +0000 (UTC) (envelope-from Mathias.Picker@virtual-earth.de) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=virtual-earth.de header.s=default_1811 header.b=NXQLz4fk; spf=pass (mx1.freebsd.org: domain of Mathias.Picker@virtual-earth.de designates 213.133.104.94 as permitted sender) smtp.mailfrom=Mathias.Picker@virtual-earth.de; dmarc=pass (policy=none) header.from=virtual-earth.de 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:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References; bh=GJAkC8wHpxHJhoO/OhhEAUMqWoS/5fgFdncAC2+Mow8=; b=NXQLz4fk/37K0dO9RnBNExWMaX p/W/taz2uPMOwTSMENxpK38gABsv0aMbeYvrqhwrK4K8ymU9EGBL6a2qtsDFPPNPvi97iJPASwggN ARqxQPLNjbBrn+sInRnrTdorGjOnu3LTStM1XJQ4gkx/H5H5p/KEQhi/9Gf8B/Xz6moF/rqTRsIwk N2Vd4m23D8jH4X/C3ofZWzJ2EGg5yNnPdz0ZSxPFzPsR9DfZpbxO+zfiV0fPp3s/DEKTvqG0/3fZH yVsletd+wawXTK4m0x6X/VxOKlZ436Yq/r+/wFXH2SIhs84194/LYaDwQN84pTiJJc6QjX0RihROz 1K0+SMpA==; Received: from sslproxy03.your-server.de ([88.198.220.132]) by www94.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pJJEf-0002DO-Iw for freebsd-stable@freebsd.org; Sat, 21 Jan 2023 20:09:05 +0100 Received: from [2a01:c23:c5b3:b400:4a2a:e3ff:fe1a:da58] (helo=danton.virtual-earth.de) by sslproxy03.your-server.de with esmtpsa (TLSv1.3:TLS_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pJJEf-000NK9-CS for freebsd-stable@freebsd.org; Sat, 21 Jan 2023 20:09:05 +0100 User-agent: mu4e 1.8.13; emacs 28.2 From: Mathias Picker To: freebsd-stable@freebsd.org Subject: buildworld fails with bhyverun.c:1270:6 unused variable??? Date: Sat, 21 Jan 2023 19:55:05 +0100 Message-ID: <86a62bd7sf.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/26788/Sat Jan 21 09:23:04 2023) X-Spamd-Result: default: False [-3.00 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.998]; DMARC_POLICY_ALLOW(-0.50)[virtual-earth.de,none]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[virtual-earth.de:s=default_1811]; MIME_GOOD(-0.10)[text/plain]; RCVD_IN_DNSWL_NONE(0.00)[213.133.104.94:from]; ASN(0.00)[asn:24940, ipnet:213.133.96.0/19, country:DE]; MIME_TRACE(0.00)[0:+]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_ALL(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[virtual-earth.de:+]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; HAS_X_AS(0.00)[] X-Rspamd-Queue-Id: 4NzmBC6gW2z4ZpY X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N 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 rebuild,=20 same error. Searching through this list I found nothing. So=E2=80=A6 I really have no=20 idea where to look??? bhyverun.o is build like this: --- bhyverun.o --- cc -target x86_64-unknown-freebsd13.1=20 --sysroot=3D/usr/obj/usr/src/amd64.amd64/tmp=20 -B/usr/obj/usr/src/amd64.amd64/tmp/usr/bin -O2 - pipe -fno-common -march=3Dnative=20 -I/usr/src/usr.sbin/bhyve/../../contrib/lib9p -I/usr/src/sys=20 -DINET -DINET6 -DNETGRAPH -I/usr/src/ sys/dev/e1000 -I/usr/src/sys/dev/mii=20 -I/usr/src/sys/dev/usb/controller=20 -I/usr/src/contrib/libucl/include -DWITHOUT_CAPSICUM -DBHYV E_SNAPSHOT -fPIE -g -MD -MF.depend.bhyverun.o -MTbhyverun.o=20 -std=3Dgnu99 -Wno-format-zero-length -fstack-protector-strong=20 -Wsystem- headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized=20 -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int=20 -Wno-unused-const- variable -Wno-error=3Dunused-but-set-variable=20 -Wno-tautological-compare -Wno-unused-value=20 -Wno-parentheses-equality -Wno-unused-func tion -Wno-enum-conversion -Wno-unused-local-typedef=20 -Wno-address-of-packed-member -Wno-switch -Wno-switch-enum=20 -Wno-knr-promoted-p arameter -Qunused-arguments -c=20 /usr/src/usr.sbin/bhyve/bhyverun.c -o bhyverun.o Error looks like this: --- all_subdir_usr.sbin/bhyve --- /usr/src/usr.sbin/bhyve/bhyverun.c:1270:6: error: unused variable=20 'vcpu' [-Werror,-Wunused-variable] int vcpu; ^ 1 error generated. *** [bhyverun.o] Error code 1 make[4]: stopped in /usr/src/usr.sbin/bhyve --- all_subdir_secure --- make[2]: stopped in /usr/src --- all_subdir_usr.sbin --- make[2]: stopped in /usr/src --- all_subdir_tests --- make[3]: stopped in /usr/src/tests make[2]: stopped in /usr/src --- all_subdir_usr.bin --- make[2]: stopped in /usr/src --- all_subdir_lib --- make[3]: stopped in /usr/src/lib make[2]: stopped in /usr/src make[1]: stopped in /usr/src make: stopped in /usr/src Any tips or hints where to look welcome! Cheers, Mathias P.S. Will now build without -j 8 over night. P.P.S. $ git remote -v origin https://git.freebsd.org/src.git (fetch) origin https://git.freebsd.org/src.git (push) $ git status On branch stable/13 Your branch is up to date with 'origin/stable/13'. nothing to commit, working tree clean $ git rev-parse HEAD 4a8af507ebe5cabe87928e36d6f203756903df90 --=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