From nobody Wed Jul 10 14:48:37 2024 X-Original-To: dev-commits-src-all@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 4WK12F28zcz5QbVR; Wed, 10 Jul 2024 14:48:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WK12F1Y5qz4RTD; Wed, 10 Jul 2024 14:48:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720622917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cfX1UR0/dECveDbs5PYXQc32JdsvzQ4bqPVm9HCAtXI=; b=kNBzyPayo0tY9l6PaRDS7Z8VjCcs5NQitzyKLCxR0NXE/LrmuyRmZ22rAHGPTWuBXLTuWt HX55tG7jwQ/2kjR2kSoOeV+ZMGvm1/8it249UmfCZwDf7iK0AZg7bvO5gUGXRXU2aqZUB4 eExnMCUGdmVQpnnEyU1QOqAjhyWGX0g9G2NndE3DMXUakKB29lBBolBcGhYdjRTvhhkZJn Ywl76/4S3K+8BgMi0n9LRmNDtUra1HI861Oy4a29nUQ10+xcT53QLKh2fG7ssIn6ErUzfp KyJnwAaWP91uOIE+YRbgKjzEeULKskxSrmr6e36ChZERRVmM3wrHGLnWOcb10w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720622917; a=rsa-sha256; cv=none; b=ittQ0lSkmpYyJPVlDg7L86D3S+M9MWc7EISrIOSjsfhqWkYZvs+QY/PZ4MI+8GgSqm9rJ2 fA0x5t9Avql6hifgB6uryA307xJyvNpIcU7oQKZ0fNWars4wEdTF1Q9OuaCFPzqt7JWetw itS9gWqQg6JbXAo0/mju0zvLQx+UaEVFer0Ie5fs6CltMCmYsOnHsyANQieEhnxBv1G7G4 ESZ9eJQA4pxaMgI3GXy6UHel2v6FdQrt361mBZl5QTZTZcJa3i3OdUdHnI2bSeT+c9dreO 3ohlYM76gFyA9FieOOqBeTjgDDkH5GjR1akCx8DtJk0Td91esYznv6aIyi45kA== 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=1720622917; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cfX1UR0/dECveDbs5PYXQc32JdsvzQ4bqPVm9HCAtXI=; b=jHmBTX+5ePJE9T6WFfzebOTkjsi+YBkzZrzEycQ1aB/GadSPhoiuNg1bkfpE9FHS693XuH 64T8xy4ETOp1mG/d5qgXVOMVPZMxII3PoY99ouxd3NmQsW7Pg5CUH28+TBGUUak5dOcfdQ I+05BF7PPl7LoONkcIrr8M0xf8h/LUmIAaggM1hPmy8p4sX7ohi+V94d0AIQhtVGWBI/vb cQ/omzJnBECkZY8PKmkCzzsetalhqX87TPyVVIto88R64ZLGo1bDO3LajPjF0mNLWnXLng ZQHWARSbd9d8msZ/55t9QPjr7oKJPCMPIzjD41wjCDkU4KN3igXwiS2I14VQhQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WK12F0ky0zLxb; Wed, 10 Jul 2024 14:48:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46AEmbZQ029445; Wed, 10 Jul 2024 14:48:37 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46AEmbAZ029442; Wed, 10 Jul 2024 14:48:37 GMT (envelope-from git) Date: Wed, 10 Jul 2024 14:48:37 GMT Message-Id: <202407101448.46AEmbAZ029442@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Colin Percival Subject: git: fe945fa9c91d - stable/14 - bsd.progs.mk: Create directories first List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cperciva X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: fe945fa9c91d12b678e88bb8fd019e60d149bb17 Auto-Submitted: auto-generated The branch stable/14 has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=fe945fa9c91d12b678e88bb8fd019e60d149bb17 commit fe945fa9c91d12b678e88bb8fd019e60d149bb17 Author: Colin Percival AuthorDate: 2024-07-08 16:30:28 +0000 Commit: Colin Percival CommitDate: 2024-07-10 14:47:52 +0000 bsd.progs.mk: Create directories first Order installdirs before the $p.install targets; this is necessary when a user of also creates the directory into which the binaries are installed. In particular, without this patch running `make installworld -jN` can break when installing tests since the /usr/tests/foo/bar directories are created during installworld; this has been causing the stable/14 weekly snapshot builds to intermittently fail for months. MFC after: 5 minutes Sponsored by: Amazon Differential Revision: https://reviews.freebsd.org/D45923 (cherry picked from commit 187d696a0aa0fba9e9a7b6b20c72799cf8a2e0cf) --- share/mk/bsd.progs.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/share/mk/bsd.progs.mk b/share/mk/bsd.progs.mk index 946c44f76570..5881570762bf 100644 --- a/share/mk/bsd.progs.mk +++ b/share/mk/bsd.progs.mk @@ -154,6 +154,7 @@ $p.$t: .PHONY .MAKE ${_PROGS_COMMON_OBJS} NO_SUBDIR=1 ${MAKE} -f ${MAKEFILE} _RECURSING_PROGS=t \ ${_PROG_MK.${t}} PROG=$p ${x.$p} ${@:E}) .endfor +.ORDER installdirs $p.install .endfor # Depend main pseudo targets on all PROG.pseudo targets too.