From nobody Thu Feb 19 19:15:28 2026 X-Original-To: dev-commits-src-main@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 4fH34K2LQ9z6SHpl for ; Thu, 19 Feb 2026 19:15:29 +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 4fH34K0cJ2z3XWp for ; Thu, 19 Feb 2026 19:15:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1771528529; 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=6QhRxqNbcuhmIQX3vbmQppC17Ojv3TQr33OXqaeqXUs=; b=NNw2rnOW2CG4rL4mvXnXHsiTHCa+saZFuZ/U42TBisPQHyxdzx3qE6qrl754MHoawIvJSV fZi+KSmeMPPKup3yFUOIJdQfsbwFa9rSBQWtp0RtR+vLwEaLrk1Zzq155ztce3G6/84Uq5 Hz13l6mq7mMo6/jPFaxNCjianKFNZp4nJeGrhJkT6F6vXzIPUgmN/ccuiAryUeWtdO1BPs yZWp4lf0MquKhQo3vuqo7nWmHIG2EuM19vLITaHR7Oed2nf+LqXN/xVj4gbm2m3/LDnxqP 9sY2stT6kBBKjBA2WO9B2Eodl74B8Isz+beUTeq7hlZbX83QB+moTTTqNsbaJA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1771528529; a=rsa-sha256; cv=none; b=mCLoETHwuCsr7sFY9h6nLfqvw1RHfhaLjj/rvwPJbn48Aug+7Fq7vZxifnD35sjqVjIe3G BYI95gd1+K5sQ2VcabkJk945hK+O095m/rAYya0JI6oghsY9wmt+RKXmxMPAK0teV1gXjF ebvqNg6SKc4oeuVhEX34vbFWN0B5XRJkNDW+CXoF4k/99LQeii0nYdjMLgeQ6AukzCt9WT vp9c39+amKlsuE7sKN1ysrFvgmo/av6Qa57ePAfdXfxqFNOupY9DnKmT4BQ0+kpyPCsGNZ spXMTpX0/DWMvbi8aK/OSeSzUj+5kTJ5OnM7L/JxlT5Icj5islkhqmuuOSraYA== 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=1771528529; 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=6QhRxqNbcuhmIQX3vbmQppC17Ojv3TQr33OXqaeqXUs=; b=FpjVjrxXOdrWpL4FyEs11cVkQeIkgjxk7LSouJ9r/XfOgY/yds1L6OgSPwE79YzgXR3wqQ MQCO/o8nDZQIYmigBw7+qudFjQ9x1czt1DnQ2OJcgwihAj1wsXsaEuiG9ZulboUjzoqUg8 BuEzSIC/TgzrzHO7Kc1Wpj+XrSpjjAnEdCQtfs98SUaN/CbqaIHU1R+OMCqJWUd3hXdrNE SgLBf8KvasPmQU/T7+NmfDrkOJpm0zY/qRhxWQegkDQ4WJE+8tM3WBtjBG6aTAvuhBUDNh +dPYgHVHAG8WBG3opNAjlUK0qyvNOiV5mtNkqulRWujVLvOWiKjaJYUXCWPqyw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fH34J6n7Wzw4F for ; Thu, 19 Feb 2026 19:15:28 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 44b08 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Thu, 19 Feb 2026 19:15:28 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Cc: Artem Bunichev From: Mark Johnston Subject: git: c8191c3d6139 - main - OptionalObsoleteFiles: Don't mark /usr/lib/debug/boot directory obsolete List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@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/main X-Git-Reftype: branch X-Git-Commit: c8191c3d613928d8bd6060aa2f7da349b4090cc1 Auto-Submitted: auto-generated Date: Thu, 19 Feb 2026 19:15:28 +0000 Message-Id: <69976150.44b08.590c13f2@gitrepo.freebsd.org> The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=c8191c3d613928d8bd6060aa2f7da349b4090cc1 commit c8191c3d613928d8bd6060aa2f7da349b4090cc1 Author: Artem Bunichev AuthorDate: 2026-02-19 19:09:48 +0000 Commit: Mark Johnston CommitDate: 2026-02-19 19:09:56 +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 --- 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 a30ede4c1866..81379ea452bb 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*" \