From nobody Thu Aug 28 01:07:06 2025 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 4cC3CG3yFsz65ylN; Thu, 28 Aug 2025 01:07:06 +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" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cC3CG3P79z3Y9h; Thu, 28 Aug 2025 01:07:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756343226; 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=PVhVvCnRadLe3PvaSGvl/7aNVT5JkkqmVsnzW4aiqZo=; b=HZWVHi81B5cFYLNqTO2G+9vzYPAh5SDLcnktYp/Xwz4Q2Zql3Gn5o2hXOp3NkoEn06RQNX eFKNOZPogdyWJMMMi4n58nXl+HvMNc76cWeylwqHG6huOdC+s1V/BXSBNYOgfaDCbIZ5RW nEjyNBDlSZBKX9td2l+beBdEH7O4s7qxgSZr7MlGopGa554/z7f7Kx9NU+4NUTLsXyhJ6m JWZ961XGBNcn0tB+UymBtKN5mRCb7AMIr8NADoi3mmOV3M7dJsqpWenSyjSVgM0YQUAmb2 GVjqpG2Rh5N1paGnzfG52v2Pw6p016Ti0nv+rP+ff8U58gznXxX5NwCHfkOnDw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1756343226; 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=PVhVvCnRadLe3PvaSGvl/7aNVT5JkkqmVsnzW4aiqZo=; b=QNowi4mh44Pv2Z4izvPtqT5hLYupSa/LEQ29qaaYDCgR9yv8KJb1L7AZLR8AoexrDbKcnT 6Oi2Q2f0lJFkAJTgzbim9eRHWnQF6pbOUe0p7K9XjbVImhofmev849/8TqghHVWpZNcF1z 70ULWR9uDlx0Fb12bqPN1f6iLwiQnVRVzrrAHfRL0ykam4INJieF2m0jYE2p2lLTCwRw2d +1vyxg8ALY/O88V0xUf+Otndh/JIEWIGOUb9SjRZItiJ0vHTjHzWTt/KbwbtvUxLhuXreS qx1U3Xz5L4hnaMdWMX826T5+Ziz2Iq/RJzR7oxHq8m+ovmXrPjq1jtFahQMARw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1756343226; a=rsa-sha256; cv=none; b=oFJcLDUXuiJjO7lz5Zq5RzQrcBHEcRaBViH14NVg1HTTbvhjXdBepUKOM6Vc/WDI5ZkklY vzF7XExiT5iNIwzytuohWhYWD2GHrg4hGfxygJ2LDQKMLMbn9r+H2DbhBJHaa8MSUfHxqv MpDpNNMTXy0Hb9nQ00YP9M+izOnKuynL7+eC5fhP/VPIHxs9E5vcDR1uJGFAUwJ4gPLhUx 0SGtzjexo/uZ4qhyQ5UokHXubhYA3NmhVTKrbIw8hc2vcWMbrauU6I/CNn/iDZl4hVXsc3 KiQDcpc1yHEtaCeKsq6ruT+bjCeomX8N3UnyWerENkGfTRzFM1s7c5WH3Wg9fA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4cC3CG2nD4znQk; Thu, 28 Aug 2025 01:07:06 +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 57S176k2085226; Thu, 28 Aug 2025 01:07:06 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 57S176Ml085223; Thu, 28 Aug 2025 01:07:06 GMT (envelope-from git) Date: Thu, 28 Aug 2025 01:07:06 GMT Message-Id: <202508280107.57S176Ml085223@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Maxim Sobolev Subject: git: 55403c7c559c - stable/14 - build: fix list-old-dirs / check-old-dirs 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: sobomax X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 55403c7c559c68c84070a49a5fdb6740cced0014 Auto-Submitted: auto-generated The branch stable/14 has been updated by sobomax: URL: https://cgit.FreeBSD.org/src/commit/?id=55403c7c559c68c84070a49a5fdb6740cced0014 commit 55403c7c559c68c84070a49a5fdb6740cced0014 Author: Maxim Sobolev AuthorDate: 2025-08-25 22:00:14 +0000 Commit: Maxim Sobolev CommitDate: 2025-08-28 01:04:36 +0000 build: fix list-old-dirs / check-old-dirs Fix list-old-dirs to not generate empty line at the end of the output if OLD_DIRS happens to have a space at the end of the last word of the output before the final \n. Then that space is turned into \n and we end up with a blank line. Futhermore this gets converted into a "/" i.e. root fs when calling check-old-dirs. This is the regression since a8267ecc3df0a. Reviewed by: emaste Approved by: emaste Sponsored by: Sippy Software, Inc. Differential Revision: https://reviews.freebsd.org/D52153 MFC After: 3 days --- Makefile.inc1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.inc1 b/Makefile.inc1 index ec1558e3daef..48245b06d463 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -3547,7 +3547,7 @@ check-old-libs: .PHONY list-old-dirs: .PHONY @cd ${.CURDIR}; \ ${MAKE} -f ${.CURDIR}/Makefile.inc1 ${.MAKEFLAGS} ${.TARGET} \ - -V OLD_DIRS | sed -E 's/[[:space:]]+/\n/g' | sort -r + -V "OLD_DIRS:ts\n" | sort -r delete-old-dirs: .PHONY @echo ">>> Removing old directories"