Date: Fri, 27 Mar 2020 20:07:08 +0000 From: Brooks Davis <brooks@freebsd.org> To: Ruslan Garipov <ruslanngaripov@gmail.com> Cc: freebsd-current@freebsd.org Subject: Re: buildworld failed (usr.bin/kyua) Message-ID: <20200327200708.GA12101@spindle.one-eyed-alien.net> In-Reply-To: <98e2187e-ca29-1cc0-46e2-f684c828274d@gmail.com> References: <98e2187e-ca29-1cc0-46e2-f684c828274d@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.
>
> End of the build log:
>
> $ 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=0
> 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
>
> make[4]: stopped in /usr/src/usr.bin/kyua
> 1 error
>
> make[4]: stopped in /usr/src/usr.bin/kyua
> *** [all_subdir_usr.bin/kyua] Error code 2
> ...
>
> May be it's related to r359260[1]. Therefore, here is my TEST-settings:
>
> $ fgrep TEST /etc/src.conf
> WITHOUT_GOOGLETEST=
> WITHOUT_TESTS=
> WITH_TESTS_SUPPORT=
>
> 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).
>
> 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=t WITH_TESTS_SUPPORT=t for me.
Index: Makefile.inc1
===================================================================
--- Makefile.inc1 (revision 359367)
+++ Makefile.inc1 (working copy)
@@ -1100,7 +1100,7 @@
@echo
"--------------------------------------------------------------"
${_+_}cd ${.CURDIR}; \
${WMAKE} -DNO_FSCHG MK_HTML=no -DNO_LINT MK_MAN=no \
- MK_PROFILE=no MK_TESTS=no MK_TESTS_SUPPORT=${MK_TESTS}
libraries
+ MK_PROFILE=no MK_TESTS=no 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
[-- Attachment #2 --]
-----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200327200708.GA12101>
