nix-community / vgo2nix

Convert go.mod files to nixpkgs buildGoPackage compatible deps.nix files [maintainer=@adisbladis]
MIT License
89 stars 21 forks source link

Nothing happening ? #25

Closed teto closed 4 years ago

teto commented 4 years ago

I am trying to package https://github.com/isacikgoz/gitbatch with vgo2nix. I just start with $ vgo2nix and wait ( I tried setting only one job too) and even after 10mn, there is no visual feedback and I am not sure anythign is happening ? I have uploaded an strace file here https://gofile.io/?c=aQCo31 It seems to write stuff but even after 15mn, I have 0 feedback from the tool, so I killed it. I am going to let it run longer.

teto commented 4 years ago

after waiting long enough, it failed with:

panic: 'go list -m all' failed with exit status 1:
go: finding gopkg.in/src-d/go-git-fixtures.v3 v3.1.1
go: gopkg.in/src-d/go-git-fixtures.v3@v3.1.1: git fetch -f https://gopkg.in/src-d/go-git-fixtures.v3 refs/heads/*:refs/heads/* refs/tags/*:refs/tags/* in /home/
teto/go/pkg/mod/cache/vcs/67698a57fcf1e2e2f3930542ab0263846a1ad71c488399c086e4929ccb6a539b: exit status 128:
        fatal: L'hôte distant a fermé la connexion de manière inattendue
        fatal: fin de fichier prématurée
        fatal: échec de index-pack
go: error loading module requirements

my current network doesn't allow for git:// urls and I haven't configured a gitproxy for it yet. Still it would be cool to enable some more logging with a --verbose/--debug flag.