Summary: | dev-util/gitlab-runner-15.0.0: fails to build for arm64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | infra-bugs |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://gitlab.com/gitlab-org/gitlab-runner/-/merge_requests/3498 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
add-arm64.patch |
Description
Sam James
2022-06-19 00:24:57 UTC
Created attachment 786089 [details]
build.log
Works if I add ARCH=arm64 to the emake call in src_compile. I think maybe we should add the go_arch etc functions to one of the go eclasses to make it easier to use in ebuilds. I think if we use that same logic from the Go ebuilds to pass ARCH=... to emake here, we should be good. I need to see the name of the binary that gets built on arm64 to figure out what is going on. Please run the following commands (assuming the default locations) and show me the output of the ls command. $cd /var/db/repos/gentoo/dev-util/gitlab-runner $ sudo ebuild gitlab-runner-15.1.0.ebuild clean compile $ cd /var/tmp/portage/dev-util/gitlab-runner-15.1.0/work/gitlab-runner-v15.1.0 $ ls -1 out/binaries Thanks, William No binary gets built because of how early it bails out. /var/tmp/portage/dev-util/gitlab-runner-15.0.0-r1/work/gitlab-runner-v15.0.0 # find . | grep -i out/ In that case, can you attach the output from the build? Thanks, William Created attachment 786611 [details, diff]
add-arm64.patch
This patch adds arm64 support to the makefiles.
Please test with this patch and report back.
Thanks,
William
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23c14ef8c96c49228be5605e24e464d4490cc116 commit 23c14ef8c96c49228be5605e24e464d4490cc116 Author: William Hubbs <williamh@gentoo.org> AuthorDate: 2022-06-21 23:11:37 +0000 Commit: William Hubbs <williamh@gentoo.org> CommitDate: 2022-06-21 23:14:18 +0000 dev-util/gitlab-runner: add patch for arm64 Bug: https://bugs.gentoo.org/852962 Signed-off-by: William Hubbs <williamh@gentoo.org> dev-util/gitlab-runner/files/build-for-arm64.patch | 48 ++++++++++++++++++++++ .../gitlab-runner/gitlab-runner-14.10.1-r1.ebuild | 5 +++ .../gitlab-runner/gitlab-runner-15.0.0-r1.ebuild | 5 +++ dev-util/gitlab-runner/gitlab-runner-15.1.0.ebuild | 5 +++ 4 files changed, 63 insertions(+) Hey Sam, did we get any movement on this, or did upstream fix it another way? Thanks, William |