From nobody Wed Jul 10 14:47:27 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 4WK10v5rfLz5QbdF; Wed, 10 Jul 2024 14:47:27 +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 4WK10v58nLz4RJV; Wed, 10 Jul 2024 14:47:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1720622847; 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=wW5YD9X3NvHbyFdWpvwj84eWQodfDq227mFhpYFNeSU=; b=mb6A91nC/vCXsz+65leOTFql8aB6YioKVjzfIpxaUAtq1RpYFsAm7sT/JTa8TRfpEW7dYf ixTHTobWoUliXlEHa41uD4xHrStgp70sPb2a3nJJYgX2PP1LdggTSTyQeY8OGu3zByKFni ar9oSBHcPyCFYg23oUsfydTQLbFoCrD4Q/jbjo11RemwrHGA0YxpfSqfVamQCU+k0BS43s Dewvjs48BCCe40zDqOcCLX3D4obkmZssBVyJst6ev870HcFcNZnDuHydyeo5I9+844dF0p tQTUTEIUKHZK274cSsUSOI4ExXwd04sspzyB28N+JVw7+qij7dGpcA3zi3tUiA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1720622847; a=rsa-sha256; cv=none; b=wN6RywvW4s1C3qQYcut+jhydwtIaVE1Kc3XRymJR1SnPRf/sNlDtAYHq3XmcMFchPdZ31b DF+ehM1AKve4jdzq65D3W2ZqdVuDJ5luaL4kBa7Xt9xnVppq/PA00vbvPVIl1Vi05JCWvQ kjjyX09BLTm8sD5ycd35WIJL17rWeY9RYLMquoPWzdu5pfhl5AT44o6g+zk2wl2NGDp6PO oCxDQnayrVSRrL3JXghD2y0e56IOaiWjouWIRzQt0FgjSZ9SQTX+nGyAII49ev/vrwhWy6 uvWL6GZepxyA7Z7Th2qqk0Rq9kzGa/+RUzDY+n70TTB6TEWsErRYXgXvETvD+g== 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=1720622847; 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=wW5YD9X3NvHbyFdWpvwj84eWQodfDq227mFhpYFNeSU=; b=UFYGIWqRodPM6B+1R6oEs6TfOjzTWQQjRMXFyUl32Fg/BelLQwAKjuGmspr27qktpWLufT /uUCbpEP4Ztp0OnKDXzRLeYdAKEPB2ucS1WeP+TXQhFQFMa6elQsqbhpTcOgVA1ZdpN93S OwmZ7q1mKsxxVs2Aia23Yy9vY8YQnFw3R5V1EGsOVBJr+yAHOaYkDga/fCU5nCWpmsyduo J3NJQW/jDYT+dENEqAS1nYW4dmsgFkczcA2xwMcl41sW+Ha4TAfYuYreyJH6eFhIICCxru nNlBhZKDCrNcDfrF7NoA8SoUvLFPp/c3BIVIlEhoEsxMywh/8/cX1m229tLKBg== 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 4WK10v4ck4zM8m; Wed, 10 Jul 2024 14:47:27 +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 46AElR78029056; Wed, 10 Jul 2024 14:47:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46AElRdQ029053; Wed, 10 Jul 2024 14:47:27 GMT (envelope-from git) Date: Wed, 10 Jul 2024 14:47:27 GMT Message-Id: <202407101447.46AElRdQ029053@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Colin Percival Subject: git: 187d696a0aa0 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 187d696a0aa0fba9e9a7b6b20c72799cf8a2e0cf Auto-Submitted: auto-generated The branch main has been updated by cperciva: URL: https://cgit.FreeBSD.org/src/commit/?id=187d696a0aa0fba9e9a7b6b20c72799cf8a2e0cf commit 187d696a0aa0fba9e9a7b6b20c72799cf8a2e0cf Author: Colin Percival AuthorDate: 2024-07-08 16:30:28 +0000 Commit: Colin Percival CommitDate: 2024-07-10 14:47:18 +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 --- 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 1551516dd6ea..44191d1c56df 100644 --- a/share/mk/bsd.progs.mk +++ b/share/mk/bsd.progs.mk @@ -155,6 +155,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.