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
terminal_check_solaris.go doesn't have a build tag and is breaking the build on AppEngine #947
Comments
I don't fix it will fix the build break because the _<platform_name>.go is an implicit +<platform_name> build constraint. |
Just curious how do you build for appengine ? Cross-compile from a linux host ? |
@dgsb sorry, looks like my proposed fix wouldn't solve the problem, but bisecting led me to the real culprit that is also related to My AppEngine project imports the
I'm not exactly familiar with the underlying implementation of AppEngine Go. The SDK actually bundles in a special go toolchain to build the binary. Any |
"unsafe" (in this case, imported via "golang.org/x/sys/unix") cannot be used on AppEngine, so we need to add the "!appengine" build constraint to files that use it (namely a few terminal_check_*.go). Fixes sirupsen#947.
"unsafe" (in this case, imported via "golang.org/x/sys/unix") cannot be used on AppEngine, so we need to add the "!appengine" build constraint to files that use it (namely a few terminal_check_*.go). Fixes sirupsen#947.
"unsafe" (in this case, imported via "golang.org/x/sys/unix") cannot be used on AppEngine, so we need to add the "!appengine" build constraint to terminal_check_unix.go. Fixes sirupsen#947.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
logrus/terminal_check_solaris.go
Line 1 in 9b3cdde
I think this file should have a build tag like:
// +build solaris
similar to
logrus/terminal_check_unix.go
Line 1 in 9b3cdde
I believe this is the reason logrus currently fails to build on AppEngine standard projects (where we can't use
golang.org/x/sys/unix
).The text was updated successfully, but these errors were encountered: