I can use
GOMOTEDISABLELUCI=1 gomote create aix-ppc64
to create an AIX gomote. However, running make.bash on that gomote fails:
GOMOTEDISABLELUCI=1 gomote run iant-aix-ppc64-0 go/src/make.bash
# Streaming results from "iant-aix-ppc64-0" to "/tmp/gomote950845207/iant-aix-ppc64-0.stdout"...
WARNING: /ramdisk8GB/workdir-host-aix-ppc64-osuosl/go1.4/bin/go does not exist, found /opt/freeware/bin/go from env
WARNING: set /opt/freeware/lib/golang as GOROOT_BOOTSTRAP
Building Go cmd/dist using /opt/freeware/lib/golang. (go1.21.9 aix/ppc64)
cmd/dist/buildtool.go:16:2: cannot find package "go/version" in any of:
/opt/freeware/lib/golang/src/go/version (from $GOROOT)
/go/src/go/version (from $GOPATH)
found packages main (build.go) and building_Go_requires_Go_1_24_6_or_later (notgo124.go) in /ramdisk8GB/workdir-host-aix-ppc64-osuosl/go/src/cmd/dist
# Wrote results from "iant-aix-ppc64-0" to "/tmp/gomote950845207/iant-aix-ppc64-0.stdout".
# Error running run: unable to execute go/src/make.bash: rpc error: code = Unknown desc = command execution failed: exit status 1
The problem is that GOROOT_BOOTSTRAP is incorrect, or, alternatively, that the bootstrap toolchain is not installed where it is expected. The default environment variable points to ramdisk8GB/workdir-host-aix-ppc64-osuosl/go1.4/ but the toolchain is installed in ramdisk8GB/workdir-host-aix-ppc64-osuosl/go1.4/go.
Setting the variable explicitly works:
GOMOTEDISABLELUCI=1 gomote run -e GOROOT_BOOTSTRAP=/ramdisk8GB/workdir-host-aix-ppc64-osuosl/go1.4/go iant-aix-ppc64-0 go/src/make.bash
This should be fixed on way or another so that the default works. Thanks.
CC @golang/release
I can use
to create an AIX gomote. However, running make.bash on that gomote fails:
The problem is that
GOROOT_BOOTSTRAPis incorrect, or, alternatively, that the bootstrap toolchain is not installed where it is expected. The default environment variable points toramdisk8GB/workdir-host-aix-ppc64-osuosl/go1.4/but the toolchain is installed inramdisk8GB/workdir-host-aix-ppc64-osuosl/go1.4/go.Setting the variable explicitly works:
This should be fixed on way or another so that the default works. Thanks.
CC @golang/release