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

net/http/cgi: TestEnvOverride fails after installation of mactype on windows #18727

Closed
hirochachacha opened this issue Jan 20, 2017 · 1 comment
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. OS-Windows
Milestone

Comments

@hirochachacha
Copy link
Contributor

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.7.3 windows/amd64

What operating system and processor architecture are you using (go env)?

set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=C:\Users\Hiroshi\gopath
set GORACE=
set GOROOT=C:\Go
set GOTOOLDIR=C:\Go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\Hiroshi\AppData\Local\Temp\go-build344340558=/tmp/go-build -gno-record-gcc-switches
set CXX=g++
set CGO_ENABLED=1

What did you do?

install https://github.com/snowie2000/mactype/releases with registry mode.
run all.bat for tip

What did you expect to see?

no errors.

What did you see instead?

--- FAIL: TestEnvOverride (0.32s)
            host_test.go:84: for key "env-PATH" got "/wibble:/c/Program Files/MacType"; expected "/wibble"
2017/01/20 09:17:30 cgi: copy error: past write limit
2017/01/20 09:17:30 cgi: no headers
2017/01/20 09:17:30 cgi: missing required Content-Type in headers
2017/01/20 09:17:30 cgi: no headers
FAIL 
@hirochachacha hirochachacha changed the title net/http/cgi: TestEnvOverride fails after installation of mactype net/http/cgi: TestEnvOverride fails after installation of mactype on windows Jan 20, 2017
@bradfitz bradfitz added help wanted NeedsFix The path to resolution is known, but the work has not been done. OS-Windows labels Jan 20, 2017
@bradfitz bradfitz added this to the Go1.9 milestone Jan 20, 2017
@hirochachacha
Copy link
Contributor Author

mactype uses API hook and provide its own CreateProcess, so this problem cannot be solved by Go side.
Sorry for the noise.

@golang golang locked and limited conversation to collaborators Feb 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge help wanted NeedsFix The path to resolution is known, but the work has not been done. OS-Windows
Projects
None yet
Development

No branches or pull requests

3 participants