Bug 2459414 - Does not use %qt6_qtwebengine_arches macro
Summary: Does not use %qt6_qtwebengine_arches macro
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: kaidan
Version: rawhide
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Felix Wang
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-04-18 06:50 UTC by Adam Williamson
Modified: 2026-04-20 17:36 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.