xlab / c-for-go

Automatic C-Go Bindings Generator for Go Programming Language
https://c.for-go.com
MIT License
1.5k stars 119 forks source link

go.mod is out of date and specifies unavailable dependencies #99

Open shatil opened 4 years ago

shatil commented 4 years ago

modernc.org/cc was deprecated as of July, and is now versioned. The latest major version is v3: https://pkg.go.dev/modernc.org/cc/v3

go: modernc.org/cc@v1.0.0: reading modernc.org/cc/go.mod at revision v1.0.0: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /root/go/pkg/mod/cache/vcs/214c7c8b018f9220f253771b1476659b6c905c4196c32b80b07a212616372040: exit status 128:
    error: RPC failed; result=22, HTTP code = 404
    fatal: The remote end hung up unexpectedly

modernc.org/golex@v1.0.0 is also out of date:

go: modernc.org/golex@v1.0.0: reading modernc.org/golex/go.mod at revision v1.0.0: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /root/go/pkg/mod/cache/vcs/331abdfca303c81a23ece466d46e18fedd2836c595dcfad18b8e9e93c37f08d5: exit status 128:
    error: RPC failed; result=22, HTTP code = 404
    fatal: The remote end hung up unexpectedly

And modernc.org/mathutil:

go: modernc.org/mathutil@v1.1.1: reading modernc.org/mathutil/go.mod at revision v1.1.1: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /root/go/pkg/mod/cache/vcs/6d5eb6f7314c374a7460656aec0e757c87dfb068fcb28b5ae365ea2e3a1a35fa: exit status 128:
    error: RPC failed; result=22, HTTP code = 404
    fatal: The remote end hung up unexpectedly

And modernc.org/strutil:

go: modernc.org/strutil@v1.1.0: reading modernc.org/strutil/go.mod at revision v1.1.0: git fetch -f origin refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /root/go/pkg/mod/cache/vcs/151fa26af08bed5ec6a699b872ba143ac5282cae786b63f0587fe46054a0175f: exit status 128:
    error: RPC failed; result=22, HTTP code = 404
    fatal: The remote end hung up unexpectedly
xlab commented 4 years ago

The latest major version is v3

v3 has really many API changes, so it would be difficult to migrate to v3 quickly.

As for other deps, they're fetched just fine. I think it was a temporary issue with the remote host or you have weird GO_PROXY settings.