From nobody Tue Mar 3 11:25:48 2026 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 4fQD5B5qCSz6SyyX for ; Tue, 03 Mar 2026 11:26:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fQD5B1cYMz3VCr for ; Tue, 03 Mar 2026 11:26:06 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-3591cc98871so2409692a91.3 for ; Tue, 03 Mar 2026 03:26:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1772537160; cv=none; d=google.com; s=arc-20240605; b=HMsdXDc3Xuf7sNKexldlj5tNMqXXr/wKUkt/OaaHuxEYd7LqjDvYk65zNCpiXFqROS FtqSie6mmvYjCjUtu64ML0cBsikN4RvplClY2sx9Sc4fOQlPfGEKaO/QCc4I0aR5oj6L nHXNyPrh475fgjZ+ZDV++iDGzSOmiMcBQyoG/t/A+Qj8Jt3Cl81uPvYfTrOgO7wgiUQi V2iOc6IoYf1ZVmQYV4/RM4Aau6Z/r0GeI2EWbuPSNrYbhhLviJfltD+4v4djYTKDpEk3 trXB7CfNsv/Ak6z5BWci48uLYFeHNQ4vyfHqSZtJXKxNBTNtAFZ8T0g1S5LKRJZUxRr1 x83A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Bx+AO1lVryOD0R/NWm8A9HkRHnoZGy+fUGBNuB9w+rk=; fh=pa9L/f3frs2ZttBUCqICj3QwQuj8HPWvuz+NTTUimhc=; b=G7lVd76MNTJnpTfcAxmIO11zbfWX7kIwFp7UMm48osxXnNPjqzsTJnmrouaevgFOUu V/H2ixIvMVZrdTMK38UndNHtMNpNAKcWwsbbpFK73MmpGidyV6Y/0ZU+mAqY4rxvhdqd IcFeigb+eZpDa5jB8nMNQTl/YQAucN3xeNQyGW/7TRWJi8I1jsULhcU8wOeKAKt5blLy /zv+sNtFf2jxz2UZiyYOwT11+xRg6S/qPuVgDzWTD9n6BlDFTUoMPGWwcuEoqRtjo5fT uMxu3clsFnXlYN6Zf/9CCA10pDotHodUhTPcyYDs9DaM/HbRA6eMbLJ79JEGfPscL3+N 6WEQ==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20230601.gappssmtp.com; s=20230601; t=1772537160; x=1773141960; darn=freebsd.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Bx+AO1lVryOD0R/NWm8A9HkRHnoZGy+fUGBNuB9w+rk=; b=i7FmGWgBIxFIKKXCDbdrIqaypqa2G9znwdSOdPAOuys8hvR3drUIKZSnOwU15x0mPy 0IYwHIAFmAA5R1b4VJdcAFU9mBH9dxOUdLCoCFohYNqdNO+GuroM2+/a7Rb0uDqRzcwC O7QhIT4u8zGcp1H7WGslH1Z5mKlOIaOvU9Ml2//jMRVhhEysTSIxPEBt+tFUfrkApMI1 Bt7nGyr7cxDEuMD+/MonBffytKkFORJgvJU7JrlJ/0qOchavAhrcjQPWl/4nUrFnJN2t H7mxudz4tIlZsKioFlpStUvA0jjA//+d106rYekPOLwvVJwN0oaQalyGpcbVEzw1vXZx YXDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1772537160; x=1773141960; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Bx+AO1lVryOD0R/NWm8A9HkRHnoZGy+fUGBNuB9w+rk=; b=e6FNBVVqERey/BDhYIOWQTr5k5OaFtLag0WvJNQRF0lcCtD0q4AZka5U2mLGmKXP5X bW8PIOkNFrp/fXwe7/LSiLSswiHyVbmapMGdiFxpBN1W+PS/BK7oUGcb+mOKR59fw4QP kevfqK5Kv55OJ88Uu22oURWoOMNcGvzcJJHQM+GJZ6USNSz424KbT1eVMvXOFSN8z4Ig Th2FLVlT8lRgJCGS8xGq51Tx4YKS2OvhTRo6PS341cwocy1dRi/IvtJJYcvJsj07SZ46 Hfu+SJe6ILNcHYhhexePm2I8Y06ulpytEItNp5W9+TqZje6WwPyPYZJ2Mzfql52ZOL3y bZkA== X-Forwarded-Encrypted: i=1; AJvYcCV4rRzwvPgbGGSBr55sZk/un0b/J50pqcQhyidSxc1C1ziNr6g7MES7wxzsO6l5AwUwrQrwTHkEScF4pkBVJPTy1CR6@freebsd.org X-Gm-Message-State: AOJu0YxgRRshZd5bGHQg9T2xV1++XUjClvOB/8mleYaaUQfJNhBBgXfw apuqXy6lGjrFekCDpWxlgD3EwfI3S5h7uaKzjOm5mWTfNX7jqH54zmKjeXiOmhh8TDo0t2LADzk CLXCi+AxskZrIKJbX62hPysJe+8Ojcp3qJBkmmQtPhg== X-Gm-Gg: ATEYQzzFu+AjSTLuAHEptnAc4iR1cAuYBGOgOQnW1feW2XtArTWpmI1QAtwKzmMBW22 cIwIG72In3ZwZWoucgfo+eFCg904H01iuXA9hsApKMVwUDj7Cv8jyWZBEaVYt4G5UIn0gTImXmx 19ngvfNYj7i1+QJ1pwYUEi/qekawL71+ojdzEXkWQKHoWbzTdZIU+I3w3+7gYbgqILW4vu92noi z7eZfG8WEB9AvN73dkxeKHDVURgzcl0Kpv/3Z8MzwmG3fPNtDA7QZO2cDyoKDA/amhzHJ14oIhk LXncazuZN+yKDO+LB+Y2ie1QdXWoVrsEN818lg== X-Received: by 2002:a17:90b:584e:b0:354:a332:1a61 with SMTP id 98e67ed59e1d1-35965c276bfmr11147086a91.5.1772537159971; Tue, 03 Mar 2026 03:25:59 -0800 (PST) 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 References: <69a678f3.3f811.148b0d7d@gitrepo.freebsd.org> In-Reply-To: <69a678f3.3f811.148b0d7d@gitrepo.freebsd.org> From: Warner Losh Date: Tue, 3 Mar 2026 04:25:48 -0700 X-Gm-Features: AaiRm52os4sKYYoCYfrNMZLFWv4GlwJt7I8GRJlav4CG_cIpu9ZUBudXuY_8p8w Message-ID: Subject: Re: git: 912864912b71 - main - Run `make obj` before running `make test-includes` To: Enji Cooper Cc: src-committers , "" , "" Content-Type: multipart/alternative; boundary="000000000000c57f16064c1cf72e" 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:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4fQD5B1cYMz3VCr X-Spamd-Bar: ---- --000000000000c57f16064c1cf72e Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Mar 2, 2026, 11:00=E2=80=AFPM Enji Cooper wrote: > The branch main has been updated by ngie: > > URL: > https://cgit.FreeBSD.org/src/commit/?id=3D912864912b71951f9a636190b1dba80= 528f588eb > > commit 912864912b71951f9a636190b1dba80528f588eb > Author: Enji Cooper > AuthorDate: 2026-03-03 05:59:50 +0000 > Commit: Enji Cooper > CommitDate: 2026-03-03 05:59:56 +0000 > > Run `make obj` before running `make test-includes` > > Before this change, `make test-includes` (run as part of buildworld) > would place test files in the current directory, which would clutter = up > git clones. Run `make obj` beforehand to ensure that the files are pu= t > in `${.OBJDIR}` instead of `${.CURDIR}`. This helps cut down on the > noise significantly when running commands like `git status`. > I've never seen this happen. .OBJDIR is created automatically for me always for the last 5 years... I run buildworld all the time. Can you explain when / how it happens more specifically or back out the change? Warner MFC after: 1 week > Differential Revision: https://reviews.freebsd.org/D55499 > --- > Makefile.inc1 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/Makefile.inc1 b/Makefile.inc1 > index 93c54e0a0d14..c4696abae8cd 100644 > --- a/Makefile.inc1 > +++ b/Makefile.inc1 > @@ -1207,7 +1207,7 @@ _includes: > .if !empty(SUBDIR_OVERRIDE) && make(buildworld) > ${_+_}cd ${.CURDIR}; ${WMAKE} MK_INCLUDES=3Dyes SHARED=3Dsymlinks > includes > .endif > - ${_+_}cd ${.CURDIR}; ${WMAKE} test-includes > + ${_+_}cd ${.CURDIR}; ${WMAKE} test-includes > _libraries: > @echo > @echo > "--------------------------------------------------------------" > @@ -1575,6 +1575,7 @@ makeman: .PHONY > # Ensure no regressions in self-includeability of sys/*.h and net*/*.h > test-includes: .PHONY > ${_+_}cd ${.CURDIR}/tools/build/test-includes; \ > + ${WMAKEENV} ${MAKE} ${WORLD_FLAGS} obj; \ > ${WMAKEENV} ${MAKE} ${WORLD_FLAGS} DESTDIR=3D${WORLDTMP} > test-includes > > # We can't assume here that ${TMPPATH} will include ${PATH} or > /usr/libexec > > --000000000000c57f16064c1cf72e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Mar 2, 2026, 11:00=E2=80= =AFPM Enji Cooper <ngie@freebsd.org<= /a>> wrote:
The branch main has = been updated by ngie:

URL:
ht= tps://cgit.FreeBSD.org/src/commit/?id=3D912864912b71951f9a636190b1dba80528f= 588eb

commit 912864912b71951f9a636190b1dba80528f588eb
Author:=C2=A0 =C2=A0 =C2=A0Enji Cooper <ngie@FreeBSD.org>
AuthorDate: 2026-03-03 05:59:50 +0000
Commit:=C2=A0 =C2=A0 =C2=A0Enji Cooper <ngie@FreeBSD.org>
CommitDate: 2026-03-03 05:59:56 +0000

=C2=A0 =C2=A0 Run `make obj` before running `make test-includes`

=C2=A0 =C2=A0 Before this change, `make test-includes` (run as part of buil= dworld)
=C2=A0 =C2=A0 would place test files in the current directory, which would = clutter up
=C2=A0 =C2=A0 git clones. Run `make obj` beforehand to ensure that the file= s are put
=C2=A0 =C2=A0 in `${.OBJDIR}` instead of `${.CURDIR}`. This helps cut down = on the
=C2=A0 =C2=A0 noise significantly when running commands like `git status`.<= br>

I= 've never seen this happen. .OBJDIR is created automatically for me alw= ays for the last 5 years... I run buildworld all the time. Can you explain = when /=C2=A0 how it happens more specifically or back out the change?
=

Warner

=C2=A0 =C2=A0 MFC after:=C2=A0 =C2=A0 =C2=A0 1 week
=C2=A0 =C2=A0 Differential Revision: https://reviews.fr= eebsd.org/D55499
---
=C2=A0Makefile.inc1 | 3 ++-
=C2=A01 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/Makefile.inc1 b/Makefile.inc1
index 93c54e0a0d14..c4696abae8cd 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -1207,7 +1207,7 @@ _includes:
=C2=A0.if !empty(SUBDIR_OVERRIDE) && make(buildworld)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${_+_}cd ${.CURDIR}; ${WMAKE} MK_INCLUDES=3Dyes= SHARED=3Dsymlinks includes
=C2=A0.endif
-=C2=A0 =C2=A0 =C2=A0 =C2=A0${_+_}cd ${.CURDIR};=C2=A0 ${WMAKE} test-includ= es
+=C2=A0 =C2=A0 =C2=A0 =C2=A0${_+_}cd ${.CURDIR}; ${WMAKE} test-includes
=C2=A0_libraries:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @echo
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @echo "-----------------------------------= ---------------------------"
@@ -1575,6 +1575,7 @@ makeman: .PHONY
=C2=A0# Ensure no regressions in self-includeability of sys/*.h and net*/*.= h
=C2=A0test-includes: .PHONY
=C2=A0 =C2=A0 =C2=A0 =C2=A0 ${_+_}cd ${.CURDIR}/tools/build/test-includes; = \
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0${WMAKEENV} ${MAKE} ${WORLD_FLAGS= } obj; \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ${WMAKEENV} ${MAKE} ${WORLD_FLAGS= } DESTDIR=3D${WORLDTMP} test-includes

=C2=A0# We can't assume here that ${TMPPATH} will include ${PATH} or /u= sr/libexec

--000000000000c57f16064c1cf72e--