public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: John Goerzen <jgoerzen@complete•org>
To: nncp-devel@lists.cypherpunks.ru
Subject: Building with newer Yggdrasil?
Date: Thu, 17 Nov 2022 15:08:36 -0600	[thread overview]
Message-ID: <87h6yxe1bf.fsf@complete.org> (raw)

Hi Sergey,

We finally have gvisor in Debian, so I was looking to build the latest
NNCP for it.  Unfortunately, we now run into another problem, which is
that we have the latest Yggdrasil, and there have been some changes
since the version NNCP is building against.  Namely, these errors occur:

> src/go.cypherpunks.ru/nncp/v8/yggdrasil/yggdrasil.go:89:17: core.Start undefined (type *core.Core has no field or method Start)
> src/go.cypherpunks.ru/nncp/v8/yggdrasil/yggdrasil.go:94:16: mc.Init undefined (type *multicast.Multicast has no field or method Init)
> src/go.cypherpunks.ru/nncp/v8/yggdrasil/yggdrasil.go:98:16: mc.Start undefined (type *multicast.Multicast has no field or method Start)

I'm not a Go programmer, but took a quick look at it.  Looking in the
Yggdrasil git history for lines that include "core.Start", I can see
what they remove and then how they start it instead.  I'm not really up
enough on Go and NNCP to know how to do this translation myself; but my
gut says it would probably be pretty easy for you.  Would you happen to
be able to update NNCP to build against the latest Yggdrasil release,
0.4.6?

Thanks!

- John

             reply	other threads:[~2022-11-17 21:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-17 21:08 John Goerzen [this message]
2022-11-18 18:49 ` Building with newer Yggdrasil? Sergey Matveev
2022-11-18 20:49   ` John Goerzen
2022-11-19 16:29     ` Sergey Matveev