From nobody Fri Sep 23 15:40:20 2022 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 4MYxDs2Kdhz4dGJb for ; Fri, 23 Sep 2022 15:40:29 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from gromit.dlib.vt.edu (gromit.dlib.ipv6.vt.edu [IPv6:2001:468:c80:a103:2:5000:5555:5555]) (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 4MYxDr30Fmz4L8p; Fri, 23 Sep 2022 15:40:28 +0000 (UTC) (envelope-from paul@gromit.dlib.vt.edu) Received: from smtpclient.apple (unknown [IPv6:2001:470:e15b:23::23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gromit.dlib.vt.edu (Postfix) with ESMTPSA id 08CBF2821E; Fri, 23 Sep 2022 11:40:20 -0400 (EDT) Content-Type: text/plain; charset=us-ascii 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 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: objcopy: open objcopy failed: Text file busy From: Paul Mather In-Reply-To: Date: Fri, 23 Sep 2022 11:40:20 -0400 Cc: FreeBSD stable Content-Transfer-Encoding: quoted-printable Message-Id: References: <471FF033-A315-4061-8127-480C47AFB5EE@gromit.dlib.vt.edu> To: Ed Maste X-Mailer: Apple Mail (2.3696.120.41.1.1) X-Rspamd-Queue-Id: 4MYxDr30Fmz4L8p X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="No valid SPF, No valid DKIM" header.from=vt.edu (policy=none); spf=none (mx1.freebsd.org: domain of paul@gromit.dlib.vt.edu has no SPF policy when checking 2001:468:c80:a103:2:5000:5555:5555) smtp.mailfrom=paul@gromit.dlib.vt.edu X-Spamd-Result: default: False [-2.50 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; DMARC_POLICY_SOFTFAIL(0.10)[vt.edu : No valid SPF, No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; MIME_TRACE(0.00)[0:+]; R_SPF_NA(0.00)[no SPF record]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:1312, ipnet:2001:468:c80::/48, country:US]; FROM_EQ_ENVFROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-stable@freebsd.org]; TO_DN_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; FREEFALL_USER(0.00)[paul]; ARC_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FROM_HAS_DN(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sep 23, 2022, at 11:02 AM, Ed Maste wrote: > On Fri, 23 Sept 2022 at 10:44, Paul Mather = wrote: >>=20 >> For a while now, when I do a "make buildworld" on -STABLE, if the = /usr/obj directory is not empty I will have the build error out with = "objcopy: open objcopy failed: Text file busy" part way through. It = isn't ultimately fatal, because I can just run the buildworld again and = it will pick up where it left off. As I say, it doesn't do this if = /usr/obj is empty before running buildworld. It would be nice to have = the incremental build complete all in one go. >=20 > It looks like this is the same issue as PR 261215. I haven't had a > chance to look at it yet, and am not sure why it would have appeared > recently. That PR does look like what I am experiencing, except I am not = explicitly doing a NO_CLEAN build but using META_MODE instead. Plus, = this only happens if there is a build in /usr/obj---it doesn't happen = when I "rm -rf /usr/obj/*" before "make buildworld". It hasn't appeared for me recently. It's been happening for quite a = while (at least back to that PR date). It's just that I bothered to = capture the error today and ask about it on the freebsd-stable list. :-) Finally, I don't believe this happens any more on my -CURRENT system, so = maybe there's something in -CURRENT that has changed to fix it that = isn't present in -STABLE. However, my /etc/src.conf is much shorter on = the -CURRENT system: =3D=3D=3D=3D=3D /etc/src.conf =3D=3D=3D=3D=3D WITH_SYSTEM_COMPILER=3Dyes WITHOUT_TESTS=3Dyes =3D=3D=3D=3D=3D Cheers, Paul.=