Index | Thread | Search

From:
Abel Abraham Camarillo Ojeda <acamari@verlet.org>
Subject:
Re: Help porting google mtail
To:
Abel Abraham Camarillo Ojeda <acamari@verlet.org>, ports <ports@openbsd.org>
Date:
Mon, 21 Jul 2025 01:20:43 -0600

Download raw body.

Thread
This port is working for me...

Maybe we can include it? last release seems to be from around a year ago, I
think I can take care
of 1-2 updates per year... Your comments in the modules.inc file seems to
make it easier...

I'm planning to deploy mtail broadly... unless other openbsd users know of
a similar tool that is easier
to port. For the task of read logs -> export prometheus metrics.

On Thu, Jul 17, 2025 at 7:36 AM Stuart Henderson <stu@spacehopper.org>
wrote:

> 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.
>
>