sshportal
sshportal copied to clipboard
Unable to compile
What happened:
What you expected to happen: successful build How to reproduce it (as minimally and precisely as possible):
$ git clone https://github.com/moul/sshportal
$ cd sshportal
$ go build
Environment: Archlinux
- OS (e.g. from /etc/os-release): Arch Linux
- install method (e.g. go/docker/brew/...):
go build
and this happens on MULTIPLE OTHER things as well
github.com/smartystreets/assertions v0.0.0-20190528192650-f487f9de1cd3
github.com/denisenkom/go-mssqldb v0.0.0-20190528192650-eb9f6a1743f3
Same thing here .
@Merith-TK , as a workaround :
> rm go.mod go.sum
> go mod init ; go mod tidy
> go build
> ./sshportal -v
sshportal version 1.10.0+dev ()
Obviously, you'll not use the same go mod dependencies versions that currently exists on master branch.
btw . make docker.build
seems working
Hi,
when i run
go build
we have this error:
# github.com/mattn/go-sqlite3
sqlite3-binding.c: Dans la fonction « sqlite3SelectNew »:
sqlite3-binding.c:128049:10: attention: la fonction peut retourner l'adresse d'une variable locale [-Wreturn-local-addr]
128049 | return pNew;
| ^~~~
sqlite3-binding.c:128009:10: note: déclaré ici
128009 | Select standin;
| ^~~~~~~
In the go.mod we have this sqlite deps: github.com/mattn/go-sqlite3 v2.0.3+incompatible
but here: https://github.com/mattn/go-sqlite3 the v2 is not latest version, the latest version is v1.14. Possible to update sqlite deps ?