Skip to content
This repository has been archived by the owner on Sep 11, 2020. It is now read-only.

compile in linux/386 failed #1202

Closed
lunny opened this issue Aug 1, 2019 · 0 comments · Fixed by #1203
Closed

compile in linux/386 failed #1202

lunny opened this issue Aug 1, 2019 · 0 comments · Fixed by #1203

Comments

@lunny
Copy link

lunny commented Aug 1, 2019

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
sapk added a commit to sapk-fork/go-git that referenced this issue Aug 1, 2019
Signed-off-by: Antoine GIRARD <sapk@sapk.fr>
sapk added a commit to sapk-fork/go-git that referenced this issue Aug 1, 2019
Signed-off-by: Antoine GIRARD <sapk@sapk.fr>
mcuadros added a commit that referenced this issue Aug 1, 2019
worktree: force convert to int64 to support 32bit os. Fix #1202
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant