From nobody Tue Mar 11 12:41:35 2025 X-Original-To: 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 4ZBtgV5vQBz5qVvJ for ; Tue, 11 Mar 2025 12:41:58 +0000 (UTC) (envelope-from dch@skunkwerks.at) Received: from fhigh-a4-smtp.messagingengine.com (fhigh-a4-smtp.messagingengine.com [103.168.172.155]) (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 4ZBtgV2BZKz3JdQ for ; Tue, 11 Mar 2025 12:41:58 +0000 (UTC) (envelope-from dch@skunkwerks.at) Authentication-Results: mx1.freebsd.org; none Received: from phl-compute-08.internal (phl-compute-08.phl.internal [10.202.2.48]) by mailfhigh.phl.internal (Postfix) with ESMTP id 510E511400B2; Tue, 11 Mar 2025 08:41:57 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-08.internal (MEProxy); Tue, 11 Mar 2025 08:41:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=skunkwerks.at; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1741696917; x=1741783317; bh=vOTuyCZ+0gwpas2zks0R3tI64gWdzSB2 FJgUCaQsj1Q=; b=oZ2Ag9HbSgAq99Gpf8fUb7orf3VjY2DENdOX4jD0cg3P9o/x XImw+kMpFDGUdWmCZTNiHsTY42f+sIBw16GHAFCHRBhAcCgxR8k8qU5bmEuDAnyH 2/i2iGdoyZ06rFOC6U4t0R9rC8Uae6oXuqCDT2C7lFiACjbyDnvaOCQbLq/A0ZNP gikznr57xw5MxpQztXiUQovgvsXjS6zw/ETcTWwy+nIp0gJcA/e2n36nZcGLNYPw /gPduVP3oucvdVA3NCFiu5IXHSyorPlYpfb8Gh+4q3S3WwJ2t8SGLt1Afmh5RQ3A b7aFzhjEZWmJi0n/jsLc/JXKcvuRCyiiMjyjRQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1741696917; x= 1741783317; bh=vOTuyCZ+0gwpas2zks0R3tI64gWdzSB2FJgUCaQsj1Q=; b=j sgS41tmhuvonkaEpVwxH5zDr6mc1J9Y0ZlGJim0lz3qoy5sDVsXtpU5hXlAqkkix HrLO5FEofh8TID5FKdcrlbH749KVH7AZ5QhoC3wunDJOi/bT4uFMu19W5PvkJh2U BgmC6xHOg4bSF1TpTQb2kHE05aDELEG8aJRouNN3fgdSM+PxnUxyDFjBqLWGGIsK 9A5WQaKD32TpFMNLl/wgNX/x+yY9lmLvqOV5YdJ2p6QvqbczwPJ/WM+GSz2CJaeh 1pgec/mHrYYuePGr5xWrm0F6b9DfosEOWjCHrgBxkXDRGcwJ+0Z48nNwqLkkUF1y 0PNlU/DxMDY0h3EeCtrzQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduvddvvdeiucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggv pdfurfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefogg ffhffvvefkjghfufgtgfesthejredtredttdenucfhrhhomhepfdffrghvvgcuvehothht lhgvhhhusggvrhdfuceouggthhesshhkuhhnkhifvghrkhhsrdgrtheqnecuggftrfgrth htvghrnhepieffhfdujeelieekueehgfeigeekleeljeeigefgudeuheetgfdtgeffieev uedvnecuffhomhgrihhnpehfrhgvvggsshgurdhorhhgnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepuggthhesshhkuhhnkhifvghrkhhsrdgr thdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtoheptg hurhhrvghnthesfhhrvggvsghsugdrohhrghdprhgtphhtthhopegsiigvvggsqdhlihhs thhssehlihhsthhsrdiirggssggrughoiidrnhgvth X-ME-Proxy: Feedback-ID: ic0e84090:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id EDF6FB0006A; Tue, 11 Mar 2025 08:41:55 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface 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 Date: Tue, 11 Mar 2025 12:41:35 +0000 From: "Dave Cottlehuber" To: "Bjoern A. Zeeb" Cc: current@freebsd.org Message-Id: In-Reply-To: <3p5pq042-95n8-0s53-178n-n07s8400rs03@yvfgf.mnoonqbm.arg> References: <3p5pq042-95n8-0s53-178n-n07s8400rs03@yvfgf.mnoonqbm.arg> Subject: Re: installworld runs git again Content-Type: text/plain Content-Transfer-Encoding: 7bit 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:151847, ipnet:103.168.172.0/24, country:AU] X-Rspamd-Queue-Id: 4ZBtgV2BZKz3JdQ X-Spamd-Bar: ---- On Mon, 10 Mar 2025, at 23:13, Bjoern A. Zeeb wrote: > Hi, > > make installworld runs git again but if build as user and owning the > files as user and installing as root that gives the obvious warning: > > make[1]: "/usr/obj/usr/src/amd64.amd64/toolchain-metadata.mk" line 1: > Using cached toolchain metadata from build at lab-top on Mon Mar 10 > 22:35:33 UTC 2025 > fatal: detected dubious ownership in repository at '/usr/src' > To add an exception for this directory, call: > > git config --global --add safe.directory /usr/src > make[1]: "/usr/src/Makefile.inc1" line 601: warning: Command > "/usr/local/bin/git -C /usr/src show -s --format=%ct HEAD" exited with > status 128 We can use: /usr/local/bin/git -c safe.directory=/usr/src \ -C /usr/src show -s --format=%ct HEAD which would avoid that, https://reviews.freebsd.org/D49316 > What do we need these timestamps for when doing an installworld? I guess its reproducible builds, hence basing it off the commit's timestamp, not the filesystem. > People used to have /usr/src ro and and the obj directories once build > is done too. We've long lost that but given we are so much after > reproducability maybe people should try this again... This works for me today, at least with beinstall.sh its how I upgrade my arm64 router from its bigger server, over RO nfs. A+ Dave