While PR #323 introduced picking builder by ExclusiveArch for noarch rpms, there is one place which can break it for builders supporting more archs (e.g. x86_64/i686). Inside buildArch handler is find_arch called and 'noarch' is propagated there which ends in random choice of supported archs.
I am always hitting this problem these days since the upstream for my packages (Eclipse project) has dropped support for 32bit arches :-(
@qwan that's the problem you met
Metadata Update from @julian8628: - Custom field Size adjusted to None
Are there any plans to look at this? It's pretty much impossible to build my modules (tycho and eclipse) without hitting this problem, so I have to baby-sit the modularity builds pretty closely and that feels like a waste of my time... :-/
I have the same problem with wine-mono. It cannot be built on ARM hosts.
a workaround before fixing this issue: Have a new buildtag which inherits current buildtag, and don't specify the failing arch
buildtag
@mikem Any update on this ticket?
Metadata Update from @dgregor: - Issue assigned to tkopecek - Issue set to the milestone: 1.19
Assigning to @tkopecek
Can you give me links to some broken tasks? I can't reproduce it and it seems to behave correctly. noarch could be propagated there only if build tag doesn't contain requested architecture.
https://koji.fedoraproject.org/koji/taskinfo?taskID=37168007
@mooninite That specfile has only ExcludeArch: %{power64} s390x s390 so, picking aarch64 is correct here.
ExcludeArch: %{power64} s390x s390
Metadata Update from @dgregor: - Issue set to the milestone: None (was: 1.19)
Metadata Update from @dgregor: - Issue set to the milestone: 1.19 - Issue tagged with: wishful
Here is reproducer and some related discussion:
https://pagure.io/releng/issue/7671
And this is the fresh build failure:
https://koji.fedoraproject.org/koji/taskinfo?taskID=38144215
Ah, understood the problem now :-) Candidate PR #1684 (need some proper testing)
Commit dd8fd935 fixes this issue
Metadata Update from @jcupova: - Issue tagged with: testing-done
This issue has been migrated to Fedora Forge: https://forge.fedoraproject.org/koji/koji/issues/789
Please continue any further discussion there.