cloudflare / cloudflare/slirpnetstack

Installation failure

Open
#36 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
136
Forks
14
PR merge metrics
No merged PRs in 30d

Description

The installation command
```
git clone https://github.com/cloudflare/slirpnetstack
cd slirpnetstack && make

```
gives the error:

> package github.com/cloudflare/slirpnetstack
> imports gvisor.dev/gvisor/runsc/specutils
> imports gvisor.dev/gvisor/runsc/config
> imports gvisor.dev/gvisor/pkg/sentry/watchdog
> imports gvisor.dev/gvisor/pkg/sentry/kernel
> imports gvisor.dev/gvisor/pkg/goid: build constraints exclude all Go files in /root/go/pkg/mod/gvisor.dev/gvisor@v0.0.0-20201204040109-0ba39926c86f/pkg/goid
> make: *** [Makefile:9: bin/slirpnetstack] Error 1

When we try to do `make update-gomod`, we receive the errors:

> go: all: module golang.org/x/crypto@upgrade found (v0.22.0), but does not contain package golang.org/x/crypto/ed25519/internal/edwards25519
> go: all: module golang.org/x/sys@upgrade found (v0.19.0), but does not contain package golang.org/x/sys/internal/unsafeheader
> go: for module gvisor.dev/gvisor, all@upgrade (v0.0.0-20240418002435-fe9d22f06bfa) conflicts with gvisor.dev/gvisor@go (v0.0.0-20240417231328-5799f1d6a532)
> go: all: module gvisor.dev/gvisor@upgrade found (v0.0.0-20240418002435-fe9d22f06bfa), but does not contain package gvisor.dev/gvisor/pkg/amutex
> ...
> go: all: module gvisor.dev/gvisor@upgrade found (v0.0.0-20240418002435-fe9d22f06bfa), but does not contain package gvisor.dev/gvisor/pkg/tcpip/network/ip
> make: *** [Makefile:80: update-gomod] Error 1
>

How can we install it?
The last commit seems to be 3 years ago, with this question I'm also testing whether the project is still maintained? Thank you

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.