You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> go install -x .
cd C:\Project
git status --porcelain
cd C:\Project
git -c log.showsignature=false show -s --format=%H:%ct
WORK=C:\Users\MIKHAI~1.KOP\AppData\Local\Temp\go-build3376227082
mkdir -p $WORK\b252\
cd C:\Users\mikhail.kopylov\go\pkg\mod\github.com\pjbgf\sha1cd@v0.2.3\cgo
TERM='dumb' CGO_LDFLAGS='"-g" "-O2"' "C:\\Program Files\\Go\\pkg\\tool\\windows_amd64\\cgo.exe" -objdir "$WORK\\b252\\" -importpath github.com/pjbgf/sha1cd/cgo -- -I "$WORK\\b252\\" -g -O2 "C:\\Users\\mikhail.kopylov\\go\\pkg\\mod\\github.com\\pjbgf\\sha1cd@v0.2.3\\cgo\\sha1.go" "C:\\Users\\mikhail.kopylov\\go\\pkg\\mod\\github.com\\pjbgf\\sha1cd@v0.2.3\\cgo\\ubc_check.go"
go build github.com/pjbgf/sha1cd/cgo: C:\Program Files\Go\pkg\tool\windows_amd64\cgo.exe: exit status 2
It is probably related to #624, but none of the recommendations there help.
A couple questions
What am I doing wrong?
Can go-git please exclude github.com/pjbgf/sha1cd@v0.2.3 dependency to avoid all these dancings with gcc etc?
The text was updated successfully, but these errors were encountered:
mih-kopylov
changed the title
Can't build my project on Windows with go-git:v5.5.2 due to gcc
Can't build a project on Windows with go-git:v5.5.2 due to gcc
Jan 20, 2023
Environment:
It is probably related to #624, but none of the recommendations there help.
A couple questions
The text was updated successfully, but these errors were encountered: