Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to build on macOS with undefined syscall errors #4

Open
sneak opened this issue Feb 5, 2022 · 1 comment
Open

fails to build on macOS with undefined syscall errors #4

sneak opened this issue Feb 5, 2022 · 1 comment

Comments

@sneak
Copy link

sneak commented Feb 5, 2022

go/pkg/mod/github.com/zstyblik/[email protected]/lib/host/host.go:119:12: undefined: syscall.Utsname
go/pkg/mod/github.com/zstyblik/[email protected]/lib/host/host.go:120:8: undefined: syscall.Uname
nostromo:~$ go version
go version go1.16.13 darwin/amd64
nostromo:~$ uname -a
Darwin nostromo.local 21.3.0 Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_X86_64 x86_64 i386 Darwin

This is macOS 12.2 (21D49) on x64 with go 1.16.

Resulting from:

nostromo:~$ go install -v github.com/zstyblik/go-facter/cmd/facter@latest

@itzwam
Copy link

itzwam commented Jun 25, 2023

Try disabling these 2 facters : cpu / host

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants