From 8ebe228f12305c5539240ff53ab1fc59a0a3b44124e9fddaff002ee7ea49fcbe Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 23 Oct 2019 11:20:51 +0000 Subject: [PATCH] Accepting request 741942 from home:jfkw:branches:devel:kubic Add %ifarch %arm aarch64 BuildRequires: binutils-gold to fix /usr/lib64/go/{version}/pkg/tool/linux_arm64/link: running gcc failed: exit status 1 collect2: fatal error: cannot find 'ld'- NB: Some automated OBS tooling introducing incidental diff by moving: BuildRequires: golang(API) = 1.12 below BuildRequires: go1.12 >= 1.12.9 That is not a change I committed in my branch, but that is what shows up in this SR diff. I've reproduced it several times now. OBS-URL: https://build.opensuse.org/request/show/741942 OBS-URL: https://build.opensuse.org/package/show/devel:kubic/docker_auth?expand=0&rev=5 --- docker_auth.changes | 7 +++++++ docker_auth.spec | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docker_auth.changes b/docker_auth.changes index 5c96cca..9a0de6e 100644 --- a/docker_auth.changes +++ b/docker_auth.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 22 22:30:56 UTC 2019 - Jeff Kowalczyk + +- Add %ifarch %arm aarch64 BuildRequires: binutils-gold to fix + /usr/lib64/go/{version}/pkg/tool/linux_arm64/link: running gcc failed: exit status 1 + collect2: fatal error: cannot find 'ld'- + ------------------------------------------------------------------- Mon Oct 21 11:50:59 CEST 2019 - kukuk@suse.de diff --git a/docker_auth.spec b/docker_auth.spec index c8482e3..7feb2aa 100644 --- a/docker_auth.spec +++ b/docker_auth.spec @@ -23,8 +23,11 @@ Summary: Authenticaton for container registry with tokens License: Apache-2.0 URL: https://github.com/cesanta/docker_auth Source: docker_auth-%{version}.tar.xz -BuildRequires: golang(API) = 1.12 BuildRequires: go1.12 >= 1.12.9 +BuildRequires: golang(API) = 1.12 +%ifarch %arm aarch64 +BuildRequires: binutils-gold +%endif %description This package contains a tool to authenticate the access to