-
Notifications
You must be signed in to change notification settings - Fork 49
cli build fails — noizdns submodule repo not found + missing resolvers.txt #111
Description
Building the CLI from source fails with two errors:
Environment: macOS (Apple Silicon), Go 1.25
Steps to reproduce:
git clone https://github.com/anonvector/SlipNet.git
cd SlipNet
git submodule update --init --recursive
cd cli
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags="-s -w" -o slipnet-linux-amd64 .
Error 1 — submodule repo not found:
fatal: repository 'https://github.com/anonvector/noizdns.git/' not found
The .gitmodules references noizdns as a submodule but the repo either doesn't exist or is private. The CLI's go.mod has a replace directive pointing to ../noizdns which makes the build impossible without it.
Error 2 — missing embedded file:
embed_resolvers.go:5:12: pattern resolvers.txt: no matching files found
resolvers.txt is not included in the repo but is required for the embed directive to compile.
Request:
Make noizdns submodule public, or publish it as a proper Go module on pkg.go.dev so it can be fetched via go get, or vendor it inside the cli/ directory
Include resolvers.txt in the repo (or add it to .gitignore exceptions / generate it via a go generate step with documented instructions)
Without these two fixes the CLI cannot be built from source at all. The README build instructions are currently broken.