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

clone and build fails #91

Open
gotjoshua opened this issue Dec 16, 2023 · 0 comments
Open

clone and build fails #91

gotjoshua opened this issue Dec 16, 2023 · 0 comments

Comments

@gotjoshua
Copy link

gotjoshua commented Dec 16, 2023

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
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

1 participant