Bug 2459414

Summary: Does not use %qt6_qtwebengine_arches macro
Product: [Fedora] Fedora Reporter: Adam Williamson <awilliam>
Component: kaidanAssignee: Felix Wang <topazus>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: benson_muite, jgrulich, kde-sig, topazus
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Williamson 2026-04-18 06:50:47 UTC
For some reason, qt6-qtwebengine does not use the %qt6_qtwebengine_arches macro, which exists precisely to define the arches qt6-qtwebengine builds on. This is a problem because at least one other package, kaidan, expects it to do this job:

https://src.fedoraproject.org/rpms/kaidan/blob/136fdf0f27ccc5c420600959049a417e549fb68a/f/kaidan.spec#_14

so through no fault of its own, kaidan builds on s390x but is uninstallable:

Pre-existing dependency problems in the tested packages themselves:
package: kaidan-0.15.0-2.eln156.s390x from file:///mnt/update_repo
  qt6-qtwebengine(s390-64)

There is a FIXME in the spec for this that's been there since 2023. Can we please just...fix it?

# FIXME use/update qt6_qtwebengine_arches
# 32-bit arches not supported (https://bugreports.qt.io/browse/QTBUG-102143)
ExclusiveArch: aarch64 x86_64 ppc64le

Comment 1 Jan Grulich 2026-04-20 10:07:57 UTC
Hi, I'm not sure I understand what is the issue. Changing qtwebengine to use the macro will have same result as the macro is defined as:
> %qt6_qtwebengine_arches x86_64 aarch64 ppc64le riscv64

Comment 2 Adam Williamson 2026-04-20 15:49:01 UTC
Per the bug above, at least on ELN, %qt6_qtwebengine_arches apparently includes s390x, or else kaidan would not build on it.

Comment 3 Jan Grulich 2026-04-20 17:36:12 UTC
The issue is in Kaidan:

>%if 0%{?fedora} || 0%{?epel} > 7
># handled by qt6-srpm-macros, which defines %%qt6_qtwebengine_arches
># Package doesn't build on arches that qtwebengine is not built on.
>ExclusiveArch: %{qt6_qtwebengine_arches}
>%endif

This is skipped on ELN so it automatically builds on all arches.