From nobody Fri Dec 8 16:33:29 2023 X-Original-To: stable@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 4SmxXr71qzz530Yy for ; Fri, 8 Dec 2023 16:33:48 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [IPv6:2a01:4f8:13b:240c::25]) (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 ECDSA (P-384) client-digest SHA384) (Client CN "mail.bsd4all.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SmxXq08BXz3KdX for ; Fri, 8 Dec 2023 16:33:46 +0000 (UTC) (envelope-from herbert@gojira.at) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=K+BDrWoc; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 2a01:4f8:13b:240c::25 as permitted sender) smtp.mailfrom=herbert@gojira.at; dmarc=none Date: Fri, 08 Dec 2023 17:33:29 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1702053218; bh=tKRkQuK5ywvyS27ZYSeiHsGtwTX5ZnlJvG4c7Ks3R8M=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=K+BDrWoch/N0mTixdRhLNKUaBfovA5hRnR5buyLpWfkEn+DXgqM4i9J/rdEFHHBIq cRZ4AKIoNxxAlUtAowM3KPJVswSOoZRo8ivk/lzJK457caMYRLO5zfQfYo/2kBKwmz zjK1OUp72wDp+o37ejfv+1FC2jfj6I24Mj2TWeNZrggF6UZ4bBJPt5vDtTkz/gT1Z+ pwFL7aY/pZnoHPaDHRyx2zDbgrCYGVNGDrLdVzPUZQB8HoSz28yEVeZ+YBOpPcUTky hDaESGhMxhXSzDQhTk4Wh3hwcfat4zXNdskjzgmP3V1seY69YtAvf+H89YUn8w9qKh 6NCYSMH0LrUlQ== Message-ID: <87cyvgbqna.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: stable@freebsd.org Subject: Re: some dirs don't get deleted with make-delete-old In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/29.1 Mule/6.0 List-Id: Production branch of FreeBSD source code List-Archive: https://lists.freebsd.org/archives/freebsd-stable List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Spamd-Result: default: False [-2.50 / 15.00]; MID_CONTAINS_FROM(1.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; R_SPF_ALLOW(-0.20)[+ip6:2a01:4f8:13b:240c::25]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[stable@freebsd.org]; ARC_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; RCVD_COUNT_ZERO(0.00)[0]; DKIM_TRACE(0.00)[gojira.at:+]; RCPT_COUNT_ONE(0.00)[1]; DMARC_NA(0.00)[gojira.at]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; TO_DN_NONE(0.00)[]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE] X-Rspamd-Queue-Id: 4SmxXq08BXz3KdX X-Spamd-Bar: -- On Fri, 08 Dec 2023 13:16:50 +0100, void wrote: > > It seems some dirs don't get deleted with make delete-old: > > # yes | make delete-old > > [...] > /usr/share/doc/atf > rmdir: /usr/share/certs/blacklisted: Directory not empty This directory should no longer exist. It was renamed to untrusted in June 2021 (commit 64e6e1e46363de5d4843cf0fc79406060ec44c03). > /usr/share/atf > [...] > /usr/lib/debug/lib > rmdir: /usr/lib/debug/boot: Directory not empty > /usr/lib/debug/bin > > is this an error? Do you use WITHOUT_DEBUG_FILES= in /etc/src.conf? I think the problem is: 1. etc/mtree/BSD.debug.dist The Makefile contains the following note: "# NOTE: BSD.debug.dist is unconditionally installed for developer ease-of-use." 2. make delete-old does not empty and delete /usr/lib/debug/boot/kernel and /usr/lib/debug/boot/modules. Both directories are excluded in tools/build/mk/OptionalObsoleteFiles.inc (lines 1336-1350). This code was commited in August 2017 by emaste (commit 63cd05d97a6d280e280538229040537d5ac75788). -- Herbert