Re: git: 045bc7b726d0 - main - sysutils/gdu: Update to 5.32.0
Date: Fri, 12 Dec 2025 23:17:00 UTC
On 2025-12-10 20:23, Dag-Erling Smørgrav wrote: > 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 That just hides the real issue. The more appropriate solution instead of downloading random toolchains would be to remove toolchain (if specified) and replace go version with whatever version the go(lang) port uses as far as I can tell by having a look at go's documentation. Best regards, Daniel