Skip to content

Installation failure #36

@nnWhisperer

Description

@nnWhisperer

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions