From owner-freebsd-current@freebsd.org Fri Mar 27 20:07:27 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E292727FDE4 for ; Fri, 27 Mar 2020 20:07:27 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: from spindle.one-eyed-alien.net (spindle.one-eyed-alien.net [199.48.129.229]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48ptDl0pzCz48jj for ; Fri, 27 Mar 2020 20:07:18 +0000 (UTC) (envelope-from brooks@spindle.one-eyed-alien.net) Received: by spindle.one-eyed-alien.net (Postfix, from userid 3001) id 460AB3C0199; Fri, 27 Mar 2020 20:07:08 +0000 (UTC) Date: Fri, 27 Mar 2020 20:07:08 +0000 From: Brooks Davis To: Ruslan Garipov Cc: freebsd-current@freebsd.org Subject: Re: buildworld failed (usr.bin/kyua) Message-ID: <20200327200708.GA12101@spindle.one-eyed-alien.net> References: <98e2187e-ca29-1cc0-46e2-f684c828274d@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ew6BAiZeqk4r7MaW" Content-Disposition: inline In-Reply-To: <98e2187e-ca29-1cc0-46e2-f684c828274d@gmail.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Rspamd-Queue-Id: 48ptDl0pzCz48jj X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of brooks@spindle.one-eyed-alien.net has no SPF policy when checking 199.48.129.229) smtp.mailfrom=brooks@spindle.one-eyed-alien.net X-Spamd-Result: default: False [-6.53 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; IP_SCORE(-3.63)[ip: (-9.53), ipnet: 199.48.128.0/22(-4.75), asn: 36236(-3.82), country: US(-0.05)]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; DMARC_NA(0.00)[freebsd.org]; AUTH_NA(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; R_SPF_NA(0.00)[]; FREEMAIL_TO(0.00)[gmail.com]; FORGED_SENDER(0.30)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; SIGNED_PGP(-2.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:36236, ipnet:199.48.128.0/22, country:US]; FROM_NEQ_ENVFROM(0.00)[brooks@freebsd.org,brooks@spindle.one-eyed-alien.net]; RCVD_COUNT_ZERO(0.00)[0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2020 20:07:28 -0000 --ew6BAiZeqk4r7MaW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Mar 27, 2020 at 06:40:18PM +0500, Ruslan Garipov wrote: > I failed to update FreeBSD 13.0-CURRENT amd64 r359231 to r359351. >=20 > End of the build log: >=20 > $ su root -c "make -j16 buildworld" > ... > ld: error: unable to find library -lkyua_cli_pie > ld: error: unable to find library -lkyua_drivers_pie > ld: error: unable to find library -lkyua_model_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_engine_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_utils_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_store_pie > ld: error: unable to find library -lkyua_model_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_utils_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_engine_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_utils_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_model_pie > ld: error: unable to find library -llutok_pie > ld: error: unable to find library -lkyua_store_pie > ld: error: too many errors emitted, stopping now (use -error-limit=3D0 > to see all errors) > c++: error: linker command failed with exit code 1 (use -v to see > invocation) > --- all_subdir_lib --- > --- cpuset_getdomain.po --- > --- all_subdir_usr.bin --- > *** [kyua] Error code 1 >=20 > make[4]: stopped in /usr/src/usr.bin/kyua > 1 error >=20 > make[4]: stopped in /usr/src/usr.bin/kyua > *** [all_subdir_usr.bin/kyua] Error code 2 > ... >=20 > May be it's related to r359260[1]. Therefore, here is my TEST-settings: >=20 > $ fgrep TEST /etc/src.conf > WITHOUT_GOOGLETEST=3D > WITHOUT_TESTS=3D > WITH_TESTS_SUPPORT=3D >=20 > Also what has confused me: it's a virtual machine which failed to build. > A physical one built userland and kernel just fine. Both the physical > and virtual machines have almost the same (differ only by CPU > "selection" options) make.conf and src.conf and different kernel > configurations. Both the machines were FreeBSD 13.0-CURRENT amd64 > r359231. I've started to build on clean systems (no /usr/obj at all). >=20 > Can anyone help me to resolve this issue? I've replicated this issue and it goes back the the way WITH_TESTS_SUPPORT was implemented way back in r273449 This patch fixes WITHOUT_TESTS=3Dt WITH_TESTS_SUPPORT=3Dt for me. Index: Makefile.inc1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --- Makefile.inc1 (revision 359367) +++ Makefile.inc1 (working copy) @@ -1100,7 +1100,7 @@ @echo "--------------------------------------------------------------" ${_+_}cd ${.CURDIR}; \ ${WMAKE} -DNO_FSCHG MK_HTML=3Dno -DNO_LINT MK_MAN=3Dno \ - MK_PROFILE=3Dno MK_TESTS=3Dno MK_TESTS_SUPPORT=3D${MK_TESTS} libraries + MK_PROFILE=3Dno MK_TESTS=3Dno libraries everything: .PHONY @echo @echo "-------------------------------------------------------------- I've not committed it yet because I'm trying to figure out why this was needed. I simply don't see how there could be a race between lib/aft and libexec/aft as described. I suspect this may have been an error. -- Brooks --ew6BAiZeqk4r7MaW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJeflzrAAoJEKzQXbSebgfAiqkH/1YUJ3ZJT1UNtQmnMqkM5F3z zghRq+qqZmxHgbGmyV+SuxQb/uhb2ayuwG9eed2j596DCKHFXpyPl2iA9FQqRMoG 0qux+fdqE7ywL02u50iTgv6Z063FJo/uQPuWD/4Ix7uYdNLjTEnflLpC6sE0T7RG gbr0cEkv+oUKYKcX3DIKcsmj5hr3qA/oQc1OfInuY7XnzHS3M3V5GkBNu4mL1KNz z2FclPYUeaZ9smIslSuURuE5V4jFGltQKW3+Ilp6OwxmyzLPmSQgemQAsfUl10HC IBFQZJPNGNX6GlDMEDLLSVd+hLbo/ziTRvI23xDpUYcM0X1WbPM8tL76falP7mU= =c+j/ -----END PGP SIGNATURE----- --ew6BAiZeqk4r7MaW--