I suspect here you are overthinking things. If a package is only a
noarch build, it could be built on any arch buildroot, potentially
including i686. qemu, however, is an archful build, and the noarch
subpackages are built on all architectures. koji then takes the noarch
rpms from one of the builds after checking that the contents inside
the rpms on all builds match. If you add ExcludeArch %{ix86} to the
spec it will never be built in an i686 buildroot.

Dennis

On Wed, Oct 1, 2025 at 12:39 PM Daniel P. Berrangé <[email protected]> wrote:
>
> We're having another attempt at figuring out how to drop QEMU bulds
> on i686, since upstream is scheduled to fully discontinue support[1]
> for 32-bit build targets in the next release at the end of this year.
>
> IOW, we need to check the chain of QEMU Requires/BuildRequires
> (transitively) to find any packages that are still built for/on
> i686 and add ExcludeArch: %{ix86}.
>
> I'm a little unclear about the situation of noarch package builds
> though. Is it ever possible for a noarch package to be built in an
> i686 build root ?
>
> If not, then we don't need to add 'ExcludeArch: %{ix86}' to
> anything which has a 'BuildArch: noarch", but IIUC, would still
> need to check its transitive deps to see if any of them would
> BuildRequire it on i686.
>
> With regards,
> Daniel
>
> [1] This isn't just "support" in terms of no longer answering bug reports,
>     this is "support" in a technical sense, as the source is likely to be
>     changed to assume 64-bit, thus the build won't succeed on i686.
> --
> |: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
> |: https://libvirt.org         -o-            https://fstop138.berrange.com :|
> |: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|
>
> --
> _______________________________________________
> devel mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedoraproject.org/archives/list/[email protected]
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
-- 
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to