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

darwin fails to install #35

Open
gedw99 opened this issue Nov 9, 2022 · 2 comments
Open

darwin fails to install #35

gedw99 opened this issue Nov 9, 2022 · 2 comments

Comments

@gedw99
Copy link

gedw99 commented Nov 9, 2022

make install
cd warpforge && /Applications/Xcode.app/Contents/Developer/usr/bin/make install
Installing plugins...
cp ./plugins/* /Users/apple/workspace/go/bin
Building and installing warpforge...
go install ./...
go: downloading github.com/ipld/go-ipld-prime v0.17.0
go: downloading github.com/serum-errors/go-serum v0.7.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.9.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.9.0
go: downloading go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.9.0
go: downloading go.opentelemetry.io/otel/sdk v1.9.0
go: downloading github.com/ipfs/go-cid v0.2.0
go: downloading github.com/opencontainers/runtime-spec v1.0.2
go: downloading github.com/polydawn/refmt v0.0.0-20201211092308-30ac6d18308e
go: downloading github.com/facette/natsort v0.0.0-20181210072756-2cd4dd1e2dcb
go: downloading go.opentelemetry.io/proto/otlp v0.18.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.9.0
go: downloading golang.org/x/sys v0.0.0-20220708085239-5a0f0661e09d
go: downloading github.com/multiformats/go-multihash v0.2.0
go: downloading github.com/multiformats/go-multibase v0.1.1
go: downloading google.golang.org/grpc v1.46.2
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.7.0
go: downloading google.golang.org/genproto v0.0.0-20211118181313-81c1377c94b1
go: downloading github.com/klauspost/cpuid/v2 v2.0.14
# github.com/warpfork/warpforge/cmd/warpforge/internal/healthcheck
cmd/warpforge/internal/healthcheck/kernel.go:25:22: undefined: syscall.Utsname
cmd/warpforge/internal/healthcheck/kernel.go:26:17: undefined: syscall.Uname
cmd/warpforge/internal/healthcheck/kernel.go:38:33: undefined: syscall.Utsname
make[1]: *** [install] Error 2
make: *** [install] Error 2
``
@warpfork
Copy link
Collaborator

warpfork commented Nov 16, 2022

Hey, thanks for giving us a try on Mac :)

Unfortunately, our focus is heavily on Linux right now. These errors are probably quite far from the only ones we'll find in trying to get other host platforms to work.

The executor core we have right now is based on Linux containers. And more specifically (right now, anyway), on runc. So our portability story is going to be limited to whatever runc's portability story is.

There is a roadmap out of this -- we can have other executors in the future (gvisor might give us a different portability story? chroots exist on many platforms. Runc itself, I think at least in theory, also intends to support more platforms, or at least the OCI spec does? Etcetera) -- but fair warning, I'm not sure anyone in the core team is planning to work on this in the immediate future :) We're primarily focused on making sure we build out the higher level build graph stories and other major feature areas before we circle back to supporting more platforms.

All that said -- I'll leave this open for now, because it's definitely describing real issues. These errors you see during compilation are problems we'll have to fix someday, and we should someday use golang build tags to make sure we don't try to reference these linux-only features on other platforms.

@TripleDogDare
Copy link
Collaborator

#72 should allow warpforge to compile on non-linux systems. It won't do anything about runc or rio compatibility.

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

3 participants