From nobody Sat Feb 17 11:33:04 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 4TcRW622m6z5B8cD for ; Sat, 17 Feb 2024 11:33:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 4TcRW61XNhz486T; Sat, 17 Feb 2024 11:33:06 +0000 (UTC) (envelope-from dim@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708169586; 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=u/ZnfAVKWGruBDaLu/yGJezcfsDjoO57n+UVjoa4cpE=; b=DUwJ73oVpWn4HR/Wnyec62+Y3t0qQwkA3imTWsdB+nrAQwLruOte75kAxHwWEOpXeEC8aq wjZ0Nws75lSkNKwZ52edtzqbcugWI89wg7IzGjRW2NlxYJVjH9gPKyduZ1hqY+RrCNXgUM W2ViQrTHa3XkAtlWcaa1dsBg209+tWXDo2rHlRhZgflCzk4KCvd6lkn7VDjiQnijN7rC/w 4Z7ExTvFtXZ8UWFahAe0ODdD6X/Nez6ryiPeDJC9Eo0XqRKvh3yn7Dze9GWOWj9knn0ixZ DDaDQ1X8OHgkuyprCVhtMlrJKRtD8TJb8skNVTmMDq9mVfNDdCenBZDynXGZDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708169586; 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=u/ZnfAVKWGruBDaLu/yGJezcfsDjoO57n+UVjoa4cpE=; b=Dh1WWNhd3s+jGIVq1GehWexgO5HDCu/ZE1bBmFhH+SOxg62Ud+Yj0/GII9NBq1q2oyOyUJ Xlp6HS2gz951wKEF5wmsSBkyiJOefrvWIUO8mvQBgnhgB85ruHYhoyAQkB1K2UokPjh0Ts k8ZxMPcGgB6tyFtNEaCA2MWIngYgCpQeekWD5iugXXXKN1fz1vvuEQwDyFh/00SFh6lu5m 4FMu7SuMoQ6OBScPePcEnkR7ZG0n8ATn8uw5rreTnOrZ1k9UiHLFg63oBEZe9kFHnfgP1z 1r57Hthbj+VsoqcyWCiu4vwnyY4NSuwyc5FmydtaIYJAqXOLh0knpfp0oZWxZw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708169586; a=rsa-sha256; cv=none; b=NYfBDIvCK4HNDxgmtulJ8+u5B/XEllW3EaWYlfYAwTHbJ611OjAQu6DyQxyZpSYlLenF0y x3Iv8piREPCPwst9516AcrU13TDH4cqWP+DtQFbsqTNGoyHT3knhHf3CaRg5nipMojh8/P WicduVOix3TRBlJtpGyM3hVcCHlCVZpZqhvapIpkJ/ScpGvUzkNEl2m4SEWcVAkVvRwb10 /FgSKG5mTj4G/toQovj0QmuDztY/uMx0AMTrRzV/kmLskHT3eYWueYSyGhyRs/gedQFXqA oDN8JTEEdmUsILv5vMufjcEq2LFfUhucmzbdtrlpfTXS45JEMr9a8C3OpmQh1g== 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 4TcRW601NXz10fb; Sat, 17 Feb 2024 11:33:05 +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 E2ADC69535; Sat, 17 Feb 2024 12:33:04 +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: <687DC3BC-64FF-4619-93AB-E760FAF5F0CF@FreeBSD.org> Date: Sat, 17 Feb 2024 12:33:04 +0100 Cc: current@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3EC5B88B-133D-4BE9-B982-A4859B7DAB04@FreeBSD.org> References: <687DC3BC-64FF-4619-93AB-E760FAF5F0CF@FreeBSD.org> To: "Bjoern A. Zeeb" X-Mailer: Apple Mail (2.3731.700.6.1.1) On 17 Feb 2024, at 12:15, Dimitry Andric wrote: >=20 > 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? >=20 > 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! >=20 > That said, it could probably use a workaround like we do for some = libc++ files-that-became-directories, in etc/Makefile: https://cgit.freebsd.org/src/commit/?id=3De368e9b75677 :) -Dimitry