user/gitlab-runner: (armv7) FTBFS: error: redefinition of ‘seek’
Found on armv7 (after #832 (closed) was solved):
...
mkdir -p /usr/src/packages/user/gitlab-runner/src/gitlab-runner-v12.1.0/.gopath/src/gitlab.com/gitlab-org
ln -s ../../../.. /usr/src/packages/user/gitlab-runner/src/gitlab-runner-v12.1.0/.gopath/src/gitlab.com/gitlab-org/gitlab-runner
mkdir -p /usr/src/packages/user/gitlab-runner/src/gitlab-runner-v12.1.0/.gopath/bin
touch /usr/src/packages/user/gitlab-runner/src/gitlab-runner-v12.1.0/.gopath/.ok
# Building gitlab-runner in version 12.1.0 for current platform
go build -v \
-gccgoflags "-s -w" \
-o "out/binaries/gitlab-runner" \
gitlab.com/gitlab-org/gitlab-runner
gitlab.com/gitlab-org/gitlab-runner/vendor/golang.org/x/sys/unix
# gitlab.com/gitlab-org/gitlab-runner/vendor/golang.org/x/sys/unix
.gopath/src/gitlab.com/gitlab-org/gitlab-runner/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go:14:1: error: redefinition of ‘seek’
func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
^
.gopath/src/gitlab.com/gitlab-org/gitlab-runner/vendor/golang.org/x/sys/unix/syscall_linux_arm.go:48:1: note: previous definition of ‘seek’ was here
func seek(fd int, offset int64, whence int) (newoffset int64, err syscall.Errno)
^
make: *** [Makefile:112: build_simple] Error 2
>>> ERROR: gitlab-runner: build failed
This package is going to be updated soon, so let's not worry too much about a proper fix for this ancient relic.