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

goflymake always fail when run Emacs in iTerm2 in Mac OSX #23

Open
dove-young opened this issue May 6, 2016 · 0 comments
Open

goflymake always fail when run Emacs in iTerm2 in Mac OSX #23

dove-young opened this issue May 6, 2016 · 0 comments

Comments

@dove-young
Copy link

Mac OSX EI Caption
GNU Emacs 24.5.1

(setq flymake-log-level 3)

Here is the go code

package main

import "fmt"

func main() {
        fmt.Printf("Hello, world.\n")
}

Here is the output in Messages buffer

 3file /Users/dove/dove/go/src/github.com/usr/hello/hello.go, init=goflymake-init
 4flymake is running: nil
 5file /Users/dove/dove/go/src/github.com/usr/hello/hello.go, init=goflymake-init [3 times]
 6create-temp-inplace: file=/Users/dove/dove/go/src/github.com/usr/hello/hello.go temp=/Users/dove/dove/go/src/github.com/usr/hello/flymake_hello.go
 7saved buffer hello.go in file /Users/dove/dove/go/src/github.com/usr/hello/flymake_hello.go
 8started process 36995, command=(goflymake -debug=false /Users/dove/dove/go/src/github.com/usr/hello/flymake_hello.go), dir=/Users/dove/dove/go/src/github.com/usr/hello/
 9received 141 byte(s) of output from process 36995
10file /Users/dove/dove/go/src/github.com/usr/hello/hello.go, init=goflymake-init
11parsed '/Users/dove/GitHub/homebrew/Cellar/emacs/24.5/Emacs.app/Contents/MacOS/Emacs: /Users/dove/el-get/go-flymake/bin/goflymake: Exec format error', no line-err-info
12file /Users/dove/dove/go/src/github.com/usr/hello/hello.go, init=goflymake-init
13process 36995 exited with code 126
14cleaning up using flymake-simple-cleanup
15deleted file /Users/dove/dove/go/src/github.com/usr/hello/flymake_hello.go
16hello.go: 0 error(s), 0 warning(s) in 0.01 second(s)
17switched OFF Flymake mode for buffer hello.go due to fatal status CFGERR, warning Configuration error has occurred while running (goflymake -debug=false /Users/dove/dove\
  /go/src/github.com/usr/hello/flymake_hello.go)
18You can invoke command `revert-buffer' using `<f5>'
19started process 36995, command=(goflymake -debug=false /Users/dove/dove/go/src/github.com/usr/hello/flymake_hello.go), dir=/Users/dove/dove/go/src/github.com/usr/hello/
20Mark set [2 times]
21Quit

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

No branches or pull requests

1 participant