From: Stuart Henderson Subject: Re: Help porting google mtail To: Abel Abraham Camarillo Ojeda Cc: ports Date: Thu, 17 Jul 2025 14:36:49 +0100 On 2025/07/17 05:04, Abel Abraham Camarillo Ojeda wrote: > Hi to all, > > I'm trying to port google mtail but I don't understand how go (and go ports work), > MODGO_VERSION = v3.0.0-rc9+incompatible # generated by make modgo-gen-modules This is the newest on https://pkg.go.dev/github.com/google/mtail?tab=versions but looking at https://github.com/google/mtail it isn't the latest. The usual "portgen go" and go.port.mk modules mechanisms can't fetch a current version and they break down with the +incompatible tag. Writing a port for this can be done but it's a bit of a bodge. Port attached with comments for the hairy bits. Updating will require constructing new MODGO_MODULES and MODGO_MODFILES sections by hand.