public inbox for
Atom feed
From: John Goerzen <jgoerzen@complete•org>
Subject: Build error on NetBSD
Date: Tue, 03 Aug 2021 22:17:14 -0500	[thread overview]
Message-ID: <> (raw)

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 



             reply	other threads:[~2021-08-04  3:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-04  3:17 John Goerzen [this message]
2021-08-04 15:04 ` Build error on NetBSD Sergey Matveev
2021-08-04 16:02   ` John Goerzen
2021-08-04 17:58     ` Sergey Matveev