From owner-freebsd-current@freebsd.org Sun Mar 29 06:51:58 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 3535C274DC9 for ; Sun, 29 Mar 2020 06:51:58 +0000 (UTC) (envelope-from ruslanngaripov@gmail.com) Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48qmTp0MLmz4b0N; Sun, 29 Mar 2020 06:51:41 +0000 (UTC) (envelope-from ruslanngaripov@gmail.com) Received: by mail-lj1-x242.google.com with SMTP id 19so14435330ljj.7; Sat, 28 Mar 2020 23:51:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=L8mnqwoDrlHypnKvvY27cY6JHhHUJRhhtrtHX66H3PI=; b=V2HPwfFdURgR4Rh1Af3ef8CHX/J5NDs14hFoNrGDnKWRXQ6hp+xD6dvj40QaIOfcX/ 83GWpsAV66EIXIol5S4FkSOvBlVpT5UXsgyFyxJC07K/rtcKZCyrtlfyoO0HEJPUf721 WhOKIPwMuYPu4xOHKHI0RaONcUIhNcMPAOzN2vRjXlKzYxnY6+qmWKMGjwIGIk6m4XSL usne1kH2LtUg8G7Ly8Phhaq9DGoKcGCkKcdHMjvr6LrctKnXkcw9BkvrTChiNu/R89/x UCSFvRYsdnuK3sH6uQfy/NPZqu82VdjleFn1nzPUkpIoS3XnZfdhvwxMfbgG/OPg79ra UM/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=L8mnqwoDrlHypnKvvY27cY6JHhHUJRhhtrtHX66H3PI=; b=uXF/1LTyJlI9eVr6AA4VtGMgplp26hDymDGwYUBfa73wrceB1ft4vTxOE1lvmA7+CT casAluJsEeTgo074gyA2E+yzXJbTfIhsLU2UOC3/2IGskZb3GB++ZFOv86Q2BUVTYJBa YOrbqaWplXOXeseAHUxIx0LP7sK20CC0jlIrZjlxsrS3LpiQdeeTFwMBVQtRw8MLiwdp 1C756BCCssVWlHb3BzA/YLdXWl1OsplrRERTthghW1cmqpIvCwf9GyIKCEJvj5uakO9n lzGSELSdvVbOV7+uk3ClauN0akAwOsscSE0x4QyMp/HAoT2D+WBlhm7iVGFtC/asXp1K XB/g== X-Gm-Message-State: AGi0PubDvIpedabtBR3jIKKU+WkDrNRpTqRc5fkAuUVxDq9iHjbmwpfs ZKak2dYwYibVcAun4p1Jw9TULqWJHfA= X-Google-Smtp-Source: APiQypKu5cUxzoZhXpMLpYufv9ZDTFpl/Hf7TzLNsD2TnPBuRdCPJX76c93edZo9tBegfiyGgUxtlA== X-Received: by 2002:a05:651c:229:: with SMTP id z9mr4164112ljn.7.1585464193250; Sat, 28 Mar 2020 23:43:13 -0700 (PDT) Received: from [192.168.1.3] ([46.48.69.183]) by smtp.gmail.com with ESMTPSA id t8sm3489040lfe.31.2020.03.28.23.43.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 28 Mar 2020 23:43:12 -0700 (PDT) Subject: Re: buildworld failed (usr.bin/kyua) To: Brooks Davis Cc: freebsd-current@freebsd.org References: <98e2187e-ca29-1cc0-46e2-f684c828274d@gmail.com> <20200327200708.GA12101@spindle.one-eyed-alien.net> <20200327232903.GA36720@spindle.one-eyed-alien.net> From: Ruslan Garipov Message-ID: <7d7077a4-294b-b5a1-8ae2-7e8457a82e2c@gmail.com> Date: Sun, 29 Mar 2020 11:43:11 +0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 In-Reply-To: <20200327232903.GA36720@spindle.one-eyed-alien.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 48qmTp0MLmz4b0N X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=V2HPwfFd; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ruslanngaripov@gmail.com designates 2a00:1450:4864:20::242 as permitted sender) smtp.mailfrom=ruslanngaripov@gmail.com X-Spamd-Result: default: False [-3.00 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; RBL_SENDERSCORE_FAIL(0.00)[2.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.bl.score.senderscore.com:query timed out]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; FREEMAIL_FROM(0.00)[gmail.com]; RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; IP_SCORE(0.00)[ip: (2.81), ipnet: 2a00:1450::/32(-2.38), asn: 15169(-0.46), country: US(-0.05)]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; IP_SCORE_FREEMAIL(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.5.4.1.0.0.a.2.list.dnswl.org : 127.0.5.0]; RCVD_TLS_ALL(0.00)[] 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: Sun, 29 Mar 2020 06:51:58 -0000 On 3/28/2020 4:29 AM, Brooks Davis wrote: > On Fri, Mar 27, 2020 at 08:07:08PM +0000, Brooks Davis wrote: >> 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. > > I've committed a different fix in r359382. Thanks a lot! I'll try it latter. > > The above change fixed the case at hand, but broke the default. > > -- Brooks >