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>

index | next in thread | previous in thread | raw e-mail

On 17 Feb 2024, at 12:15, Dimitry Andric <dim@FreeBSD.org> wrote:
> 
> On 17 Feb 2024, at 01:02, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
>> 
>> 
>> probably related to the 20201215 UPDATING note:
>> 
>> during an update from last year's main to now I hit the following error:
>> 
>> install: /usr/libexec/kgdb exists but is not a directory
>> 
>> Which is true as the old binary was still lingering around.
>> 
>> -r-xr-xr-x  1 root wheel 2833328 11 Aug.  2020 /usr/libexec/kgdb
>> 
>> 
>> 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=1c0ea326aa6d3 (2020-12-15) removed the files, https://cgit.freebsd.org/src/commit/?id=2524b7dfb0df7 (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:

https://cgit.freebsd.org/src/commit/?id=e368e9b75677 :)

-Dimitry



help

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