From nobody Tue Mar 31 15:59:08 2026 X-Original-To: dev-commits-src-branches@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 4flXqK3s92z6WFGY for ; Tue, 31 Mar 2026 15:59:09 +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 "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4flXqK1H0hz3grZ for ; Tue, 31 Mar 2026 15:59:09 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1774972749; 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; bh=p1JF6FMtbbAfHXNWqqaX+OAcFhdRjG05kimsJxCRtLM=; b=JNYFhaAgdleQVxhMb09V0R6YQpiE4N065h6aih0DouctrFY1QfDNj4spePCsgMYQzSx83A 4O0MdVHcOCSDDvY6NYzW+FAdL16V5LYTGk6vYeAeeKOrMYpI1xMbxS0yhKJnQ3yDCHka3c zITkOj5TiYOj8j/f4sJHbwBXepQ3nAhfLFdQdqRZ4pYpNm7Q/nlOzWkxnkm7BYoPAFAm/F preJDZKrOV5DQh8u8JQcSAcIrYtC6dsClmS7ebrpk3ER3byJCGWuZM7z558JY+nWQIEnH6 Th5QAxF4iaq89PscsUA+c5SQocm5M264+OLHP3Gslbp5s+IFM8VFRPcP89ByFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1774972749; a=rsa-sha256; cv=none; b=doOrkP6IhTOopNosAwrIq8FaCAfaMK1dGZ/H8dSb1DvPMra1cIpbcLeDXT8YpKNRCBxmk1 E2BHOIRKlP4c+d6Osw8Q8rQmWCvGFu+5ieSsCXyJ2IeEENG4sG09227hoROFX7jE8jprPi 8i9Ll2SzanBuSKDNz+TZymwbmTSarLMf4hgY0S3XUmnMT9lmvtLSKslQwCHTIwQfa6VxXN sa7vzsxZFYyxytHgWWuaJVV51vgdLM3Z3lG4iRVYs0dWxroQy2jsKGvycDQHsnnlGJlR9y WsWPQTPCq1t9OPnlQhL6nZBAIdZWcY/Pcjd6PBigd/fnMiRPeDHJBDBMY87m0A== 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=1774972749; 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; bh=p1JF6FMtbbAfHXNWqqaX+OAcFhdRjG05kimsJxCRtLM=; b=vMjILGJf4OZU8SZJSwoJo9fiGLgmSjpGe2wFAQpft/CRoEJE22yf4knj1hOFOMdsk3/ePe b0r9U+2+LhEwZuIIGgaEHGxMqIAJ/EnRxDVJOq9w6RcTeX1DDyQ1tS3wcqCQkdjoSj3vFi giYHHsbe2wuSYj0sYVhR0Rb95lnAxlMbL1HEhEFc149OzJAO1V7lnjvwaQF2w2VU/rLTVS nQHjgyzUSqa83cP7N3RFSqShtyPXklS4BWbFHGR5gIChUMAdI8wSiOGXhsIrNVQrP4F4uc T8eXFmgmVzRoRIL9DpstAnAbm4i8OXv9KMAxY9SwQzTBt90AL3wm0cB0Ir1U5g== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4flXqJ6wgjzc3l for ; Tue, 31 Mar 2026 15:59:08 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3a216 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Tue, 31 Mar 2026 15:59:08 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Cc: Artem Bunichev From: Mark Johnston Subject: git: 560f75dc844f - stable/15 - OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 560f75dc844f8a0cb39d168d2679cd6c72a88ddf Auto-Submitted: auto-generated Date: Tue, 31 Mar 2026 15:59:08 +0000 Message-Id: <69cbef4c.3a216.7b88c3f9@gitrepo.freebsd.org> The branch stable/15 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=560f75dc844f8a0cb39d168d2679cd6c72a88ddf commit 560f75dc844f8a0cb39d168d2679cd6c72a88ddf Author: Artem Bunichev AuthorDate: 2026-02-19 19:09:48 +0000 Commit: Mark Johnston CommitDate: 2026-03-31 15:57:29 +0000 OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete The intent of the currect code is to ignore anything under /usr/lib/debug/boot/*. But we also should make sure that /usr/lib/debug/boot directory is also ignored and is not marked obsolete. If we don't do that, `make DBATCH_DELETE_OLD_FILES delete-old` will try to rmdir(1) this directory, which will cause an error, since /usr/lib/debug/boot may have nested directories like kernel/ and modules/. Reviewed by: markj MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D55077 (cherry picked from commit c8191c3d613928d8bd6060aa2f7da349b4090cc1) --- tools/build/mk/OptionalObsoleteFiles.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc index b0d80ab26211..bea969b77457 100644 --- a/tools/build/mk/OptionalObsoleteFiles.inc +++ b/tools/build/mk/OptionalObsoleteFiles.inc @@ -1443,8 +1443,8 @@ OLD_DIRS+=usr/include/fs/cuse .if ${MK_DEBUG_FILES} == no .if exists(${DESTDIR}/usr/lib/debug) -DEBUG_DIRS!=find ${DESTDIR}/usr/lib/debug -mindepth 1 \ - -type d \! -path "${DESTDIR}/usr/lib/debug/boot/*" \ +DEBUG_DIRS!=find -E ${DESTDIR}/usr/lib/debug -mindepth 1 \ + -type d \! -regex "${DESTDIR}/usr/lib/debug/boot(/.*)?" \ | sed -e 's,^${DESTDIR}/,,'; echo DEBUG_FILES!=find ${DESTDIR}/usr/lib/debug \ \! -type d \! -path "${DESTDIR}/usr/lib/debug/boot/*" \! -name "lib*.so*" \