-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
cmd/cgo: CL 123177 broke all darwin builders #26355
Comments
(Mac trybots are still down from a previous outage. I've been putting off restoring them until trybots handled disappearing machines better.) |
@mvdan perhaps the builders are using a stale version of Go to run |
@odeke-em I wouldn't know - I'm nowhere near a Mac machine to investigate this :) |
Maybe the Security framework is not reachable? I would expect the include of Security.h to fail in that case, though. |
Indeed, the functions used in the test are 10.12+. Will fix. |
@randall77 in deed, same thoughts here #26355 (comment), thanks for the articulation that the builders are using a stale Go version i.e. 10.10 and 10.11 :) |
Change https://golang.org/cl/123715 mentions this issue: |
@odeke-em It's not the Go version, it's the Mac OSX version. |
Ahh I see, thanks! |
Change https://golang.org/cl/123959 mentions this issue: |
The test in CL 123715 doesn't work on iOS, it needs to use a different version scheme to determine whether SecKeyAlgorithm and friends exist. Restrict the old version test to OSX only. The same problem occurs on iOS: the functions tested don't exist before iOS 10. But we don't have builders below iOS 10, so it isn't a big issue. If we ever get older builders, or someone wants to run all.bash on an old iOS, they'll need to figure out the right incantation. Update #24161 Update #26355 Change-Id: Ia3ace86b00486dc172ed00c0c6d668a95565bff7 Reviewed-on: https://go-review.googlesource.com/123959 Run-TryBot: Keith Randall <khr@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Change https://golang.org/cl/124075 mentions this issue: |
TARGET_OS_OSX is the right macro, but it also was only introduced in 1.12. For 1.11 and earlier a reasonable substitution is TARGET_OS_IPHONE == 0. Update #24161 Update #26355 Change-Id: I5f43c463d14fada9ed1d83cc684c7ea05d94c5f3 Reviewed-on: https://go-review.googlesource.com/124075 Run-TryBot: Keith Randall <khr@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
The error logs are all a bit different, but it looks like the CL is to blame.
https://build.golang.org/log/3a95705141a8316a8c9e0514974378d0aaa8f866
https://build.golang.org/log/5c52fc2c58ad510449b5028c614c74ea4e82460f
https://build.golang.org/log/5940718e6731ee4f216d2fb3c6b5daeddaffd753
/cc @randall77 @ianlancetaylor
The text was updated successfully, but these errors were encountered: