From nobody Sat Feb 17 11:15:30 2024 X-Original-To: current@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 4TcR6r0ps2z5B6Kx for ; Sat, 17 Feb 2024 11:15:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TcR6r0BMqz45DT; Sat, 17 Feb 2024 11:15:32 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708168532; 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: in-reply-to:in-reply-to:references:references; bh=989BO4SHfqtCY3/5ykPQwqosR3zIEtcFN8RDe1/3+qU=; b=c4O7nljnfT7ACdvMTL82tZJZLjK+bA44P3lRQCQwo4tFMveTs1JkUZBN/kVIO4PD40FGqp yqLGOxoxtndhAxxbwgfgB2ksWpMx9JeqSwQUnvyjkCiV9c5gbQt+RZ5Bp7rN2GqBDJnqAO Z4z/r137A4L4SqEqVrVwtFlJ8GGP22OoTRD5HKRXJoxTQqAtSrJx6dr1xdaJwvdLtdLktZ 5coVamxasfCv4X2WB3MMsDHf+389IE6HbA7A6XFL9k8VRtebnH5zVRNTwotju7lDxjzkYf h7HFjPN0Cfm3g0Fg6RINsIUNv9By+YHxuVp0jnTfULiM22cys/otWKkxRM2EYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708168532; 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: in-reply-to:in-reply-to:references:references; bh=989BO4SHfqtCY3/5ykPQwqosR3zIEtcFN8RDe1/3+qU=; b=X3kAm34paGYP61UaM48RhIiQ3lT8da0LhCAl22c8pO+jYBN0p2oNbDL0hyx74ZSqqMxpHj SbeihPDo3zzOs4msNBQKg+2Mhl4UJ/jNBazHqtwhFsbK4Ow09w8JSjOtDantekI7a3N3Hx ZxWBOvcTEPffq5rjgVByQLWUHdowuB4EwFZr13b01RAr0M2u0f5AA0XWanxpujCEg9RESf kRofP6Gtmdti5HuOC5YkGuho+gX3E4ohhrrck/+s/HPyVbzBNW/+A6EhfmCSWdZiYQak6S i0IEkRD/MqheQcXYXlR3M/tk0stTl0w1Wh7WrKa9LRBjelYdJqdi+WyERQVmIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708168532; a=rsa-sha256; cv=none; b=VZKs1zR/1GKiOuoCQoVNOc3THJ2MLukXBvk6d6Io2xDfcGnpnrbhauoPyMyIN4JOkAwUnT wNcacBWQv64RqpCeEPwd2FszX0jVcO+bTVSNU3mioUUIbNhzHPXHHvmk/92Vj2sncRTcZN A/ff8iBdewm0LHLW84UBXB84eeSJN1tj4WIkF5r8QX1VllBZWhZUyV2yxrbi+6foglRFaZ KFktCHRdOg9ZyFW1RRXjl6yVlTzOUidod5DFeM1mJvrOiWzGP0DgpGYX7+U1flfAJswtgf mPdPfYMbWLikiTGE1hvqJUxaAE7xvrXiEGw8jP6f3HlAvGXJqGhCmkxTZ06QkA== Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (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 (2048 bits) client-digest SHA256) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id 4TcR6q5cPmz10q9; Sat, 17 Feb 2024 11:15:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtpclient.apple (longrow.home.andric.com [192.168.0.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 53CC56944F; Sat, 17 Feb 2024 12:15:30 +0100 (CET) Content-Type: text/plain; charset=us-ascii List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\)) Subject: Re: install: /usr/libexec/kgdb exists but is not a directory From: Dimitry Andric In-Reply-To: Date: Sat, 17 Feb 2024 12:15:30 +0100 Cc: current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <687DC3BC-64FF-4619-93AB-E760FAF5F0CF@FreeBSD.org> References: To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3731.700.6.1.1) On 17 Feb 2024, at 01:02, Bjoern A. Zeeb = wrote: >=20 >=20 > probably related to the 20201215 UPDATING note: >=20 > during an update from last year's main to now I hit the following = error: >=20 > install: /usr/libexec/kgdb exists but is not a directory >=20 > Which is true as the old binary was still lingering around. >=20 > -r-xr-xr-x 1 root wheel 2833328 11 Aug. 2020 /usr/libexec/kgdb >=20 >=20 > UPDATING should probably include that delete-old needs to be run at = some > point or the binary needs to be removed manually? https://cgit.freebsd.org/src/commit/?id=3D1c0ea326aa6d3 (2020-12-15) = removed the files, https://cgit.freebsd.org/src/commit/?id=3D2524b7dfb0df7= (2024-01-15) added the directory, so that is a window of 4 years! That said, it could probably use a workaround like we do for some libc++ = files-that-became-directories, in etc/Makefile: diff --git a/etc/Makefile b/etc/Makefile index 745ca91c60bf..229d9380901d 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -126,6 +126,7 @@ MTREES+=3D ../${mtree} / # scenario. DISTRIB_CLEANUP_FILES+=3D ${INCLUDEDIR}/c++/v1/__string DISTRIB_CLEANUP_FILES+=3D ${INCLUDEDIR}/c++/v1/__tuple +DISTRIB_CLEANUP_FILES+=3D ${LIBEXECDIR}/kgdb distrib-cleanup: .PHONY for file in ${DISTRIB_CLEANUP_FILES}; do \ if [ -f ${DESTDIR}/$${file} ]; then \ -Dimitry