armhfp architecture is using GNU Extended ABI to differenciate from previous armv7 softfp/soft GNU one. Currently, the fedora infrastructure doesn't maintain this old arm 32bit abi so we can assume every koji arm* builders to use this "new" ABI. Also, aarch64 builders are using another aarch64 prefix for the name which this patch handles right since aarch64 is using redhat-linux-gnu. This patch should have limited or no impact to most gcc based packages because gcc knowns the %{_host} triplet for itself. But it will fix llvm/clang build usability which rely on the appropriate host triplet to interface with gcc. This was tested with llvm 3.5.2/3.6.2 to build mesa with clang. reported as https://fedorahosted.org/fedora-infrastructure/ticket/4858 Signed-off-by: Nicolas Chauvet <kwizart@xxxxxxxxx> --- roles/koji_builder/templates/kojid.conf | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/roles/koji_builder/templates/kojid.conf b/roles/koji_builder/templates/kojid.conf index 9bb9a29..7c1b55b 100644 --- a/roles/koji_builder/templates/kojid.conf +++ b/roles/koji_builder/templates/kojid.conf @@ -33,7 +33,11 @@ packager=Fedora Project distribution=Fedora Project ; The _host string to use in mock +{% if ansible_hostname.startswith('arm') %} +mockhost=redhat-linux-gnueabi +{% else %} mockhost=redhat-linux-gnu +{% endif %} ; The URL for the xmlrpc server server={{koji_server_url}} -- 1.7.2.1