install is defined in install_unix.go, which starts with //go build linux, so never compiles under NetBSD. Even if you shunt its invocation from install.go, then there are further modules that do not compile under NetBSD. The package builds with pkgsrc under Ubuntu (22.10 aarch64, if that is interesting).