From nobody Fri Apr 8 11:22:55 2022 X-Original-To: freebsd-questions@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 4C6261A8BBEA for ; Fri, 8 Apr 2022 11:23:50 +0000 (UTC) (envelope-from herbert@gojira.at) Received: from mail.bsd4all.net (mail.bsd4all.net [94.130.200.20]) (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 4KZbVD6Hmrz4vZq for ; Fri, 8 Apr 2022 11:23:48 +0000 (UTC) (envelope-from herbert@gojira.at) Date: Fri, 08 Apr 2022 13:22:55 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=gojira.at; s=mail202005; t=1649417027; bh=hU47jqCsr3QNZEbcNu0kfsPHHfVGUXvFp6c0TnqXkzY=; h=Date:Message-ID:From:To:Subject:MIME-Version:Content-Type; b=loQYiiLhpLN4Sdjuf5FXIQlZ+I3/9KWen41fMyNUjRQiijDoSyvnnzjTQjon6wzdK K3q9eVSSe/Y+smx942AMp2N1pGvseLAt4NTuThGAvKMOvGCzTujVlFfocFls9W9h9y BOGwkKBVrcTm13NdXKLYYasmX225eT1SBq2wFeGO6T/I1MSIJJfU1U8l/tg4rCnwQZ 3XN5gSFJBhOWGjn+B0OMZQEnTmFkcr5CG8fmAKot2VFJZIiqaRQYDKsGHmFeYqB1UJ ocYBi2d15aPmQcOCpldXCu2bvijqaRpZhgKgGZTFUwTJGdmttE76KB6+1l6CToTBdP oSarTqNZOOLyA== Message-ID: <87sfqn95v4.wl-herbert@gojira.at> From: "Herbert J. Skuhra" To: freebsd-questions@freebsd.org Subject: Re: why does "make delete-old" not delete some directories? In-Reply-To: References: User-Agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/29.0 Mule/6.0 List-Id: User questions List-Archive: https://lists.freebsd.org/archives/freebsd-questions List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4KZbVD6Hmrz4vZq X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gojira.at header.s=mail202005 header.b=loQYiiLh; dmarc=none; spf=pass (mx1.freebsd.org: domain of herbert@gojira.at designates 94.130.200.20 as permitted sender) smtp.mailfrom=herbert@gojira.at X-Spamd-Result: default: False [-0.45 / 15.00]; R_SPF_ALLOW(-0.20)[+ip4:94.130.200.20]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gojira.at:+]; NEURAL_HAM_SHORT(-0.77)[-0.775]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; SUBJECT_ENDS_QUESTION(1.00)[]; ASN(0.00)[asn:24940, ipnet:94.130.0.0/16, country:DE]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-0.18)[-0.181]; R_DKIM_ALLOW(-0.20)[gojira.at:s=mail202005]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[gojira.at]; RCPT_COUNT_ONE(0.00)[1]; MID_CONTAINS_FROM(1.00)[]; MLMMJ_DEST(0.00)[freebsd-questions] X-ThisMailContainsUnwantedMimeParts: N On Thu, 07 Apr 2022 19:46:03 +0200, tech-lists wrote: > > Hi, > > Why does 'make delete-old' seemingly fail with some dirs and not > others? > context is earlier stable/13 updated to stable/13 as of a few minutes > ago. > > root@redacted:/usr/src # yes | make delete-old > > [...] > rmdir: /usr/lib/debug/usr/lib/i18n: Directory not empty > /usr/lib/debug/usr/lib/flua > /usr/lib/debug/usr/lib/engines > rmdir: /usr/lib/debug/usr/lib/clang/13.0.0/lib/freebsd: Directory not empty > rmdir: /usr/lib/debug/usr/lib/clang/13.0.0/lib: Directory not empty > rmdir: /usr/lib/debug/usr/lib/clang/13.0.0: Directory not empty > rmdir: /usr/lib/debug/usr/lib/clang: Directory not empty > rmdir: /usr/lib/debug/usr/lib: Directory not empty > /usr/lib/debug/usr/bin > rmdir: /usr/lib/debug/usr: Directory not empty > /usr/lib/debug/sbin > /usr/lib/debug/libexec > /usr/lib/debug/lib/nvmecontrol > /usr/lib/debug/lib/geom > rmdir: /usr/lib/debug/lib/casper: Directory not empty > rmdir: /usr/lib/debug/lib: Directory not empty > rmdir: /usr/lib/debug/boot: Directory not empty > /usr/lib/debug/bin > [...] > > root@redacted:/usr/src # file /usr/lib/debug/usr/lib/clang/13.0.0/lib/freebsd > /usr/lib/debug/usr/lib/clang/13.0.0/lib/freebsd: directory I always run rm -rf /usr/lib/debug before "make delete-old(-libs)". :-) > Shouldn't they be deleted? $ cd /usr/src $ grep debug etc/mtree/Makefile etc/mtree/Makefile:# NOTE: BSD.debug.dist is unconditionally installed for developer ease-of-use. -- Herbert