Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Feb 2024 12:33:04 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        current@freebsd.org
Subject:   Re: install: /usr/libexec/kgdb exists but is not a directory
Message-ID:  <3EC5B88B-133D-4BE9-B982-A4859B7DAB04@FreeBSD.org>
In-Reply-To: <687DC3BC-64FF-4619-93AB-E760FAF5F0CF@FreeBSD.org>
References:  <o1pon055-nnor-2opq-ns13-46802o364445@yvfgf.mnoonqbm.arg> <687DC3BC-64FF-4619-93AB-E760FAF5F0CF@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 17 Feb 2024, at 12:15, Dimitry Andric <dim@FreeBSD.org> wrote:
>=20
> On 17 Feb 2024, at 01:02, Bjoern A. Zeeb =
<bzeeb-lists@lists.zabbadoz.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3EC5B88B-133D-4BE9-B982-A4859B7DAB04>