The fs package is not compilable for GOOS=netbsd, as of the current main branch (7f42732) .
$ GOOS=netbsd go build ./fs/
# github.com/containerd/continuity/fs
fs/copy.go:118:12: undefined: copyFileInfo
fs/copy.go:122:12: undefined: copyXAttrs
fs/copy.go:157:14: undefined: copyDevice
fs/copy.go:164:13: undefined: copyFileInfo
fs/copy.go:168:13: undefined: copyXAttrs
fs/copy.go:190:9: undefined: copyFileContent
fs/diff_unix.go:58:26: undefined: sysx.ENODATA
fs/diff_unix.go:62:26: undefined: sysx.ENODATA
The
fspackage is not compilable forGOOS=netbsd, as of the current main branch (7f42732) .