public inbox for nncp-devel@lists.cypherpunks.ru
Atom feed
From: John Goerzen <jgoerzen@complete•org>
To: Sergey Matveev <stargrave@stargrave•org>
Cc: nncp-devel@lists.cypherpunks.ru
Subject: Re: [EN] NNCP 5.5.0 release announcement
Date: Fri, 08 Jan 2021 07:43:54 -0600	[thread overview]
Message-ID: <877don7dd1.fsf@complete.org> (raw)
In-Reply-To: <X/gpujr/6EmP3Qq0@stargrave.org>

On Fri, Jan 08 2021, Sergey Matveev wrote:

> *** John Goerzen [2021-01-07 15:23]:
>>	previous declaration at 
>>golang.org/x/term/term_unix_aix.go:9:26
>
> It looks like your Go thinks he is both AIX and Linux. I have 
> copied
> golang.org/x/term without any modifications from the upstream. I 
> assume
> that you probably have old Go version what does not know 
> anything about

Yes, Debian stable and Raspbian both ship with 1.11.

> Currently (in develop branch) NNCP uses golang.org/x/term 
> instead of
> golang.org/x/crypto/ssh/terminal, that anyway depends on 
> golang.org/x/term.
> So that "term" dependency anyway is there and upstream has 
> knowledge
> about AIX. I suggest you to update your Go, that will also bring
> performance benefits as a rule. Or just: find . -name \*_aix.go 
> -delete

That's a good enough workaround, yes.

> I have tried Go 1.10 -- the same problem as you have.
> I have tried Go 1.11 -- same problem.
> I have tried Go 1.12 -- build/test is ok.
>
> So I will update documentation and raise Go's 1.10+ version to 
> 1.12.

Understandable, but a bummer; it raises barrier to entry, 
especially on Raspberry Pi.  On Debian, there is 1.14 in 
buster-backports.  Raspberry Pi OS / Raspbian doesn't have 
backports, though in practice the Debian buster-backports work 
there at times.  It may be a bit dicey with something like this in 
the toolchain, though, because part of why Rasbian exists is 
optimizations for its particular architecture that the more 
general Debian distro doesn't do.

Previously, one could just apt-get install golang && PREFIX=blah 
./contrib/do install

Anyhow, thanks again!

- John

  reply	other threads:[~2021-01-08 13:45 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-07 15:31 [EN] NNCP 5.5.0 release announcement Sergey Matveev
2021-01-07 21:23 ` John Goerzen
2021-01-07 21:32   ` New -autotoss option John Goerzen
2021-01-08 10:00     ` Sergey Matveev
2021-01-08 10:01       ` Sergey Matveev
2021-01-08 13:38         ` John Goerzen
2021-01-08  9:45   ` [EN] NNCP 5.5.0 release announcement Sergey Matveev
2021-01-08 13:43     ` John Goerzen [this message]
2021-01-08 13:53       ` Sergey Matveev