Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] gomu installation failed on win10 (go 1.17) #2235

Closed
Zerotask opened this issue Sep 2, 2021 · 0 comments · Fixed by #2239
Closed

[BUG] gomu installation failed on win10 (go 1.17) #2235

Zerotask opened this issue Sep 2, 2021 · 0 comments · Fixed by #2239

Comments

@Zerotask
Copy link

Zerotask commented Sep 2, 2021

Describe the bug
I tried installing gomu and it failed.

go: downloading github.com/asim/go-micro/cmd/gomu v0.0.0-20210901090843-ed9053ed940e
go: downloading github.com/asim/go-micro/v3 v3.6.1-0.20210831082736-088ccb50019c
go: downloading github.com/urfave/cli v1.22.4
github.com/asim/go-micro/cmd/gomu/cmd/cli/run
......\go\pkg\mod\github.com\asim\go-micro\cmd\gomu@v0.0.0-20210901090843-ed9053ed940e\cmd\cli\run\service.go:34:43: unknown field 'Setpgid' in struct literal of type syscall.SysProcAttr
......\go\pkg\mod\github.com\asim\go-micro\cmd\gomu@v0.0.0-20210901090843-ed9053ed940e\cmd\cli\run\service.go:49:9: undefined: syscall.Kill

How to reproduce the bug:

  1. run go install github.com/asim/go-micro/cmd/gomu@latest

If possible, please include a minimal code snippet here.

Environment:
Go Version: please paste go version output here

set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Patrick\AppData\Local\go-build
set GOENV=C:\Users\Patrick\AppData\Roaming\go\env  
set GOEXE=.exe
set GOEXPERIMENT=
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GOMODCACHE=C:\Users\Patrick\go\pkg\mod
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=C:\Users\Patrick\go
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=C:\Program Files\Go
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=C:\Program Files\Go\pkg\tool\windows_amd64
set GOVCS=
set GOVERSION=go1.17
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=NUL
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=C:\Users\Patrick\AppData\Local\Temp\go-build2093878598=/tmp/go-build -gno-record-gcc-switches
@Zerotask Zerotask changed the title [BUG] installation failed on win10 (go 1.17) [BUG] gomu installation failed on win10 (go 1.17) Sep 2, 2021
@asim asim closed this as completed in #2239 Sep 3, 2021
asim pushed a commit that referenced this issue Sep 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant