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

x/build/env/illumos-amd64-joyent: add illumos builder #32308

Closed
bradfitz opened this issue May 29, 2019 · 3 comments
Closed

x/build/env/illumos-amd64-joyent: add illumos builder #32308

bradfitz opened this issue May 29, 2019 · 3 comments
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-illumos
Milestone

Comments

@bradfitz
Copy link
Contributor

Now that we support GOOS=illumos (#20603), it needs a builder.

(Arguably it needed one before we accepted the port.)

We can just set one up on Joyent for now, even if it's not ideal (our plan is to move it to GCE eventually: #15581

So, I uploaded a bootstrap tarball from Linux:

bradfitz@go:~/go/src$ GOOS=illumos GOARCH=amd64 BOOTSTRAP_FORMAT=mintgz ./bootstrap.bash 
...
...
Writing gobootstrap-illumos-amd64-e883d000f4.tar.gz ...
-rw-r--r-- 1 bradfitz bradfitz 51647155 May 29 17:24 /home/bradfitz/gobootstrap-illumos-amd64-e883d000f4.tar.gz

bradfitz@go:~/go/src$ go instal golang.org/x/build/cmd/upload

bradfitz@go:~/go/src$ upload --file=/home/bradfitz/gobootstrap-illumos-amd64-e883d000f4.tar.gz --public go-builder-data/gobootstrap-illumos-amd64-e883d000f4.tar.gz

Then created a new SmartOS VM on Joyent.

Then sshed into it:

bradfitz@go:~$ ssh -i ~/.ssh/id_rsa_golang2 72.2.113.76
...
$ curl -O https://storage.googleapis.com/go-builder-data/gobootstrap-illumos-amd64-e883d000f4.tar.gz
$ mkdir goboot
$ cd goboot
$ tar -zxvf ../gobootstrap-illumos-amd64-e883d000f4.tar.gz 
$ pkgin in gcc47

Now to do more of the steps from https://github.com/golang/build/tree/master/env/solaris-amd64/joyent

/cc @dmitshur

@gopherbot gopherbot added this to the Unreleased milestone May 29, 2019
@gopherbot gopherbot added the Builders x/build issues (builders, bots, dashboards) label May 29, 2019
@bradfitz
Copy link
Contributor Author

# rm /opt/local/sbin/mysqld
# rm /opt/local/sbin/httpd
# cat > /root/.gobuildkey-host-illumos-amd64-joyent
xxxx
^D
# curl -o /opt/buildlet-stage0 https://storage.googleapis.com/go-builder-data/buildlet-stage0.illumos-amd64

@gopherbot
Copy link
Contributor

Change https://golang.org/cl/179418 mentions this issue: all: add illumos/amd64 builder on Joyent

@bcmills bcmills added the NeedsFix The path to resolution is known, but the work has not been done. label May 30, 2019
@gopherbot
Copy link
Contributor

Change https://golang.org/cl/179618 mentions this issue: dashboard: update illumos $PATH to include gcc

gopherbot pushed a commit to golang/build that referenced this issue May 30, 2019
This fixes errors such as:
https://build.golang.org/log/b870c4ed812edba58cf7a35718672d1424f9fd8a

Updates golang/go#32308

Change-Id: I231b9662c556b2b0044d5a88c61e8c6231f2df86
Reviewed-on: https://go-review.googlesource.com/c/build/+/179618
Reviewed-by: Dmitri Shuralyov <[email protected]>
@golang golang locked and limited conversation to collaborators May 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Builders x/build issues (builders, bots, dashboards) FrozenDueToAge NeedsFix The path to resolution is known, but the work has not been done. new-builder OS-illumos
Projects
None yet
Development

No branches or pull requests

3 participants