From nobody Tue Apr 15 17:39:36 2025 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 4Zdt0g2T5Yz5stJX for ; Thu, 17 Apr 2025 22:31:31 +0000 (UTC) (envelope-from des@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Zdt0g1B37z3q7Y; Thu, 17 Apr 2025 22:31:31 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744929091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xVFFzLtP8rG4JaFC0CUaULZl+4dDayk/2zY1JygSS24=; b=qxwVx/FKLgZRj0riFqEAqI8zvAxfiMH7fNEyoxw4Kg5o7S5J17PR5fNc4fGSlbLSAZsOHB WQTvMTDp2CcrsPOD2MAHHLHCQ2UTivSzpcX4mdRJ346oXVNdjIek5bi+R/YGj+zZXlFvIQ KkDZskdrhVY3lkCbbK2d32cTP7gjxQ99TPxX1jyz/UEvdMVbfwohD3NZc1nWhQr5RDLpNj NnGCQoIcNW2jwYkAfy+nZroSti3PRmIrpMMEpcO2zQoQLzEPiAIX8Oib/08KmA1q7Pc8gG 2uc83I1c3vS561I+gWOhaBUUIZPXtbo0z7Yb4Og3OInD5Nan6LX2FblrrZTVew== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1744929091; a=rsa-sha256; cv=none; b=QPBgg0C+m2Vfo3+GeDHVw1+CPtQJp9ImHP/fteRmZj74sfPhbnK9FEHzpuNWdmpec9Y09g kVUtMUivenIzhBVjays512wiNpulA9cOqVmV1wawobr809ON7PGK5PAteJqKT8iuzZIo78 2tlkuqRyUvZGatsADhSzelkfCY/rTuc9aupWGi89AyzAxGxrfRMUTz/WlSvRQg89lqahk3 ijHIOfxyZCesx0Su+r30s8rLwHONx5flLnUzYOfRmWFpcB/uG4Q8b9NKoYLTSqbqSHOyid oa2AWuPwqbb+6uOAY8mJ16bQvZZBVQMs/etvAPtSLq3MjNiQ9lJQfqDPqbCOTw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1744929091; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xVFFzLtP8rG4JaFC0CUaULZl+4dDayk/2zY1JygSS24=; b=MWccS0zpAgRsi4zA6FOrfJKUykdD/ZtMlEGIZBJyQVvO4K30On4J0wyg0Skl8fNWHRmeOo ZN/DZRyHstYIvfkfVK4UnjdGHX8APv6YmosROimwm7Zrt3jts3GYWzV7egPbPNkkpf0PGb HfGqV+nr8kObsH5NYLy3Q1MK+DUNj3LYFO6PVIFMJ2lWODYNZQ33H8MQTFfQhMTZDGeD2+ lkep2915RZwl5POfd+1Db+rztvWLen+/VryDET5ZyrM9zqnBV9SUWyOFCpns+E+y2HH7RG Sk5Ld+jrK80oC4eWCylNsDNvJPwHuN9ZljYXrDYBPuBQmpNX5hcK4lkO3i9Abg== Received: from ltc.des.dev (88-177-82-251.subs.proxad.net [88.177.82.251]) (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) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4Zdt0g0D6bzPvr; Thu, 17 Apr 2025 22:31:31 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 68AC2EE096; Tue, 15 Apr 2025 19:39:36 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Alastair Hogge Cc: freebsd-current@freebsd.org Subject: Re: etcupdate failed to build tree with read-only /usr/src In-Reply-To: (Alastair Hogge's message of "Sun, 13 Apr 2025 02:51:17 +0000") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Tue, 15 Apr 2025 19:39:36 +0200 Message-ID: <86plhdb9yf.fsf@ltc.des.dev> 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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alastair Hogge writes: > After the build processes complete [...] > > $ doas su - > # cd /usr/src > # etcupdate -p > # env MAKEOBJDIRPREFIX=3D/tmp/fafnir make installkernel > # env MAKEOBJDIRPREFIX=3D/tmp/fafnir make installworld > # etcupdate > > Here etcupdate exits with, "Failed to build new tree." Since you just completed buildworld, you should be using `etcupdate -B` here. It will save you time and should work around the read-only issue. (I really wish -B were the default, and we had -b instead for the less-common opposite case.) DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org