public inbox for
Atom feed
* Build error on NetBSD
@ 2021-08-04  3:17 John Goerzen
  2021-08-04 15:04 ` Sergey Matveev
  0 siblings, 1 reply; 4+ messages in thread
From: John Goerzen @ 2021-08-04  3:17 UTC (permalink / raw)
  To: nncp-devel

Hi, runs a long-running public-access Unix system, and is 
active in the gopherspace, and other assorted things.  They also 
offer UUCP yet, so I figured it would be a perfect place to 
introduce NNCP.

In trying to build NNCP 7.5.0, I got:

jgoerzen@sverige:~/nncp-7.5.0$ PREFIX=$HOME/nncp ./contrib/do 
do  install
do    bin/all
do      bin/hjson-cli
do      bin/nncp-bundle
./ctx.go:154:12: undefined: unix.Statfs
./ctx.go:157:16: s.Bavail undefined (type unix.Statfs_t has no 
field or method Bavail)
./ctx.go:157:32: s.Bsize undefined (type unix.Statfs_t has no 
field or method Bsize)
do:     nncp-bundle: got exit code 2
do:   all: got exit code 1
do: install: got exit code 1
jgoerzen@sverige:~/nncp-7.5.0$ uname -a
NetBSD sverige 9.1 NetBSD 9.1 (GENERIC) #0: Sun Oct 18 19:24:30 
UTC 2020 
jgoerzen@sverige:~/nncp-7.5.0$ go version
go version go1.15.5 netbsd/amd64

I guess that, at least in Go, Statfs is unimplemented or 
incompletely implemented on NetBSD.  I don't know enough about Go 
to know if this can be worked around easily here, but if not, 
maybe would be of 



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-04 17:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04  3:17 Build error on NetBSD John Goerzen
2021-08-04 15:04 ` Sergey Matveev
2021-08-04 16:02   ` John Goerzen
2021-08-04 17:58     ` Sergey Matveev