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
x/build/cmd/genbootstrap: bootstrap with go1.4 fails on certain builders #28483
Comments
Some more: linux-arm64-packet: https://build.golang.org/log/975387f8c49361772b9f565010a51538dee442dc |
That's weird, Go 1.4 definitely has net/url. |
Also plan9-386: They all started failing at @ianlancetaylor's https://go-review.googlesource.com/c/go/+/144340 ("cmd/compile: add -lang flag to specify language version"). That CL did alter which imports were needed during bootstrap. It makes So maybe we just need to add |
To |
Actually, it gets messy quickly. |
But since Go 1.4 does have net/url, and, for that matter, go/build, I don't understand what the problem is. Also, of course, it works for me, and I'm bootstrapping with Go 1.4. And it works on some of the builders but not others. So what is the difference? |
New theory is that the problem is genbootstrap removing too much stuff. (We never previously needed "net" and it was removing "net/...") |
Change https://golang.org/cl/145977 mentions this issue: |
The CL doesn't look like it fixed the issues. Still seeing the same errors for darwin arm64. Here's the latest build: https://build.golang.org/log/e8488a7ffa9a2c554c57606d2503653f2dbdaf12 |
@katiehockman, the CL itself doesn't fix things upon submitting it. It has to be run & deployed. I guess I forgot that column. Also, that link is linux/arm64, not darwin/arm64. You have any interest in learning how to deploy it? |
Ah thanks for the correction. I'm triaging a lot of build-related issues, so I must have gotten them mixed up. |
Actually I forgot how the packet builders were configured so in the process of reading the README, I just re-ran the build.sh Docker script and restarted the docker & rundockerbuildlet systemd services and fixed it. (And also ran a hacked-up cmd/retrybuilds with a new flaky phrase substring to retry those entries on the dahsboard) But you may want to log into that host and look around if you're curious. The info is in the env/linux-arm64/packet README. |
The build on some builders using go1.4 to bootstrap fails with:
openbsd-386-64: https://build.golang.org/log/c79fb02ba46df875ad35c621f96172d474d3ff4c
openbsd-amd64-64: https://build.golang.org/log/f50eaf129492daeedc42387ff93b3bcd6fbc6e41
solaris-amd64-smartosbuildlet: https://build.golang.org/log/5e7398620b2c542aa89c257c72f58d064c9ece49
However, building locally on OpenBSD 6.4 with the go1.4 tarball from https://dl.google.com/go/go1.4-bootstrap-20171003.tar.gz works just fine. Is there something wrong with go1.4 on these builders?
/cc @bradfitz @dmitshur
The text was updated successfully, but these errors were encountered: