Build errors on openindiana [solaris/amd64]
I'm attempting to compile gitlab-runner on an openindiana box [aka opensolaris] - and having build issues. Is it possible to overcome this? Perhaps there is a way to build a minimal gitlab-runner that can bypass these errors?
I primarily need gitlab-runner for 'artifact upload' feature - and nothing else.
Thanks,
balay@n-gage-2:~/soft/gitlab-runner$ uname -a
SunOS n-gage-2 5.11 illumos-a22312a201 i86pc i386 i86pc
balay@n-gage-2:~/soft/gitlab-runner$ go version
go version devel +ab7c174183 Thu Feb 6 17:29:53 2020 +0000 solaris/amd64
balay@n-gage-2:~/soft/gitlab-runner$ git describe
v12.7.0-114-gd09d997cf
balay@n-gage-2:~/soft/gitlab-runner$ gmake build_simple
grep: can't open "-o"
grep: can't open "-o"
# Building gitlab-runner in version for current platform
go build \
-ldflags "-X gitlab.com/gitlab-org/gitlab-runner/common.NAME=gitlab-runner -X gitlab.com/gitlab-org/gitlab-runner/common.VERSION= -X gitlab.com/gitlab-org/gitlab-runner/common.REVISION=d09d997c -X gitlab.com/gitlab-org/gitlab-runner/common.BUILT=2020-02-06T20:55:47+0000 -X gitlab.com/gitlab-org/gitlab-runner/common.BRANCH=master -s -w" \
-o "out/binaries/gitlab-runner" \
gitlab.com/gitlab-org/gitlab-runner
# github.com/docker/docker/pkg/term
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/tc.go:12:27: undefined: Termios
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/tc.go:13:28: undefined: unix.SYS_IOCTL
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/tc.go:13:56: undefined: getTermios
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/tc.go:17:27: undefined: Termios
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/tc.go:18:28: undefined: unix.SYS_IOCTL
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/tc.go:18:48: undefined: setTermios
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/term.go:24:10: undefined: Termios
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/term.go:53:14: undefined: Termios
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/pkg/term/term.go:96:19: undefined: MakeRaw
# github.com/kr/pty
../../go/pkg/mod/github.com/kr/pty@v1.1.1/ioctl.go:8:29: undefined: syscall.SYS_IOCTL
../../go/pkg/mod/github.com/kr/pty@v1.1.1/util.go:55:3: undefined: syscall.SYS_IOCTL
# gitlab.com/gitlab-org/gitlab-runner/log
log/configuration.go:141:2: undefined: watchForGoroutinesDump
# github.com/docker/docker/client
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/client/client.go:245:35: undefined: DefaultDockerHost
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/client/client.go:250:12: undefined: DefaultDockerHost
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/client/client.go:254:12: undefined: defaultProto
../../go/pkg/mod/github.com/docker/engine@v1.4.2-0.20190822180741-9552f2b2fdde/client/client.go:255:12: undefined: defaultAddr
# gitlab.com/gitlab-org/gitlab-runner/helpers/archives
helpers/archives/zip_extra.go:72:9: undefined: createZipUIDGidField
helpers/archives/zip_extra.go:112:10: undefined: processZipUIDGidField
gmake: *** [Makefile.build.mk:12: build_simple] Error 2
balay@n-gage-2:~/soft/gitlab-runner$