src-d / go-git

Project has been moved to: https://github.com/go-git/go-git
https://github.com/go-git/go-git
Apache License 2.0
4.91k stars 541 forks source link

compile in linux/386 failed #1202

Closed lunny closed 4 years ago

lunny commented 4 years ago

It seems src-d broken the cross-compile and docker publish https://drone.gitea.io/go-gitea/gitea/11344/3/3

Compiling for linux/386...
# code.gitea.io/gitea/vendor/gopkg.in/src-d/go-git.v4
vendor/gopkg.in/src-d/go-git.v4/worktree_linux.go:15:35: cannot use os.Ctim.Sec (type int32) as type int64 in argument to time.Unix
vendor/gopkg.in/src-d/go-git.v4/worktree_linux.go:15:48: cannot use os.Ctim.Nsec (type int32) as type int64 in argument to time.Unix
2019/07/31 19:43:38 Failed to cross compile package: exit status 2.
Makefile:336: recipe for target 'release-linux' failed
make: *** [release-linux] Error 1