grumpyhome / grumpy

Grumpy is a Python to Go source code transcompiler and runtime.
Apache License 2.0
420 stars 18 forks source link

Fix the CI: `.../golang/lint/golint expects import "golang.org/x/lint/golint"` #114

Closed alanjds closed 6 years ago

alanjds commented 6 years ago

All new builds are failing for good code on:

package github.com/golang/lint/golint: code in directory /home/travis/gopath/src/github.com/grumpyhome/grumpy/grumpy-runtime-src/build/src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"

Travis logs context:

The command "pytest" exited with 0.
$ cd ../grumpy-runtime-src
The command "cd ../grumpy-runtime-src" exited with 0.
$ make gofmt lint && make -j2 test
find: `compiler': No such file or directory
find: `compiler': No such file or directory
find: `compiler': No such file or directory
package github.com/golang/lint/golint: code in directory /home/travis/gopath/src/github.com/grumpyhome/grumpy/grumpy-runtime-src/build/src/github.com/golang/lint/golint expects import "golang.org/x/lint/golint"
make: *** [build/bin/golint] Error 1
The command "make gofmt lint && make -j2 test" exited with 2.
Done. Your build exited with 1.
alanjds commented 6 years ago

Maybe this is the cause: https://github.com/golang/lint/issues/415