Re: Help with complicated go port update (multimedia/navidrome)

From: Matthias Fechner <mfechner_at_freebsd.org>
Date: Sun, 24 Aug 2025 05:50:29 UTC
Hi Kevin,

Am 23.08.2025 um 09:48 schrieb Kevin Bowling:
> I am bumping up against some limits in the ports Go support and
> wondering if anyone can point me in the right direction.  I get into
> an unbuildable situation when updating multimedia/navidrome to the
> latest release.  I suspect it is modules2tuple needing some
> maintenance as I'm already accumulating some oddities like needing to
> maintain a "slow porting method" and a modules.txt file outside the
> build.

I have not checked what you already did, but I also maintain a lot of 
ports that are build with go.

go.mk can handle all for you, there is no need to use modules2tuple anymore.
go.mk will take care to download the dependencies in the fetch phase 
automatically, you just need the go.mod.

Maybe read the go.mk and/or check ports that I maintain for examples.
I think it was define the name of the go module, enable go usage of 
modules and maybe some other parameters you must define (please check 
Mk/Uses/go.mk).

Sry that I cannot give you a more detailed answer, but my time will be 
the next weeks very limited.

Hope that helps you.


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook