user/gitlab-runner: (x86_64) FTBFS: hangs during build
Found on x86_64 (not sure if related to #832 (closed)):
...
gitlab.com/gitlab-org/gitlab-runner/vendor/k8s.io/apimachinery/pkg/runtime
gitlab.com/gitlab-org/gitlab-runner/vendor/github.com/docker/docker/api/types/swarm
gitlab.com/gitlab-org/gitlab-runner/vendor/github.com/prometheus/client_golang/prometheus
gitlab.com/gitlab-org/gitlab-runner/vendor/github.com/prometheus/client_golang/prometheus/promhttp
gitlab.com/gitlab-org/gitlab-runner/vendor/github.com/docker/go-metrics
gitlab.com/gitlab-org/gitlab-runner/vendor/github.com/docker/distribution/metrics
^Cmake: *** [Makefile:112: build_simple] Interrupt
>>> ERROR: gitlab-runner: Aborted by user
After waiting 16 hours. I did not do any further debugging, since it built on the third try.
Possibly relevant, and I do not know why this happened, from a clean build of world:
>>> gitlab-runner: Building user/gitlab-runner 12.1.0-r1 (using abuild 3.4.2-r2) started Tue, 11 Apr 2023 02:14:12 +0000
>>> gitlab-runner: Checking sanity of /usr/src/packages/user/gitlab-runner/APKBUILD...
>>> gitlab-runner: Analyzing dependencies...
(1/5) Installing libucontext (1.2-r0)
(2/5) Installing libgo (8.5.0-r3)
(3/5) Installing libucontext-dbg (1.2-r0)
ERROR: libucontext-dbg-1.2-r0: BAD signature
(4/5) Installing gcc-go (8.5.0-r3)
(5/5) Installing .makedepends-gitlab-runner (20230411.021413)
1 error; 630 MiB in 95 packages
>>> ERROR: gitlab-runner: builddeps failed
>>> gitlab-runner: Uninstalling dependencies...
(1/4) Purging .makedepends-gitlab-runner (20230411.021413)
(2/4) Purging gcc-go (8.5.0-r3)
(3/4) Purging libgo (8.5.0-r3)
(4/4) Purging libucontext (1.2-r0)
OK: 505 MiB in 91 packages
I went into libucontext manually and rebuilt it, then the problem went away.