Re: git: 045bc7b726d0 - main - sysutils/gdu: Update to 5.32.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 13 Dec 2025 07:20:28 UTC
On 2025-12-13 01:22, Robert Clausecker wrote:
> Hi Daniel,
> 
> Am Sat, Dec 13, 2025 at 12:49:56AM +0100 schrieb Daniel Engberg:
>> On 2025-12-13 00:41, Dag-Erling Smørgrav wrote:
>>> Daniel Engberg <diizzy@FreeBSD.org> writes:
>>>> Dag-Erling Smørgrav <des@FreeBSD.org> writes:
>>>>> The correct solution _in this specific case_ is to remove the
>>>>> version number.  Just use `go:modules` and nothing more.
>>>> That just hides the real issue.  The more appropriate solution instead
>>>> of downloading random toolchains would be to remove toolchain [...]
>>>
>>> No.  There is no issue.  This port builds fine with all supported Go
>>> versions and does not need a “more appropriate solution”.  Just remove
>>> the version number.  No random toolchain will be downloaded.  This is
>>> how it's supposed to work.
>>>
>>> DES
>>
>> Until it silently breaks, you don't expect the GCC 13 port to download 14
>> and use that instead right?
> 
> A toolchain is only downloaded if the toolchain requested by the port is
> newer than the local toolchain.  This will not the case with the default
> toolchain, so no breakage is to be expected.
> 
> That said, we should set GOTOOLCHAIN=local to avoid this possibility
> entirely.
> 
> Yours,
> Robert Clausecker
> 

The only downside I can see with this approach is that we'd kill not 
frequently updated projects/ports given that Go at least used to be a 
rather fast moving target but given that the tendency of not pruning the 
tree that's probably not a bad thing.

Best regards,
Daniel