clone and build fails
gotjoshua opened this issue · 0 comments
gotjoshua commented
Summary
Problem
make build fails with latest go, gets further with go_1_20, but still fails (see error in details)
Solution
fix these:
go: finding module for package github.com/ipfs/kubo/core/bootstrap
go: finding module for package github.com/ipfs/boxo/coreiface
go: finding module for package github.com/ipfs/boxo/coreiface/options
Detail
this is the output of a second run of make (showing only the failures):
make build
go build ./...
go build -o ./cmd/carmirror/carmirror ./cmd/carmirror/carmirror.go
grep -v carmirror ../kubo/plugin/loader/preload_list > ../kubo/plugin/loader/preload_list.tmp
echo "" >> ../kubo/plugin/loader/preload_list.tmp
echo "carmirror github.com/fission-codes/kubo-car-mirror/plugin *" >> ../kubo/plugin/loader/preload_list.tmp
mv ../kubo/plugin/loader/preload_list.tmp ../kubo/plugin/loader/preload_list
make -C ../kubo plugin/loader/preload.go
make[1]: Entering directory '/mnt/stripe/gotjosh/dev/kubo'
plugin/loader/preload.sh > plugin/loader/preload.go
go fmt plugin/loader/preload.go >/dev/null
make[1]: Leaving directory '/mnt/stripe/gotjosh/dev/kubo'
cd ../kubo && go mod edit -replace=github.com/fission-codes/kubo-car-mirror@v0.0.0-unpublished=../kubo-car-mirror
cd ../kubo && go get -d github.com/fission-codes/kubo-car-mirror
cd ../kubo && go mod tidy
go: finding module for package github.com/ipfs/kubo/core/bootstrap
go: finding module for package github.com/ipfs/boxo/coreiface
go: finding module for package github.com/ipfs/boxo/coreiface/options
github.com/ipfs/kubo/plugin/loader imports
github.com/fission-codes/kubo-car-mirror/plugin imports
github.com/ipfs/boxo/coreiface: module github.com/ipfs/boxo@latest found (v0.16.0), but does not contain package github.com/ipfs/boxo/coreiface
github.com/ipfs/kubo/plugin/loader imports
github.com/fission-codes/kubo-car-mirror/plugin imports
github.com/fission-codes/kubo-car-mirror/carmirror imports
github.com/ipfs/boxo/coreiface/options: module github.com/ipfs/boxo@latest found (v0.16.0), but does not contain package github.com/ipfs/boxo/coreiface/options
github.com/ipfs/kubo/plugin/loader imports
github.com/fission-codes/kubo-car-mirror/plugin imports
github.com/fission-codes/kubo-car-mirror/carmirror tested by
github.com/fission-codes/kubo-car-mirror/carmirror.test imports
github.com/ipfs/kubo/core/bootstrap: no matching versions for query "latest"
make: *** [Makefile:34: setup-plugin] Error 1
To Reproduce
follow directions from the readme for building
Expected behavior
build to succeed
Desktop (please complete the following information):
- OS: nixOS