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

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Wed, 10 Dec 2025 19:23:47 UTC
Daniel Engberg <diizzy@FreeBSD.org> writes:
> Dag-Erling Smørgrav <des@FreeBSD.org> writes:
> > Daniel Engberg <diizzy@FreeBSD.org> writes:
> > > -USES=		go:1.22,modules
> > > +USES=		go:1.23,modules
> > This is not an improvement.  Go 1.23 is past EOL and scheduled for
> > removal at the same time as 1.22.  Furthermore, my testing shows that
> > sysutils/gdu builds just fine with Go 1.24, even before the update.
> I have no idea what you mean by improvement. The current idea of how
> Go apps should be built conflicts with how you expect the ports tree
> to work which also have been mentioned in discussions and previous
> ones.

Pinning sysutils/gdu to 1.22 is problematic because 1.22 is EOL and
scheduled for removal.  That's why Adam deprecated sysutils/gdu (it was
the wrong thing to do but he was right about the _reason_ for doing it).

Pinning it to 1.23 does nothing to improve the situation since 1.23 is
also EOL and scheduled for removal.

The correct solution _in this specific case_ is to remove the version
number.  Just use `go:modules` and nothing more.  Your port builds fine
with the default Go version.  I tested it over the weekend.  Other ports
need more work, but sysutils/gdu will be fine.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org