From nobody Sun Aug 13 19:36:38 2023 X-Original-To: freebsd-current@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 4RP7861YHZz4q5DK for ; Sun, 13 Aug 2023 19:36:54 +0000 (UTC) (envelope-from marklmi@yahoo.com) Received: from sonic309-21.consmr.mail.gq1.yahoo.com (sonic309-21.consmr.mail.gq1.yahoo.com [98.137.65.147]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 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 4RP7855rTPz3Vlq for ; Sun, 13 Aug 2023 19:36:53 +0000 (UTC) (envelope-from marklmi@yahoo.com) Authentication-Results: mx1.freebsd.org; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691955412; bh=rzTRHyCxVc2v/h1OY8Ze8e6NuQZlAsGBQbwL+6MbzWM=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From:Subject:Reply-To; b=JElk+XQtBmM2H4h88XqNTfBQADwWD36ctwd50bY/rE3ommiO6o+oDV/5pcsEAzum7metbjkJvHi3JNluN6Sm/W2gi/Q9KnT/vSOR7GxtCxz0J0M4K55qcweEnSQ84mlkwOfND9X02kwbb8LouD71LQli4P6ZulSQmmIw8cprw7LAo/s6J2KgXyquTxMAfbaWDlfYLVCWbJq62MtYpVk2jUQDuXAV/Djy+9WdbHco124X4GSpnk1UyZFdRGbSdgMYnIw7QmQ5Mxwta1JmlHY2iOYSuBHH1xk01X31I+v5dtyYJaankn7FVZbgTqgt8+xThsSYh/ABb6KENbQmtnXaqw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1691955412; bh=XUZ2SRX/y7M4/DffQw/QFcaLWWA1SeE9NxP8p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58E5owWG2K58zlWNP6PyH_x5ujRrtuBu_b7lW.4jJOrCKAIR DU6.ivD8snhpj6r2Woq9tcfOREwAC3CjdPXq5Cjq_x2fKXzwk2LfNrvjn62GQuxrMj7xTtyRs31O QPKsCYtLC9PRO3s_gKdUAy78udRQIj5Iswg9JD9HmmvVS1KAmmhon3Pluybb_WoRMZpwm0uG.JRe 4m2g5ieSJCUY5Ad7MQL5Tbw7GlFZUd6VnYhTVeKMChNYCl.6n8PuS.C1il.gE32869Vfi_Jyjnau MOE0R9_rbqvbCYq9XGJEZq6TIfT6ipRz.3U_nYr6kqZRttiySrqzlCZFqDKhmQ3DIUPmN8U2bJke r_EwVyLqd9pE6RzNtnB1p3J0bzwGjBGwAvmgPWtrLk9yfudeewBNQM7BZfAB5Xl.4gQucpYXsdH6 .SxQnWFblnTPTThDooDe.T2g9LV4.XtaFoTX4bH0rv7WnVO3BKXDXj9shZjXIBP9UQZ4getOC32T 8hysEDA1Dv.1SS9zJoBoEfpxDZZjBis07zDuarVM.ZdxHgCkvKWPnfJBpmnoC75xLgsSlpr4Xp92 vOQ-- X-Sonic-MF: X-Sonic-ID: 155fc084-9c04-4623-abbf-46b66150a0dc Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.gq1.yahoo.com with HTTP; Sun, 13 Aug 2023 19:36:52 +0000 Received: by hermes--production-ne1-7b767b77cc-fbxjt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d6c1d21b18bd012ea5f0370053163956; Sun, 13 Aug 2023 19:36:50 +0000 (UTC) Content-Type: text/plain; charset=utf-8 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) Subject: Re: /usr/sbin/etcupdate -D/usr/obj/DESTDIRs/main-CA7-chroot -s /usr/main-src -M TARGET_ARCH=armv7 ends up building dtc ! From: Mark Millard In-Reply-To: Date: Sun, 13 Aug 2023 12:36:38 -0700 Cc: freebsd-current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2.ref@yahoo.com> <3EF7CF20-BFC6-4A25-8806-633CB2A3C4D2@yahoo.com> <058C6DE2-BB5B-46CA-A9C0-D50293137A8D@yahoo.com> To: Jessica Clarke X-Mailer: Apple Mail (2.3731.700.6) X-Rspamd-Queue-Id: 4RP7855rTPz3Vlq X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:36647, ipnet:98.137.64.0/20, country:US] On Aug 13, 2023, at 12:07, Jessica Clarke wrote: > On Sun, Aug 13, 2023 at 02:23:54AM -0700, Mark Millard wrote: >> On Aug 13, 2023, at 01:06, Mina Gali=C4=87 wrote: >>=20 >>> from IRC, i have learned this is working as designed: >>> etcupdate without -B does a build. >>=20 >> My interpretation of what "build" referred to for >> etcupate was way off. I've added the -B's that I >> was not using before. >>=20 >> Thanks for the note! >>=20 >>> Also, jrtc27 recently made it so bootstrapping, because otherwise = BUILD_WITH_STRICT_TMPPATH doesn't work: = https://github.com/freebsd/freebsd-src/commit/d81da4c98328d4ee3fe4c0a85f68= 74a3c69a1afd >>=20 >> Yep: that added what leads to the dtc build. >>=20 >> I still wonder if etcupdate builds more than it needs to >> for its specific pruposes when it does do a build: >> building dtc in order to complete an etcupdate just seems >> time/resource wasting. >=20 > It does, but teasing apart what's needed for buildworld/buildkernel = and > just buildetc is a bunch of work, and better to have something that > works inefficiently than something that doesn't work. Patches more = than > welcome to make it more efficient. However, I will note that 99% of = the > time -B is what people should be using, so it's not all that important > (it's rare that you want to produce an etcupdate tree from sources = that > haven't just been built). Thanks for the note. -B is not the default for etcupdate. Because of that, it would probably help if the various places that document using etcupdate for the 99% type of context had an explicit "normally use -B despite it not being a default" and "omit -B only when the source tree version has not been built yet". Such might be easier to follow than just the existing wording. Although, the lack of -B for diff, resolve, revert, and status is messy. If those silently ignored when -B , the instructions for use of -B could be simpler. =3D=3D=3D Mark Millard marklmi at yahoo.com